Searched refs:pix_format (Results 1 - 8 of 8) sorted by last modified time

/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-scaler.c413 u32 pix_format, enum buffer_format dst_format)
428 if (pix_format == DRM_FORMAT_UYVY || pix_format == DRM_FORMAT_VYUY ||
429 pix_format == DRM_FORMAT_YUYV || pix_format == DRM_FORMAT_YVYU) {
432 } else if (pix_format == DRM_FORMAT_NV12 ||
433 pix_format == DRM_FORMAT_NV21) {
779 u32 pix_format = format->format; local
784 if (pix_format == DRM_FORMAT_NV12 ||
785 pix_format
410 dcss_scaler_res_set(struct dcss_scaler_ch *ch, int src_xres, int src_yres, int dst_xres, int dst_yres, u32 pix_format, enum buffer_format dst_format) argument
[all...]
H A Ddcss-dpr.c186 u32 pix_format)
206 u32 pix_format)
220 u32 pix_format = ch->format.format; local
225 if (pix_format == DRM_FORMAT_NV12 ||
226 pix_format == DRM_FORMAT_NV21)
232 pix_x_wide = dcss_dpr_x_pix_wide_adjust(ch, xres, pix_format);
233 pix_y_high = dcss_dpr_y_pix_high_adjust(ch, yres, pix_format);
382 static void dcss_dpr_rtram_set(struct dcss_dpr_ch *ch, u32 pix_format) argument
386 switch (pix_format) {
185 dcss_dpr_x_pix_wide_adjust(struct dcss_dpr_ch *ch, u32 pix_wide, u32 pix_format) argument
205 dcss_dpr_y_pix_high_adjust(struct dcss_dpr_ch *ch, u32 pix_high, u32 pix_format) argument
/linux-master/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_capture.c379 struct v4l2_pix_format *pix_format = &format->fmt.pix; local
385 v4l_bound_align_image(&pix_format->width, SUN6I_ISP_CAPTURE_WIDTH_MIN,
387 &pix_format->height, SUN6I_ISP_CAPTURE_HEIGHT_MIN,
390 if (!sun6i_isp_capture_format_find(pix_format->pixelformat))
391 pix_format->pixelformat =
394 info = v4l2_format_info(pix_format->pixelformat);
398 width = pix_format->width;
399 height = pix_format->height;
404 pix_format->bytesperline = width_aligned * info->bpp[0];
405 pix_format
634 struct v4l2_pix_format *pix_format = &format->fmt.pix; local
[all...]
/linux-master/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.c668 struct v4l2_pix_format *pix_format = &format->fmt.pix; local
672 v4l_bound_align_image(&pix_format->width, SUN6I_CSI_CAPTURE_WIDTH_MIN,
674 &pix_format->height, SUN6I_CSI_CAPTURE_HEIGHT_MIN,
677 if (!sun6i_csi_capture_format_find(pix_format->pixelformat))
678 pix_format->pixelformat =
681 width = pix_format->width;
682 height = pix_format->height;
684 info = v4l2_format_info(pix_format->pixelformat);
686 switch (pix_format->pixelformat) {
688 pix_format
980 struct v4l2_pix_format *pix_format = &format->fmt.pix; local
[all...]
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-video.c376 int pix_format = PIXEL_FRMT_422; local
390 pix_format = PIXEL_FRMT_411;
392 pix_format = PIXEL_FRMT_422;
394 cx25821_set_pixel_format(dev, SRAM_CH00, pix_format);
/linux-master/drivers/media/platform/marvell/
H A Dmcam-core.c213 vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage;
217 vb2_set_plane_payload(&vbuf->vb2_buf, 0, cam->pix_format.sizeimage);
327 struct v4l2_pix_format *fmt = &cam->pix_format;
371 cam->dma_buf_size = cam->pix_format.sizeimage;
474 cam->pix_format.sizeimage);
487 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage)
723 struct v4l2_pix_format *fmt = &cam->pix_format;
1017 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code);
1081 unsigned size = cam->pix_format.sizeimage;
1221 int ndesc = cam->pix_format
[all...]
H A Dmcam-core.h183 struct v4l2_pix_format pix_format; member in struct:mcam_camera
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c872 uint32_t pix_format; local
889 pix_format = format->base.pixel_format;
926 ret = calc_scalex_steps(plane, pix_format, src_w, crtc_w, step.x);
930 ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, step.y);

Completed in 256 milliseconds