Lines Matching refs:pix

189 	if (fmt != NULL && !valid_pixelformat(fmt->fmt.pix.pixelformat))  in set_capture_size()
198 if (fmt->fmt.pix.width > sensor_width) in set_capture_size()
200 else if (fmt->fmt.pix.width < 144) in set_capture_size()
203 width = fmt->fmt.pix.width & ~0x0f; in set_capture_size()
205 if (fmt->fmt.pix.height > sensor_height) in set_capture_size()
207 else if (fmt->fmt.pix.height < 96) in set_capture_size()
210 height = fmt->fmt.pix.height & ~0x0f; in set_capture_size()
212 width = fmt->fmt.pix.width; in set_capture_size()
229 u32 pixelformat = fmt->fmt.pix.pixelformat; in set_capture_size()
233 fmt->fmt.pix.width = width; in set_capture_size()
234 fmt->fmt.pix.height = height; in set_capture_size()
235 fmt->fmt.pix.pixelformat = pixelformat; in set_capture_size()
236 fmt->fmt.pix.field = V4L2_FIELD_NONE; in set_capture_size()
237 fmt->fmt.pix.bytesperline = 0; in set_capture_size()
238 fmt->fmt.pix.sizeimage = GO7007_BUF_SIZE; in set_capture_size()
239 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in set_capture_size()
246 go->format = fmt->fmt.pix.pixelformat; in set_capture_size()
256 mbus_fmt.width = fmt ? fmt->fmt.pix.width : width; in set_capture_size()
339 fmt->fmt.pix.width = go->width; in vidioc_g_fmt_vid_cap()
340 fmt->fmt.pix.height = go->height; in vidioc_g_fmt_vid_cap()
341 fmt->fmt.pix.pixelformat = go->format; in vidioc_g_fmt_vid_cap()
342 fmt->fmt.pix.field = V4L2_FIELD_NONE; in vidioc_g_fmt_vid_cap()
343 fmt->fmt.pix.bytesperline = 0; in vidioc_g_fmt_vid_cap()
344 fmt->fmt.pix.sizeimage = GO7007_BUF_SIZE; in vidioc_g_fmt_vid_cap()
345 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()