Searched refs:userfmt (Results 1 – 1 of 1) sorted by relevance
805 static void viacam_fmt_pre(struct v4l2_pix_format *userfmt, in viacam_fmt_pre() argument808 *sensorfmt = *userfmt; in viacam_fmt_pre()809 if (userfmt->width < QCIF_WIDTH || userfmt->height < QCIF_HEIGHT) { in viacam_fmt_pre()810 userfmt->width = QCIF_WIDTH; in viacam_fmt_pre()811 userfmt->height = QCIF_HEIGHT; in viacam_fmt_pre()813 if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) { in viacam_fmt_pre()814 userfmt->width = VGA_WIDTH; in viacam_fmt_pre()815 userfmt->height = VGA_HEIGHT; in viacam_fmt_pre()821 static void viacam_fmt_post(struct v4l2_pix_format *userfmt, in viacam_fmt_post() argument824 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()[all …]