Lines Matching full:pix
84 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
85 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
86 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
87 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_get_format()
88 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
89 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
90 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_get_format()
91 fmt->fmt.pix.priv = 0; in uvc_v4l2_get_format()
109 if (format->fcc == fmt->fmt.pix.pixelformat) in uvc_v4l2_set_format()
115 fmt->fmt.pix.pixelformat); in uvc_v4l2_set_format()
119 bpl = format->bpp * fmt->fmt.pix.width / 8; in uvc_v4l2_set_format()
120 imagesize = bpl ? bpl * fmt->fmt.pix.height : fmt->fmt.pix.sizeimage; in uvc_v4l2_set_format()
124 video->width = fmt->fmt.pix.width; in uvc_v4l2_set_format()
125 video->height = fmt->fmt.pix.height; in uvc_v4l2_set_format()
128 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_set_format()
129 fmt->fmt.pix.bytesperline = bpl; in uvc_v4l2_set_format()
130 fmt->fmt.pix.sizeimage = imagesize; in uvc_v4l2_set_format()
131 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_set_format()
132 fmt->fmt.pix.priv = 0; in uvc_v4l2_set_format()