Home
last modified time | relevance | path

Searched refs:pixelformat (Results 1 – 25 of 272) sorted by relevance

1234567891011

/linux-6.1.9/drivers/media/test-drivers/vimc/
Dvimc-common.c26 .pixelformat = V4L2_PIX_FMT_BGR24,
41 .pixelformat = V4L2_PIX_FMT_RGB24,
47 .pixelformat = V4L2_PIX_FMT_ARGB32,
55 .pixelformat = V4L2_PIX_FMT_SBGGR8,
61 .pixelformat = V4L2_PIX_FMT_SGBRG8,
67 .pixelformat = V4L2_PIX_FMT_SGRBG8,
73 .pixelformat = V4L2_PIX_FMT_SRGGB8,
79 .pixelformat = V4L2_PIX_FMT_SBGGR10,
85 .pixelformat = V4L2_PIX_FMT_SGBRG10,
91 .pixelformat = V4L2_PIX_FMT_SGRBG10,
[all …]
Dvimc-capture.c39 .pixelformat = V4L2_PIX_FMT_RGB24,
97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
99 format->pixelformat = fmt_default.pixelformat; in vimc_capture_try_fmt_vid_cap()
100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
136 vcapture->format.pixelformat, vcapture->format.colorspace, in vimc_capture_s_fmt_vid_cap()
141 f->fmt.pix.pixelformat, f->fmt.pix.colorspace, in vimc_capture_s_fmt_vid_cap()
167 f->pixelformat = vpix->pixelformat; in vimc_capture_enum_fmt_vid_cap()
452 vpix = vimc_pix_map_by_pixelformat(vcapture->format.pixelformat); in vimc_capture_add()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c20 .pixelformat = V4L2_PIX_FMT_GREY,
27 .pixelformat = V4L2_PIX_FMT_RGB565X,
34 .pixelformat = V4L2_PIX_FMT_RGB565,
41 .pixelformat = V4L2_PIX_FMT_RGB24,
48 .pixelformat = V4L2_PIX_FMT_BGR24,
55 .pixelformat = V4L2_PIX_FMT_ABGR32,
62 .pixelformat = V4L2_PIX_FMT_ARGB32,
69 .pixelformat = V4L2_PIX_FMT_UYVY,
77 .pixelformat = V4L2_PIX_FMT_VYUY,
85 .pixelformat = V4L2_PIX_FMT_YUYV,
[all …]
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c39 .pixelformat = V4L2_PIX_FMT_MPEG2_SLICE,
44 .pixelformat = V4L2_PIX_FMT_H264_SLICE,
49 .pixelformat = V4L2_PIX_FMT_HEVC_SLICE,
54 .pixelformat = V4L2_PIX_FMT_VP8_FRAME,
59 .pixelformat = V4L2_PIX_FMT_NV12_32L32,
63 .pixelformat = V4L2_PIX_FMT_NV12,
76 static struct cedrus_format *cedrus_find_format(u32 pixelformat, u32 directions, in cedrus_find_format() argument
90 if (fmt->pixelformat == pixelformat) in cedrus_find_format()
116 switch (pix_fmt->pixelformat) { in cedrus_prepare_format()
206 f->pixelformat = cedrus_formats[i].pixelformat; in cedrus_enum_fmt()
[all …]
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c28 u32 pixelformat; member
35 .pixelformat = V4L2_SDR_FMT_CU8,
38 .pixelformat = V4L2_SDR_FMT_CS8,
453 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap()
461 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
476 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap()
477 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap()
483 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
485 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
495 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss-video.c43 u32 pixelformat; member
269 static int video_find_format(u32 code, u32 pixelformat, in video_find_format() argument
277 formats[i].pixelformat == pixelformat) in video_find_format()
311 pix->pixelformat = f->pixelformat; in video_mbus_to_pix_mp()
362 format->fmt.pix_mp.pixelformat, in video_get_subdev_format()
424 if (format->pixelformat == V4L2_PIX_FMT_NV12 || in video_buf_init()
425 format->pixelformat == V4L2_PIX_FMT_NV21 || in video_buf_init()
426 format->pixelformat == V4L2_PIX_FMT_NV16 || in video_buf_init()
427 format->pixelformat == V4L2_PIX_FMT_NV61) in video_buf_init()
472 sd_pix->pixelformat = pix->pixelformat; in video_check_format()
[all …]
/linux-6.1.9/drivers/media/usb/msi2500/
Dmsi2500.c69 u32 pixelformat; member
76 .pixelformat = V4L2_SDR_FMT_CS8,
80 .pixelformat = MSI2500_PIX_FMT_SDR_MSI2500_384,
82 .pixelformat = MSI2500_PIX_FMT_SDR_S12,
85 .pixelformat = V4L2_SDR_FMT_CS14LE,
88 .pixelformat = V4L2_SDR_FMT_CU8,
91 .pixelformat = V4L2_SDR_FMT_CU16LE,
125 u32 pixelformat; member
270 switch (dev->pixelformat) { in msi2500_convert_stream()
690 switch (dev->pixelformat) { in msi2500_set_usb_adc()
[all …]
/linux-6.1.9/drivers/media/platform/chips-media/
Dimx-vdoa.c89 u32 pixelformat; member
166 if (dst_q_data->pixelformat == V4L2_PIX_FMT_YUYV) in vdoa_device_run()
181 if (dst_q_data->pixelformat == V4L2_PIX_FMT_NV12 || in vdoa_device_run()
182 dst_q_data->pixelformat == V4L2_PIX_FMT_NV21) in vdoa_device_run()
237 u32 pixelformat) in vdoa_context_configure() argument
246 if (pixelformat != V4L2_PIX_FMT_YUYV && in vdoa_context_configure()
247 pixelformat != V4L2_PIX_FMT_NV12) in vdoa_context_configure()
266 dst_q_data->pixelformat = pixelformat; in vdoa_context_configure()
267 switch (pixelformat) { in vdoa_context_configure()
/linux-6.1.9/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c30 .pixelformat = V4L2_PIX_FMT_RGB565X,
36 .pixelformat = V4L2_PIX_FMT_BGR32,
42 .pixelformat = V4L2_PIX_FMT_YUYV,
51 .pixelformat = V4L2_PIX_FMT_UYVY,
60 .pixelformat = V4L2_PIX_FMT_VYUY,
69 .pixelformat = V4L2_PIX_FMT_YVYU,
78 .pixelformat = V4L2_PIX_FMT_YUV32,
86 .pixelformat = V4L2_PIX_FMT_YUV422P,
94 .pixelformat = V4L2_PIX_FMT_NV16,
102 .pixelformat = V4L2_PIX_FMT_NV16M,
[all …]
/linux-6.1.9/drivers/media/platform/st/sti/hva/
Dhva-v4l2.c96 frameinfo->pixelformat = V4L2_PIX_FMT_NV12; in set_default_params()
105 frameinfo->pixelformat); in set_default_params()
121 u32 pixelformat, in hva_find_encoder() argument
130 if ((enc->pixelformat == pixelformat) && in hva_find_encoder()
159 register_format(hva->encoders[i]->pixelformat, in register_formats()
190 u32 pixelformat, struct hva_enc **penc) in hva_open_encoder() argument
198 enc = (struct hva_enc *)hva_find_encoder(ctx, pixelformat, in hva_open_encoder()
202 ctx->name, (char *)&pixelformat, (char *)&streamformat); in hva_open_encoder()
207 ctx->name, (char *)&pixelformat, (char *)&streamformat); in hva_open_encoder()
239 (char *)&frame->pixelformat, in hva_dbg_summary()
[all …]
/linux-6.1.9/drivers/media/usb/airspy/
Dairspy.c74 u32 pixelformat; member
81 .pixelformat = V4L2_SDR_FMT_RU12LE,
131 u32 pixelformat; member
236 if (s->pixelformat == V4L2_SDR_FMT_RU12LE) { in airspy_convert_stream()
626 f->pixelformat = formats[f->index].pixelformat; in airspy_enum_fmt_sdr_cap()
636 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap()
653 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap()
654 s->pixelformat = formats[i].pixelformat; in airspy_s_fmt_sdr_cap()
661 s->pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
663 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
[all …]
/linux-6.1.9/drivers/media/platform/st/sti/delta/
Ddelta-v4l2.c248 frameinfo->pixelformat = V4L2_PIX_FMT_NV12; in set_default_params()
257 frameinfo->pixelformat); in set_default_params()
280 u32 pixelformat) in delta_find_decoder() argument
288 if ((dec->pixelformat == pixelformat) && in delta_find_decoder()
313 register_format(delta->decoders[i]->pixelformat, in register_formats()
343 u32 pixelformat, const struct delta_dec **pdec) in delta_open_decoder() argument
349 dec = delta_find_decoder(ctx, streamformat, ctx->frameinfo.pixelformat); in delta_open_decoder()
352 ctx->name, (char *)&streamformat, (char *)&pixelformat); in delta_open_decoder()
357 ctx->name, (char *)&streamformat, (char *)&pixelformat); in delta_open_decoder()
405 f->pixelformat = delta->streamformats[f->index]; in delta_enum_fmt_stream()
[all …]
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_v4l2.c209 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt()
229 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt()
287 (pix_mp->pixelformat & 0x7f), in hantro_try_fmt()
288 (pix_mp->pixelformat >> 8) & 0x7f, in hantro_try_fmt()
289 (pix_mp->pixelformat >> 16) & 0x7f, in hantro_try_fmt()
290 (pix_mp->pixelformat >> 24) & 0x7f); in hantro_try_fmt()
292 fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_try_fmt()
295 pix_mp->pixelformat = fmt->fourcc; in hantro_try_fmt()
368 fmt->pixelformat = vpu_fmt->fourcc; in hantro_reset_fmt()
498 pix_mp->pixelformat != ctx->src_fmt.pixelformat)) in hantro_set_fmt_out()
[all …]
/linux-6.1.9/drivers/media/usb/pwc/
Dpwc-v4l.c393 f->fmt.pix.pixelformat = pixfmt; in pwc_vidioc_fill_fmt()
402 (f->fmt.pix.pixelformat)&255, in pwc_vidioc_fill_fmt()
403 (f->fmt.pix.pixelformat>>8)&255, in pwc_vidioc_fill_fmt()
404 (f->fmt.pix.pixelformat>>16)&255, in pwc_vidioc_fill_fmt()
405 (f->fmt.pix.pixelformat>>24)&255); in pwc_vidioc_fill_fmt()
418 switch (f->fmt.pix.pixelformat) { in pwc_vidioc_try_fmt()
424 f->fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420; in pwc_vidioc_try_fmt()
430 f->fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420; in pwc_vidioc_try_fmt()
435 f->fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420; in pwc_vidioc_try_fmt()
442 f->fmt.pix.pixelformat); in pwc_vidioc_try_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/renesas/rcar-vin/
Drcar-v4l2.c92 u32 pixelformat) in rvin_format_from_pixel() argument
96 switch (pixelformat) { in rvin_format_from_pixel()
114 if (rvin_formats[i].fourcc == pixelformat) in rvin_format_from_pixel()
126 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline()
131 switch (pix->pixelformat) { in rvin_format_bytesperline()
149 switch (pix->pixelformat) { in rvin_format_sizeimage()
163 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_format_align()
164 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_format_align()
183 switch (pix->pixelformat) { in rvin_format_align()
275 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_try_format()
[all …]
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c272 switch (pixfmt->pixelformat) { in tegra_buf_prepare()
411 f->fmt.pix_mp.pixelformat = fourcc; in tegra_reset_fmt()
433 u32 pixelformat, u32 width, u32 height) in tegra_fill_pixfmt_mp() argument
435 const struct v4l2_format_info *info = v4l2_format_info(pixelformat); in tegra_fill_pixfmt_mp()
439 switch (pixelformat) { in tegra_fill_pixfmt_mp()
444 pixfmt->pixelformat = pixelformat; in tegra_fill_pixfmt_mp()
519 f->pixelformat = ctx->coded_fmt_desc->decoded_fmts[f->index]; in tegra_enum_decoded_fmt()
554 if (coded_desc->decoded_fmts[i] == pix_mp->pixelformat) in tegra_try_decoded_fmt()
559 pix_mp->pixelformat = coded_desc->decoded_fmts[0]; in tegra_try_decoded_fmt()
566 tegra_fill_pixfmt_mp(pix_mp, pix_mp->pixelformat, in tegra_try_decoded_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/via/
Dvia-camera.c148 __u32 pixelformat; member
153 .pixelformat = V4L2_PIX_FMT_YUYV,
164 static struct via_format *via_find_format(u32 pixelformat) in via_find_format() argument
169 if (via_formats[i].pixelformat == pixelformat) in via_find_format()
523 if (cam->user_format.pixelformat == V4L2_PIX_FMT_YUYV) in viacam_ctlr_image()
783 .pixelformat = V4L2_PIX_FMT_YUYV,
797 fmt->pixelformat = via_formats[fmt->index].pixelformat; in viacam_enum_fmt_vid_cap()
824 struct via_format *f = via_find_format(userfmt->pixelformat); in viacam_fmt_post()
828 userfmt->pixelformat = sensorfmt->pixelformat; in viacam_fmt_post()
853 struct via_format *f = via_find_format(upix->pixelformat); in viacam_do_try_fmt()
[all …]
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_video.c23 .pixelformat = V4L2_PIX_FMT_RGB332,
28 .pixelformat = V4L2_PIX_FMT_RGB565,
33 .pixelformat = V4L2_PIX_FMT_BGR24,
38 .pixelformat = V4L2_PIX_FMT_BGR32,
43 .pixelformat = V4L2_PIX_FMT_RGB32,
49 .pixelformat = V4L2_PIX_FMT_GREY,
54 .pixelformat = V4L2_PIX_FMT_YUV422P,
59 .pixelformat = V4L2_PIX_FMT_YVU420,
64 .pixelformat = V4L2_PIX_FMT_YUV420,
69 .pixelformat = V4L2_PIX_FMT_UYVY,
[all …]
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c339 .pixelformat = V4L2_PIX_FMT_YUV420,
346 .pixelformat = V4L2_PIX_FMT_YVU420,
353 .pixelformat = V4L2_PIX_FMT_YUV422P,
360 .pixelformat = V4L2_PIX_FMT_YUV444,
366 .pixelformat = V4L2_PIX_FMT_NV12,
373 .pixelformat = V4L2_PIX_FMT_NV21,
380 .pixelformat = V4L2_PIX_FMT_NV16,
387 .pixelformat = V4L2_PIX_FMT_YUYV,
393 .pixelformat = V4L2_PIX_FMT_UYVY,
399 .pixelformat = V4L2_PIX_FMT_UYVY,
[all …]
/linux-6.1.9/drivers/media/dvb-frontends/
Drtl2832_sdr.c78 u32 pixelformat; member
84 .pixelformat = V4L2_SDR_FMT_CU8,
87 .pixelformat = V4L2_SDR_FMT_CU16LE,
137 u32 pixelformat; member
177 if (dev->pixelformat == V4L2_SDR_FMT_CU8) { in rtl2832_sdr_convert_stream()
181 } else if (dev->pixelformat == V4L2_SDR_FMT_CU16LE) { in rtl2832_sdr_convert_stream()
1120 f->pixelformat = formats[f->index].pixelformat; in rtl2832_sdr_enum_fmt_sdr_cap()
1133 f->fmt.sdr.pixelformat = dev->pixelformat; in rtl2832_sdr_g_fmt_sdr_cap()
1148 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_s_fmt_sdr_cap()
1154 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_s_fmt_sdr_cap()
[all …]
/linux-6.1.9/drivers/media/platform/marvell/
Dmcam-core.c102 __u32 pixelformat; member
108 .pixelformat = V4L2_PIX_FMT_YUYV,
114 .pixelformat = V4L2_PIX_FMT_YVYU,
120 .pixelformat = V4L2_PIX_FMT_YUV420,
126 .pixelformat = V4L2_PIX_FMT_YVU420,
132 .pixelformat = V4L2_PIX_FMT_XRGB444,
138 .pixelformat = V4L2_PIX_FMT_RGB565,
144 .pixelformat = V4L2_PIX_FMT_SBGGR8,
152 static struct mcam_format_struct *mcam_find_format(u32 pixelformat) in mcam_find_format() argument
157 if (mcam_formats[i].pixelformat == pixelformat) in mcam_find_format()
[all …]
/linux-6.1.9/arch/powerpc/platforms/86xx/
Dmpc8610_hpcd.c153 static const u32 pixelformat[][3] = { in mpc8610hpcd_get_pixel_format() local
173 return pixelformat[arch_monitor][0]; in mpc8610hpcd_get_pixel_format()
175 return pixelformat[arch_monitor][1]; in mpc8610hpcd_get_pixel_format()
177 return pixelformat[arch_monitor][2]; in mpc8610hpcd_get_pixel_format()
/linux-6.1.9/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c101 config.pixelformat = video->format.fmt.pix.pixelformat; in sun6i_video_configure()
359 fmtdesc->pixelformat = sun6i_video_formats[index]; in sun6i_video_enum_fmt()
381 if (!sun6i_video_format_check(pix_format->pixelformat)) in sun6i_video_format_try()
382 pix_format->pixelformat = sun6i_video_formats[0]; in sun6i_video_format_try()
387 bpp = sun6i_csi_get_bpp(pix_format->pixelformat); in sun6i_video_format_try()
394 if (pix_format->pixelformat == V4L2_PIX_FMT_JPEG) in sun6i_video_format_try()
602 video->format.fmt.pix.pixelformat, in sun6i_video_link_validate()
606 video->format.fmt.pix.pixelformat, in sun6i_video_link_validate()
687 pix_format->pixelformat = sun6i_video_formats[0]; in sun6i_video_setup()
/linux-6.1.9/drivers/media/platform/ti/omap/
Domap_vout.c96 .pixelformat = V4L2_PIX_FMT_RGB565,
102 .pixelformat = V4L2_PIX_FMT_RGB32,
109 .pixelformat = V4L2_PIX_FMT_RGB24,
112 .pixelformat = V4L2_PIX_FMT_YUYV,
115 .pixelformat = V4L2_PIX_FMT_UYVY,
133 if (pix->pixelformat == omap_formats[ifmt].pixelformat) in omap_vout_try_format()
140 pix->pixelformat = omap_formats[ifmt].pixelformat; in omap_vout_try_format()
143 switch (pix->pixelformat) { in omap_vout_try_format()
215 if (V4L2_PIX_FMT_YUYV == pix->pixelformat || in omap_vout_calculate_offset()
216 V4L2_PIX_FMT_UYVY == pix->pixelformat) in omap_vout_calculate_offset()
[all …]
/linux-6.1.9/drivers/media/usb/hackrf/
Dhackrf.c73 u32 pixelformat; member
80 .pixelformat = V4L2_SDR_FMT_CS8,
148 u32 pixelformat; member
922 (char *)&f->fmt.sdr.pixelformat); in hackrf_s_fmt_sdr()
933 if (f->fmt.sdr.pixelformat == formats[i].pixelformat) { in hackrf_s_fmt_sdr()
934 dev->pixelformat = formats[i].pixelformat; in hackrf_s_fmt_sdr()
941 dev->pixelformat = formats[0].pixelformat; in hackrf_s_fmt_sdr()
943 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_s_fmt_sdr()
955 (char *)&dev->pixelformat); in hackrf_g_fmt_sdr()
957 f->fmt.sdr.pixelformat = dev->pixelformat; in hackrf_g_fmt_sdr()
[all …]

1234567891011