Home
last modified time | relevance | path

Searched refs:pix_fmt (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/media/platform/amlogic/meson-ge2d/
H A Dge2d.c61 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 Dsun8i_rotate.c175 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 Dsun8i-di.c325 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 Dhantro_h1_jpeg_enc.c45 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 Drockchip_vpu2_hw_jpeg_enc.c72 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 Dpxa168fb.h71 int pix_fmt; member
89 unsigned pix_fmt; member
H A Dmmp_disp.h36 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 Dam437x-vpfe.h134 enum ccdc_pixfmt pix_fmt; member
163 enum ccdc_pixfmt pix_fmt; member
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.h29 void cedrus_prepare_format(struct v4l2_pix_format *pix_fmt);
H A Dcedrus_h265.c906 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 Dmmpfb.h25 int pix_fmt; member
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c209 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 Dfsl-diu-fb.h79 __be32 pix_fmt; /* hard coding pixel format */ member
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-dpr.c363 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 Djpeg-core.c1552 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 Dcfe.c1798 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()