Searched refs:userfmt (Results 1 – 1 of 1) sorted by relevance
794 static void viacam_fmt_pre(struct v4l2_pix_format *userfmt, in viacam_fmt_pre() argument797 *sensorfmt = *userfmt; in viacam_fmt_pre()798 if (userfmt->width < QCIF_WIDTH || userfmt->height < QCIF_HEIGHT) { in viacam_fmt_pre()799 userfmt->width = QCIF_WIDTH; in viacam_fmt_pre()800 userfmt->height = QCIF_HEIGHT; in viacam_fmt_pre()802 if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) { in viacam_fmt_pre()803 userfmt->width = VGA_WIDTH; in viacam_fmt_pre()804 userfmt->height = VGA_HEIGHT; in viacam_fmt_pre()810 static void viacam_fmt_post(struct v4l2_pix_format *userfmt, in viacam_fmt_post() argument813 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()[all …]