Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/platform/
Dvia-camera.c869 static void viacam_fmt_pre(struct v4l2_pix_format *userfmt, in viacam_fmt_pre() argument
872 *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() argument
888 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()
[all …]