Home
last modified time | relevance | path

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

/linux/drivers/media/platform/via/
H A Dvia-camera.c795 struct v4l2_pix_format *sensorfmt) in viacam_fmt_pre() argument
797 *sensorfmt = *userfmt; in viacam_fmt_pre()
806 sensorfmt->width = VGA_WIDTH; in viacam_fmt_pre()
807 sensorfmt->height = VGA_HEIGHT; in viacam_fmt_pre()
811 struct v4l2_pix_format *sensorfmt) in viacam_fmt_post() argument
815 sensorfmt->bytesperline = sensorfmt->width * f->bpp; in viacam_fmt_post()
816 sensorfmt->sizeimage = sensorfmt->height * sensorfmt->bytesperline; in viacam_fmt_post()
817 userfmt->pixelformat = sensorfmt->pixelformat; in viacam_fmt_post()
818 userfmt->field = sensorfmt->field; in viacam_fmt_post()
821 userfmt->colorspace = sensorfmt->colorspace; in viacam_fmt_post()
[all …]