Lines Matching full:pix
226 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
227 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
228 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
229 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_get_format()
230 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
231 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
232 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_get_format()
233 fmt->fmt.pix.priv = 0; in uvc_v4l2_get_format()
252 fcc = (u8 *)&fmt->fmt.pix.pixelformat; in uvc_v4l2_try_format()
254 fmt->fmt.pix.pixelformat, in uvc_v4l2_try_format()
256 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format()
258 uformat = find_format_by_pix(uvc, fmt->fmt.pix.pixelformat); in uvc_v4l2_try_format()
263 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format()
273 v4l2_fill_pixfmt(&fmt->fmt.pix, fmt->fmt.pix.pixelformat, in uvc_v4l2_try_format()
276 if (fmt->fmt.pix.sizeimage != (uvc_v4l2_get_bytesperline(uformat, uframe) * in uvc_v4l2_try_format()
280 fmt->fmt.pix.width = uframe->frame.w_width; in uvc_v4l2_try_format()
281 fmt->fmt.pix.height = uframe->frame.w_height; in uvc_v4l2_try_format()
282 fmt->fmt.pix.bytesperline = uvc_v4l2_get_bytesperline(uformat, uframe); in uvc_v4l2_try_format()
283 fmt->fmt.pix.sizeimage = uvc_get_frame_size(uformat, uframe); in uvc_v4l2_try_format()
287 fmt->fmt.pix.pixelformat = fmtdesc->fcc; in uvc_v4l2_try_format()
289 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_try_format()
290 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_try_format()
291 fmt->fmt.pix.priv = 0; in uvc_v4l2_try_format()
308 video->fcc = fmt->fmt.pix.pixelformat; in uvc_v4l2_set_format()
309 video->bpp = fmt->fmt.pix.bytesperline * 8 / video->width; in uvc_v4l2_set_format()
310 video->width = fmt->fmt.pix.width; in uvc_v4l2_set_format()
311 video->height = fmt->fmt.pix.height; in uvc_v4l2_set_format()
312 video->imagesize = fmt->fmt.pix.sizeimage; in uvc_v4l2_set_format()