Searched refs:userfmt (Results 1 – 1 of 1) sorted by relevance
869 static void viacam_fmt_pre(struct v4l2_pix_format *userfmt, in viacam_fmt_pre() argument872 *sensorfmt = *userfmt; in viacam_fmt_pre()873 if (userfmt->width < QCIF_WIDTH || userfmt->height < QCIF_HEIGHT) { in viacam_fmt_pre()874 userfmt->width = QCIF_WIDTH; in viacam_fmt_pre()875 userfmt->height = QCIF_HEIGHT; in viacam_fmt_pre()877 if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) { in viacam_fmt_pre()878 userfmt->width = VGA_WIDTH; in viacam_fmt_pre()879 userfmt->height = VGA_HEIGHT; in viacam_fmt_pre()885 static void viacam_fmt_post(struct v4l2_pix_format *userfmt, in viacam_fmt_post() argument888 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()[all …]