| /linux/drivers/media/platform/amlogic/meson-ge2d/ |
| H A D | ge2d.c | 61 struct v4l2_pix_format pix_fmt; member 192 (ctx->in.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start() 196 (ctx->out.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start() 200 (ctx->out.pix_fmt.bytesperline + 7) >> 3); in ge2d_hw_start() 241 FIELD_PREP(GE2D_END, ctx->in.pix_fmt.height - 1)); in ge2d_hw_start() 243 FIELD_PREP(GE2D_END, ctx->in.pix_fmt.width - 1)); in ge2d_hw_start() 245 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.height - 1)); in ge2d_hw_start() 247 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.width - 1)); in ge2d_hw_start() 249 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.height - 1)); in ge2d_hw_start() 251 FIELD_PREP(GE2D_END, ctx->out.pix_fmt.width - 1)); in ge2d_hw_start() [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | sun8i_rotate.c | 175 static void rotate_prepare_format(struct v4l2_pix_format *pix_fmt) in rotate_prepare_format() argument 181 fmt = rotate_find_format(pix_fmt->pixelformat); in rotate_prepare_format() 185 width = ALIGN(pix_fmt->width, fmt->hsub); in rotate_prepare_format() 186 height = ALIGN(pix_fmt->height, fmt->vsub); in rotate_prepare_format() 205 pix_fmt->width = width; in rotate_prepare_format() 206 pix_fmt->height = height; in rotate_prepare_format() 207 pix_fmt->bytesperline = bpl; in rotate_prepare_format() 208 pix_fmt->sizeimage = sizeimage; in rotate_prepare_format() 428 struct v4l2_pix_format *pix_fmt; in rotate_queue_setup() local 431 pix_fmt = &ctx->src_fmt; in rotate_queue_setup() [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-di/ |
| H A D | sun8i-di.c | 325 static void deinterlace_prepare_format(struct v4l2_pix_format *pix_fmt) in deinterlace_prepare_format() argument 327 unsigned int height = pix_fmt->height; in deinterlace_prepare_format() 328 unsigned int width = pix_fmt->width; in deinterlace_prepare_format() 343 pix_fmt->width = width; in deinterlace_prepare_format() 344 pix_fmt->height = height; in deinterlace_prepare_format() 345 pix_fmt->bytesperline = bytesperline; in deinterlace_prepare_format() 346 pix_fmt->sizeimage = sizeimage; in deinterlace_prepare_format() 520 struct v4l2_pix_format *pix_fmt; in deinterlace_queue_setup() local 523 pix_fmt = &ctx->src_fmt; in deinterlace_queue_setup() 525 pix_fmt = &ctx->dst_fmt; in deinterlace_queue_setup() [all …]
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_h1_jpeg_enc.c | 45 struct v4l2_pix_format_mplane *pix_fmt = &ctx->src_fmt; in hantro_h1_jpeg_enc_set_buffers() local 53 WARN_ON(pix_fmt->num_planes > 3); in hantro_h1_jpeg_enc_set_buffers() 60 if (pix_fmt->num_planes == 1) { in hantro_h1_jpeg_enc_set_buffers() 64 } else if (pix_fmt->num_planes == 2) { in hantro_h1_jpeg_enc_set_buffers()
|
| H A D | rockchip_vpu2_hw_jpeg_enc.c | 72 struct v4l2_pix_format_mplane *pix_fmt = &ctx->src_fmt; in rockchip_vpu2_jpeg_enc_set_buffers() local 80 WARN_ON(pix_fmt->num_planes > 3); in rockchip_vpu2_jpeg_enc_set_buffers() 87 if (pix_fmt->num_planes == 1) { in rockchip_vpu2_jpeg_enc_set_buffers() 90 } else if (pix_fmt->num_planes == 2) { in rockchip_vpu2_jpeg_enc_set_buffers()
|
| /linux/include/video/ |
| H A D | pxa168fb.h | 71 int pix_fmt; member 89 unsigned pix_fmt; member
|
| H A D | mmp_disp.h | 36 static inline int pixfmt_to_stride(int pix_fmt) in pixfmt_to_stride() argument 38 switch (pix_fmt) { in pixfmt_to_stride() 80 int pix_fmt; member
|
| /linux/drivers/media/platform/ti/am437x/ |
| H A D | am437x-vpfe.h | 134 enum ccdc_pixfmt pix_fmt; member 163 enum ccdc_pixfmt pix_fmt; member
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_video.h | 29 void cedrus_prepare_format(struct v4l2_pix_format *pix_fmt);
|
| H A D | cedrus_h265.c | 906 struct v4l2_pix_format *pix_fmt) in cedrus_h265_extra_cap_size() argument 909 return cedrus_h265_2bit_size(pix_fmt->width, pix_fmt->height); in cedrus_h265_extra_cap_size()
|
| /linux/drivers/video/fbdev/mmp/fb/ |
| H A D | mmpfb.h | 25 int pix_fmt; member
|
| /linux/arch/powerpc/platforms/512x/ |
| H A D | mpc512x_shared.c | 209 unsigned long mode, pix_fmt, res, bpp; in mpc512x_init_diu() local 243 pix_fmt = in_le32(vaddr); in mpc512x_init_diu() 244 bpp = ((pix_fmt >> 16) & 0x3) + 1; in mpc512x_init_diu()
|
| /linux/include/linux/ |
| H A D | fsl-diu-fb.h | 79 __be32 pix_fmt; /* hard coding pixel format */ member
|
| /linux/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-dpr.c | 363 static int to_comp_sel(u32 pix_fmt, int *a_sel, int *r_sel, int *g_sel, in to_comp_sel() argument 369 if (comp_sel_map[i].drm_format == pix_fmt) { in to_comp_sel()
|
| /linux/drivers/media/platform/samsung/s5p-jpeg/ |
| H A D | jpeg-core.c | 1552 u32 pix_fmt = f->fmt.pix.pixelformat; in exynos4_jpeg_get_output_buffer_size() local 1556 if (pix_fmt == V4L2_PIX_FMT_RGB32 || in exynos4_jpeg_get_output_buffer_size() 1557 pix_fmt == V4L2_PIX_FMT_RGB565 || in exynos4_jpeg_get_output_buffer_size() 1558 pix_fmt == V4L2_PIX_FMT_NV24 || in exynos4_jpeg_get_output_buffer_size() 1559 pix_fmt == V4L2_PIX_FMT_NV42 || in exynos4_jpeg_get_output_buffer_size() 1560 pix_fmt == V4L2_PIX_FMT_NV12 || in exynos4_jpeg_get_output_buffer_size() 1561 pix_fmt == V4L2_PIX_FMT_NV21 || in exynos4_jpeg_get_output_buffer_size() 1562 pix_fmt == V4L2_PIX_FMT_YUV420) in exynos4_jpeg_get_output_buffer_size()
|
| /linux/drivers/media/platform/raspberrypi/rp1-cfe/ |
| H A D | cfe.c | 1798 struct v4l2_pix_format *pix_fmt = &node->vid_fmt.fmt.pix; in cfe_video_link_validate() local 1801 if (source_fmt->width != pix_fmt->width || in cfe_video_link_validate() 1802 source_fmt->height != pix_fmt->height) { in cfe_video_link_validate() 1804 pix_fmt->width, pix_fmt->height, in cfe_video_link_validate() 1811 pix_fmt->pixelformat); in cfe_video_link_validate()
|