Home
last modified time | relevance | path

Searched refs:userfmt (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/platform/
Dvia-camera.c871 static void viacam_fmt_pre(struct v4l2_pix_format *userfmt, in viacam_fmt_pre() argument
874 *sensorfmt = *userfmt; in viacam_fmt_pre()
875 if (userfmt->width < QCIF_WIDTH || userfmt->height < QCIF_HEIGHT) { in viacam_fmt_pre()
876 userfmt->width = QCIF_WIDTH; in viacam_fmt_pre()
877 userfmt->height = QCIF_HEIGHT; in viacam_fmt_pre()
879 if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) { in viacam_fmt_pre()
880 userfmt->width = VGA_WIDTH; in viacam_fmt_pre()
881 userfmt->height = VGA_HEIGHT; in viacam_fmt_pre()
887 static void viacam_fmt_post(struct v4l2_pix_format *userfmt, in viacam_fmt_post() argument
890 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()
[all …]