Searched refs:pix_format (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-scaler.c | 443 if (pix_format == DRM_FORMAT_UYVY || pix_format == DRM_FORMAT_VYUY || in dcss_scaler_res_set() 444 pix_format == DRM_FORMAT_YUYV || pix_format == DRM_FORMAT_YVYU) { in dcss_scaler_res_set() 447 } else if (pix_format == DRM_FORMAT_NV12 || in dcss_scaler_res_set() 448 pix_format == DRM_FORMAT_NV21) { in dcss_scaler_res_set() 794 u32 pix_format = format->format; in dcss_scaler_setup() local 799 if (pix_format == DRM_FORMAT_NV12 || in dcss_scaler_setup() 800 pix_format == DRM_FORMAT_NV21) { in dcss_scaler_setup() 804 pix_format == DRM_FORMAT_VYUY || in dcss_scaler_setup() 805 pix_format == DRM_FORMAT_YUYV || in dcss_scaler_setup() 806 pix_format == DRM_FORMAT_YVYU) { in dcss_scaler_setup() [all …]
|
A D | dcss-dpr.c | 201 u32 pix_format) in dcss_dpr_x_pix_wide_adjust() argument 221 u32 pix_format) in dcss_dpr_y_pix_high_adjust() argument 235 u32 pix_format = ch->format.format; in dcss_dpr_set_res() local 240 if (pix_format == DRM_FORMAT_NV12 || in dcss_dpr_set_res() 241 pix_format == DRM_FORMAT_NV21) in dcss_dpr_set_res() 247 pix_x_wide = dcss_dpr_x_pix_wide_adjust(ch, xres, pix_format); in dcss_dpr_set_res() 248 pix_y_high = dcss_dpr_y_pix_high_adjust(ch, yres, pix_format); in dcss_dpr_set_res() 397 static void dcss_dpr_rtram_set(struct dcss_dpr_ch *ch, u32 pix_format) in dcss_dpr_rtram_set() argument 401 switch (pix_format) { in dcss_dpr_rtram_set()
|
/linux/drivers/media/usb/stkwebcam/ |
A D | stk-webcam.c | 893 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local 904 pix_format->width = stk_sizes[i].w; in stk_vidioc_g_fmt_vid_cap() 905 pix_format->height = stk_sizes[i].h; in stk_vidioc_g_fmt_vid_cap() 906 pix_format->field = V4L2_FIELD_NONE; in stk_vidioc_g_fmt_vid_cap() 907 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap() 908 pix_format->pixelformat = dev->vsettings.palette; in stk_vidioc_g_fmt_vid_cap() 910 pix_format->bytesperline = pix_format->width; in stk_vidioc_g_fmt_vid_cap() 912 pix_format->bytesperline = 2 * pix_format->width; in stk_vidioc_g_fmt_vid_cap() 913 pix_format->sizeimage = pix_format->bytesperline in stk_vidioc_g_fmt_vid_cap() 914 * pix_format->height; in stk_vidioc_g_fmt_vid_cap()
|
/linux/drivers/media/platform/marvell-ccic/ |
A D | mcam-core.c | 213 vbuf->vb2_buf.planes[0].bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 327 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_write_yuv_bases() 371 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs() 474 cam->pix_format.sizeimage); in mcam_frame_tasklet() 723 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_ctlr_image() 1081 unsigned size = cam->pix_format.sizeimage; in mcam_vb_queue_setup() 1221 int ndesc = cam->pix_format.sizeimage/PAGE_SIZE + 1; in mcam_vb_sg_buf_init() 1255 int ndesc = cam->pix_format.sizeimage/PAGE_SIZE + 1; in mcam_vb_sg_buf_cleanup() 1406 cam->pix_format = fmt->fmt.pix; in mcam_vidioc_s_fmt_vid_cap() 1432 f->fmt.pix = cam->pix_format; in mcam_vidioc_g_fmt_vid_cap() [all …]
|
A D | mcam-core.h | 183 struct v4l2_pix_format pix_format; member
|
/linux/drivers/media/pci/cx25821/ |
A D | cx25821-video.c | 376 int pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() local 390 pix_format = PIXEL_FRMT_411; in vidioc_s_fmt_vid_cap() 392 pix_format = PIXEL_FRMT_422; in vidioc_s_fmt_vid_cap() 394 cx25821_set_pixel_format(dev, SRAM_CH00, pix_format); in vidioc_s_fmt_vid_cap()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_plane.c | 841 uint32_t pix_format; in mdp5_plane_mode_set() local 858 pix_format = format->base.pixel_format; in mdp5_plane_mode_set() 895 ret = calc_scalex_steps(plane, pix_format, src_w, crtc_w, step.x); in mdp5_plane_mode_set() 899 ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, step.y); in mdp5_plane_mode_set()
|
/linux/drivers/media/platform/davinci/ |
A D | vpfe_capture.c | 151 static const struct vpfe_pixel_format *vpfe_lookup_pix_format(u32 pix_format) in vpfe_lookup_pix_format() argument 156 if (pix_format == vpfe_pix_fmts[i].pixelformat) in vpfe_lookup_pix_format()
|
Completed in 31 milliseconds