Home
last modified time | relevance | path

Searched refs:pix (Results 1 – 25 of 225) sorted by relevance

123456789

/linux/drivers/media/pci/cobalt/
A Dcobalt-v4l2.c710 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_g_fmt_vid_cap() local
728 pix->sizeimage = pix->bytesperline * pix->height; in cobalt_g_fmt_vid_cap()
737 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_try_fmt_vid_cap() local
741 if ((pix->width < 176) || (pix->height < 144)) { in cobalt_try_fmt_vid_cap()
786 pix->sizeimage = pix->bytesperline * pix->height; in cobalt_try_fmt_vid_cap()
796 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_s_fmt_vid_cap() local
829 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_try_fmt_vid_out() local
861 pix->sizeimage = pix->bytesperline * pix->height; in cobalt_try_fmt_vid_out()
871 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_g_fmt_vid_out() local
882 pix->sizeimage = pix->bytesperline * pix->height; in cobalt_g_fmt_vid_out()
[all …]
/linux/drivers/staging/media/zoran/
A Dzoran_driver.c321 fmt->fmt.pix.bytesperline = 0; in zoran_g_fmt_vid_out()
343 fmt->fmt.pix.field = V4L2_FIELD_TOP; in zoran_g_fmt_vid_cap()
406 fmt->fmt.pix.bytesperline = 0; in zoran_try_fmt_vid_out()
452 fmt->fmt.pix.width, fmt->fmt.pix.height, in zoran_s_fmt_vid_out()
453 fmt->fmt.pix.pixelformat, in zoran_s_fmt_vid_out()
458 if (!fmt->fmt.pix.height || !fmt->fmt.pix.width) in zoran_s_fmt_vid_out()
517 fmt->fmt.pix.bytesperline = 0; in zoran_s_fmt_vid_out()
539 fmt->fmt.pix.pixelformat); in zoran_s_fmt_vid_cap()
548 fmt->fmt.pix.width = BUZ_MAX_WIDTH; in zoran_s_fmt_vid_cap()
552 fmt->fmt.pix.width = BUZ_MIN_WIDTH; in zoran_s_fmt_vid_cap()
[all …]
/linux/drivers/gpu/ipu-v3/
A Dipu-cpmem.c588 #define Y_OFFSET(pix, x, y) ((x) + pix->bytesperline * (y)) argument
589 #define U_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
591 #define V_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
592 (pix->bytesperline * pix->height / 4) + \
594 #define U2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
596 #define V2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
597 (pix->bytesperline * pix->height / 2) + \
599 #define UV_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
601 #define UV2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument
766 struct v4l2_pix_format *pix = &image->pix; in ipu_cpmem_set_image() local
[all …]
/linux/drivers/media/platform/sti/delta/
A Ddelta-v4l2.c429 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_g_fmt_stream() local
457 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_g_fmt_frame() local
496 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_try_fmt_stream() local
523 if ((pix->width != width) || (pix->height != height)) in delta_try_fmt_stream()
527 pix->width, pix->height); in delta_try_fmt_stream()
529 au_size = estimated_au_size(pix->width, pix->height); in delta_try_fmt_stream()
550 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_try_fmt_frame() local
597 pix->sizeimage = frame_size(pix->width, pix->height, pixelformat); in delta_try_fmt_frame()
611 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_s_fmt_stream() local
647 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_s_fmt_frame() local
[all …]
/linux/drivers/media/platform/rcar-vin/
A Drcar-v4l2.c151 return pix->bytesperline * pix->height * 3 / 2; in rvin_format_sizeimage()
153 return pix->bytesperline * pix->height * 2; in rvin_format_sizeimage()
155 return pix->bytesperline * pix->height; in rvin_format_sizeimage()
197 pix->bytesperline = rvin_format_bytesperline(vin, pix); in rvin_format_align()
198 pix->sizeimage = rvin_format_sizeimage(pix); in rvin_format_align()
201 pix->width, pix->height, pix->bytesperline, pix->sizeimage); in rvin_format_align()
269 field = pix->field; in rvin_try_format()
270 width = pix->width; in rvin_try_format()
290 pix->width = width; in rvin_try_format()
815 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in rvin_mc_try_format()
[all …]
/linux/drivers/media/platform/sti/hva/
A Dhva-v4l2.c340 struct v4l2_pix_format *pix = &f->fmt.pix; in hva_try_fmt_stream() local
354 width = pix->width; in hva_try_fmt_stream()
363 if ((pix->width != width) || (pix->height != height)) in hva_try_fmt_stream()
367 pix->width, pix->height); in hva_try_fmt_stream()
378 if ((pix->width != width) || (pix->height != height)) in hva_try_fmt_stream()
382 pix->width, pix->height); in hva_try_fmt_stream()
385 stream_size = estimated_stream_size(pix->width, pix->height); in hva_try_fmt_stream()
404 struct v4l2_pix_format *pix = &f->fmt.pix; in hva_try_fmt_frame() local
428 if ((pix->width != width) || (pix->height != height)) in hva_try_fmt_frame()
431 ctx->name, width, height, pix->width, pix->height); in hva_try_fmt_frame()
[all …]
/linux/drivers/media/platform/
A Dsh_vou.c242 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_queue_setup() local
257 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_buf_prepare() local
405 fmt->fmt.pix = vou_dev->pix; in sh_vou_g_fmt_vid_out()
424 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_configure_geometry() local
655 struct v4l2_pix_format *pix = &fmt->fmt.pix; in sh_vou_try_fmt_vid_out() local
663 pix->ycbcr_enc = pix->quantization = 0; in sh_vou_try_fmt_vid_out()
682 pix->sizeimage = pix->height * ((pix->width * vou_fmt[pix_idx].bpp) >> 3); in sh_vou_try_fmt_vid_out()
752 pix->width, pix->height); in sh_vou_set_fmt_vid_out()
756 vou_dev->pix = *pix; in sh_vou_set_fmt_vid_out()
932 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_s_selection() local
[all …]
A Drenesas-ceu.c364 capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; in ceu_hw_config()
401 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config()
415 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config()
416 cdwdr = pix->width; in ceu_hw_config()
429 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config()
430 cdwdr = pix->width; in ceu_hw_config()
589 pix->num_planes = 1; in ceu_calc_plane_sizes()
598 bpl = pix->width; in ceu_calc_plane_sizes()
599 szimage = pix->height * pix->width; in ceu_calc_plane_sizes()
608 bpl = pix->width; in ceu_calc_plane_sizes()
[all …]
A Dm2m-deinterlace.c492 f->fmt.pix.width = q_data->width; in vidioc_g_fmt()
494 f->fmt.pix.field = q_data->field; in vidioc_g_fmt()
526 switch (f->fmt.pix.pixelformat) { in vidioc_try_fmt()
528 f->fmt.pix.bytesperline = f->fmt.pix.width * 3 / 2; in vidioc_try_fmt()
532 f->fmt.pix.bytesperline = f->fmt.pix.width * 2; in vidioc_try_fmt()
534 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in vidioc_try_fmt()
568 if (!f->fmt.pix.colorspace) in vidioc_try_fmt_vid_out()
600 f->type, f->fmt.pix.width, f->fmt.pix.height, in vidioc_s_fmt()
601 f->fmt.pix.pixelformat, f->fmt.pix.field); in vidioc_s_fmt()
611 f->fmt.pix.bytesperline = f->fmt.pix.width * 3 / 2; in vidioc_s_fmt()
[all …]
/linux/drivers/staging/media/imx/
A Dimx-media-csc-scaler.c187 f->fmt.pix = q_data->cur_fmt; in ipu_csc_scaler_g_fmt()
200 field = f->fmt.pix.field; in ipu_csc_scaler_try_fmt()
210 test_out.pix = f->fmt.pix; in ipu_csc_scaler_try_fmt()
211 test_in.pix = q_data_in->cur_fmt; in ipu_csc_scaler_try_fmt()
216 test_in.pix = f->fmt.pix; in ipu_csc_scaler_try_fmt()
223 test_out.pix : test_in.pix; in ipu_csc_scaler_try_fmt()
493 im->pix = *fmt; in ipu_image_from_q_data()
655 test_in.pix = *in_fmt; in ipu_csc_scaler_s_ctrl()
656 test_out.pix = *out_fmt; in ipu_csc_scaler_s_ctrl()
693 *in_fmt = test_in.pix; in ipu_csc_scaler_s_ctrl()
[all …]
/linux/drivers/media/platform/ti-vpe/
A Dvpe.c1050 offset = pix->plane_fmt[0].bytesperline * pix->height; in add_out_dtd()
1116 offset = pix->plane_fmt[0].bytesperline * pix->height; in add_in_dtd()
1608 pix->pixelformat); in __vpe_try_fmt()
1658 if (!pix->num_planes || pix->num_planes > 2) in __vpe_try_fmt()
1670 if (pix->field == V4L2_FIELD_SEQ_TB || pix->field == V4L2_FIELD_SEQ_BT) in __vpe_try_fmt()
1774 f->type, pix->width, pix->height, pix->pixelformat, in __vpe_s_fmt()
2328 pix->width = 1920; in vpe_open()
2329 pix->height = 1080; in vpe_open()
2330 pix->num_planes = 1; in vpe_open()
2331 pix->plane_fmt[VPE_LUMA].bytesperline = (pix->width * in vpe_open()
[all …]
A Dcal-video.c181 f->fmt.pix.bytesperline = ALIGN(bpl, 16); in cal_calc_format_size()
183 f->fmt.pix.sizeimage = f->fmt.pix.height * in cal_calc_format_size()
184 f->fmt.pix.bytesperline; in cal_calc_format_size()
188 f->fmt.pix.width, f->fmt.pix.height, in cal_calc_format_size()
189 f->fmt.pix.bytesperline, f->fmt.pix.sizeimage); in cal_calc_format_size()
203 f->fmt.pix.pixelformat); in cal_legacy_try_fmt_vid_cap()
210 f->fmt.pix.field = ctx->v_fmt.fmt.pix.field; in cal_legacy_try_fmt_vid_cap()
239 f->fmt.pix.width = ctx->v_fmt.fmt.pix.width; in cal_legacy_try_fmt_vid_cap()
240 f->fmt.pix.height = ctx->v_fmt.fmt.pix.height; in cal_legacy_try_fmt_vid_cap()
247 f->fmt.pix.colorspace = ctx->v_fmt.fmt.pix.colorspace; in cal_legacy_try_fmt_vid_cap()
[all …]
/linux/drivers/media/test-drivers/
A Dvim2m.c341 u16 pix; in copy_two_pixels() local
354 u16 pix; in copy_two_pixels() local
766 f->fmt.pix.height = MIN_H; in vidioc_try_fmt()
768 f->fmt.pix.height = MAX_H; in vidioc_try_fmt()
771 f->fmt.pix.width = MIN_W; in vidioc_try_fmt()
773 f->fmt.pix.width = MAX_W; in vidioc_try_fmt()
778 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt()
779 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in vidioc_try_fmt()
799 f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap()
824 f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_out()
[all …]
/linux/drivers/media/platform/sunxi/sun4i-csi/
A Dsun4i_v4l2.c106 pix->field = V4L2_FIELD_NONE; in _sun4i_csi_try_fmt()
107 pix->colorspace = V4L2_COLORSPACE_SRGB; in _sun4i_csi_try_fmt()
108 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt()
109 pix->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt()
110 pix->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, pix->colorspace, in _sun4i_csi_try_fmt()
111 pix->ycbcr_enc); in _sun4i_csi_try_fmt()
113 pix->num_planes = _fmt->num_planes; in _sun4i_csi_try_fmt()
114 pix->pixelformat = _fmt->fourcc; in _sun4i_csi_try_fmt()
117 width = ALIGN(pix->width, _fmt->hsub); in _sun4i_csi_try_fmt()
130 pix->plane_fmt[i].bytesperline = bpl; in _sun4i_csi_try_fmt()
[all …]
/linux/drivers/media/pci/cx25821/
A Dcx25821-video.c327 f->fmt.pix.sizeimage = chan->height * f->fmt.pix.bytesperline; in cx25821_vidioc_g_fmt_vid_cap()
348 w = f->fmt.pix.width; in cx25821_vidioc_try_fmt_vid_cap()
353 f->fmt.pix.height = maxh / 4; in cx25821_vidioc_try_fmt_vid_cap()
359 f->fmt.pix.height = maxh; in cx25821_vidioc_try_fmt_vid_cap()
362 f->fmt.pix.field = field; in cx25821_vidioc_try_fmt_vid_cap()
363 f->fmt.pix.width = w; in cx25821_vidioc_try_fmt_vid_cap()
364 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_cap()
365 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in cx25821_vidioc_try_fmt_vid_cap()
543 f->fmt.pix.width = 720; in cx25821_vidioc_try_fmt_vid_out()
546 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_out()
[all …]
/linux/drivers/media/platform/omap/
A Domap_vout.c165 pix->bytesperline = pix->width * bpp; in omap_vout_try_format()
166 pix->sizeimage = pix->bytesperline * pix->height; in omap_vout_try_format()
204 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset() local
242 struct v4l2_pix_format *pix = &vout->pix; in video_mode_to_dss_mode() local
602 f->fmt.pix = vout->pix; in vidioc_g_fmt_vid_out()
678 f->fmt.pix.sizeimage = f->fmt.pix.width * f->fmt.pix.height * bpp; in vidioc_s_fmt_vid_out()
682 vout->pix = f->fmt.pix; in vidioc_s_fmt_vid_out()
793 struct v4l2_pix_format *pix = &vout->pix; in vidioc_g_selection() local
1319 pix = &vout->pix; in omap_vout_setup_video_data()
1328 pix->bytesperline = pix->width * 2; in omap_vout_setup_video_data()
[all …]
A Domap_voutlib.c46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop()
47 pix->width : fbuf->fmt.width; in omap_vout_default_crop()
48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop()
49 pix->height : fbuf->fmt.height; in omap_vout_default_crop()
188 try_crop.width = (try_crop.width < pix->width) ? in omap_vout_new_crop()
189 try_crop.width : pix->width; in omap_vout_new_crop()
191 try_crop.height : pix->height; in omap_vout_new_crop()
192 if (try_crop.left + try_crop.width > pix->width) in omap_vout_new_crop()
193 try_crop.width = pix->width - try_crop.left; in omap_vout_new_crop()
195 try_crop.height = pix->height - try_crop.top; in omap_vout_new_crop()
[all …]
/linux/drivers/usb/gadget/function/
A Duvc_v4l2.c85 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()
91 fmt->fmt.pix.priv = 0; in uvc_v4l2_get_format()
115 fmt->fmt.pix.pixelformat); 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()
129 fmt->fmt.pix.bytesperline = bpl; in uvc_v4l2_set_format()
130 fmt->fmt.pix.sizeimage = imagesize; in uvc_v4l2_set_format()
[all …]
/linux/drivers/staging/vc04_services/bcm2835-camera/
A Dbcm2835-camera.c929 f->fmt.pix.priv = 0; in vidioc_g_fmt_vid_cap()
955 f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap()
960 f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; in vidioc_try_fmt_vid_cap()
988 f->fmt.pix.sizeimage = ((f->fmt.pix.height + 15) & ~15) * in vidioc_try_fmt_vid_cap()
1001 f->fmt.pix.priv = 0; in vidioc_try_fmt_vid_cap()
1005 f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap()
1115 f->fmt.pix.width, in mmal_setup_encode_component()
1116 f->fmt.pix.height, in mmal_setup_encode_component()
1247 f->fmt.pix.width, f->fmt.pix.height, in mmal_setup_components()
1843 .fmt.pix.width = 1024,
[all …]
/linux/drivers/media/usb/stk1160/
A Dstk1160-v4l.c357 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap()
358 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap()
359 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in vidioc_g_fmt_vid_cap()
362 f->fmt.pix.sizeimage = dev->height * f->fmt.pix.bytesperline; in vidioc_g_fmt_vid_cap()
391 f->fmt.pix.width = base_width; in stk1160_try_fmt()
392 f->fmt.pix.height = base_height; in stk1160_try_fmt()
453 f->fmt.pix.bytesperline = f->fmt.pix.width * 2; in stk1160_try_fmt()
454 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in stk1160_try_fmt()
467 f->fmt.pix.width, f->fmt.pix.height); in stk1160_try_fmt()
493 dev->width = f->fmt.pix.width; in vidioc_s_fmt_vid_cap()
[all …]
/linux/drivers/media/usb/cpia2/
A Dcpia2_v4l.c324 switch (cpia2_match_video_size(f->fmt.pix.width, f->fmt.pix.height)) { in cpia2_try_fmt_vid_cap()
326 f->fmt.pix.width = 640; in cpia2_try_fmt_vid_cap()
327 f->fmt.pix.height = 480; in cpia2_try_fmt_vid_cap()
330 f->fmt.pix.width = 352; in cpia2_try_fmt_vid_cap()
334 f->fmt.pix.width = 320; in cpia2_try_fmt_vid_cap()
338 f->fmt.pix.width = 288; in cpia2_try_fmt_vid_cap()
342 f->fmt.pix.width = 256; in cpia2_try_fmt_vid_cap()
346 f->fmt.pix.width = 224; in cpia2_try_fmt_vid_cap()
350 f->fmt.pix.width = 192; in cpia2_try_fmt_vid_cap()
355 f->fmt.pix.width = 176; in cpia2_try_fmt_vid_cap()
[all …]
/linux/samples/v4l/
A Dv4l2-pci-skeleton.c320 struct v4l2_pix_format *pix) in skeleton_fill_pix_format() argument
325 pix->width = 720; in skeleton_fill_pix_format()
327 pix->field = V4L2_FIELD_INTERLACED; in skeleton_fill_pix_format()
335 pix->height /= 2; in skeleton_fill_pix_format()
337 pix->field = V4L2_FIELD_NONE; in skeleton_fill_pix_format()
346 pix->bytesperline = pix->width * 2; in skeleton_fill_pix_format()
347 pix->sizeimage = pix->bytesperline * pix->height; in skeleton_fill_pix_format()
348 pix->priv = 0; in skeleton_fill_pix_format()
355 struct v4l2_pix_format *pix = &f->fmt.pix; in skeleton_try_fmt_vid_cap() local
387 skel->format = f->fmt.pix; in skeleton_s_fmt_vid_cap()
[all …]
/linux/drivers/media/platform/stm32/
A Dstm32-dcmi.c980 struct v4l2_pix_format *pix = &f->fmt.pix; in dcmi_try_fmt() local
1001 pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); in dcmi_try_fmt()
1002 pix->height = clamp(pix->height, MIN_HEIGHT, MAX_HEIGHT); in dcmi_try_fmt()
1054 pix->bytesperline = pix->width * sd_fmt->bpp; in dcmi_try_fmt()
1055 pix->sizeimage = pix->bytesperline * pix->height; in dcmi_try_fmt()
1073 struct v4l2_pix_format *pix = &f->fmt.pix; in dcmi_set_fmt() local
1105 pix->width, pix->height); in dcmi_set_fmt()
1251 r->width = pix.width; in dcmi_get_sensor_bounds()
1300 pix.pixelformat = dcmi->fmt.fmt.pix.pixelformat; in dcmi_s_selection()
1327 pix.width, pix.height); in dcmi_s_selection()
[all …]
/linux/drivers/media/pci/tw68/
A Dtw68-video.c580 f->fmt.pix.bytesperline = in tw68_g_fmt_vid_cap()
582 f->fmt.pix.sizeimage = in tw68_g_fmt_vid_cap()
583 f->fmt.pix.height * f->fmt.pix.bytesperline; in tw68_g_fmt_vid_cap()
600 field = f->fmt.pix.field; in tw68_try_fmt_vid_cap()
619 f->fmt.pix.field = field; in tw68_try_fmt_vid_cap()
621 f->fmt.pix.width = 48; in tw68_try_fmt_vid_cap()
623 f->fmt.pix.height = 32; in tw68_try_fmt_vid_cap()
625 f->fmt.pix.width = 720; in tw68_try_fmt_vid_cap()
629 f->fmt.pix.bytesperline = in tw68_try_fmt_vid_cap()
631 f->fmt.pix.sizeimage = in tw68_try_fmt_vid_cap()
[all …]
/linux/drivers/media/platform/omap3isp/
A Dispvideo.c147 memset(pix, 0, sizeof(*pix)); in isp_video_mbus_to_pix()
148 pix->width = mbus->width; in isp_video_mbus_to_pix()
174 pix->bytesperline = bpl; in isp_video_mbus_to_pix()
175 pix->sizeimage = pix->bytesperline * pix->height; in isp_video_mbus_to_pix()
177 pix->field = mbus->field; in isp_video_mbus_to_pix()
313 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
314 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
315 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
316 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
317 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
[all …]

Completed in 70 milliseconds

123456789