/linux-5.19.10/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 26 .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 …]
|
D | vimc-capture.c | 39 .pixelformat = V4L2_PIX_FMT_RGB24, 97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap() 99 format->pixelformat = fmt_default.pixelformat; in vimc_cap_try_fmt_vid_cap() 100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap() 136 vcap->format.pixelformat, vcap->format.colorspace, in vimc_cap_s_fmt_vid_cap() 141 f->fmt.pix.pixelformat, f->fmt.pix.colorspace, in vimc_cap_s_fmt_vid_cap() 167 f->pixelformat = vpix->pixelformat; in vimc_cap_enum_fmt_vid_cap() 453 vpix = vimc_pix_map_by_pixelformat(vcap->format.pixelformat); in vimc_cap_add()
|
/linux-5.19.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 39 .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-5.19.10/drivers/media/test-drivers/vivid/ |
D | vivid-sdr-cap.c | 28 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-5.19.10/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 43 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-5.19.10/drivers/media/usb/msi2500/ |
D | msi2500.c | 69 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-5.19.10/drivers/media/platform/chips-media/ |
D | imx-vdoa.c | 89 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-5.19.10/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.c | 30 .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-5.19.10/drivers/media/platform/st/sti/hva/ |
D | hva-v4l2.c | 96 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-5.19.10/drivers/staging/media/hantro/ |
D | hantro_v4l2.c | 170 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt() 187 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt() 245 (pix_mp->pixelformat & 0x7f), in hantro_try_fmt() 246 (pix_mp->pixelformat >> 8) & 0x7f, in hantro_try_fmt() 247 (pix_mp->pixelformat >> 16) & 0x7f, in hantro_try_fmt() 248 (pix_mp->pixelformat >> 24) & 0x7f); in hantro_try_fmt() 250 fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_try_fmt() 253 pix_mp->pixelformat = fmt->fourcc; in hantro_try_fmt() 326 fmt->pixelformat = vpu_fmt->fourcc; in hantro_reset_fmt() 456 pix_mp->pixelformat != ctx->src_fmt.pixelformat)) in hantro_set_fmt_out() [all …]
|
/linux-5.19.10/drivers/media/usb/airspy/ |
D | airspy.c | 74 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-5.19.10/drivers/media/platform/st/sti/delta/ |
D | delta-v4l2.c | 248 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-5.19.10/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 393 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-5.19.10/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-v4l2.c | 92 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-5.19.10/drivers/media/platform/nvidia/tegra-vde/ |
D | v4l2.c | 272 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-5.19.10/drivers/media/platform/via/ |
D | via-camera.c | 148 __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-5.19.10/drivers/media/common/saa7146/ |
D | saa7146_video.c | 23 .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-5.19.10/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 78 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-5.19.10/drivers/media/platform/marvell/ |
D | mcam-core.c | 102 __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-5.19.10/arch/powerpc/platforms/86xx/ |
D | mpc8610_hpcd.c | 153 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-5.19.10/drivers/media/platform/sunxi/sun6i-csi/ |
D | sun6i_video.c | 159 config.pixelformat = video->fmt.fmt.pix.pixelformat; in sun6i_video_start_streaming() 337 f->pixelformat = supported_pixformats[index]; in vidioc_enum_fmt_vid_cap() 358 if (!is_pixformat_valid(pixfmt->pixelformat)) in sun6i_video_try_fmt() 359 pixfmt->pixelformat = supported_pixformats[0]; in sun6i_video_try_fmt() 364 bpp = sun6i_csi_get_bpp(pixfmt->pixelformat); in sun6i_video_try_fmt() 371 if (pixfmt->pixelformat == V4L2_PIX_FMT_JPEG) in sun6i_video_try_fmt() 574 video->fmt.fmt.pix.pixelformat, in sun6i_video_link_validate() 578 video->fmt.fmt.pix.pixelformat, in sun6i_video_link_validate() 627 fmt.fmt.pix.pixelformat = supported_pixformats[0]; in sun6i_video_init()
|
/linux-5.19.10/drivers/media/platform/ti/omap/ |
D | omap_vout.c | 96 .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-5.19.10/drivers/media/usb/hackrf/ |
D | hackrf.c | 73 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 …]
|
/linux-5.19.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_common.h | 48 unsigned int pixelformat; member 57 u32 pixelformat; member
|
/linux-5.19.10/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-v4l2.c | 48 .pixelformat = V4L2_PIX_FMT_ABGR32, /* is actually ARGB */ 57 .pixelformat = V4L2_PIX_FMT_XBGR32, /* is actually xRGB */ 66 .pixelformat = V4L2_PIX_FMT_RGB565, 75 .pixelformat = V4L2_PIX_FMT_NV12, 84 .pixelformat = V4L2_PIX_FMT_RGB24, 95 .pixelformat = V4L2_PIX_FMT_YUV420, 150 static const struct bdisp_fmt *bdisp_find_fmt(u32 pixelformat) in bdisp_find_fmt() argument 157 if (fmt->pixelformat == pixelformat) in bdisp_find_fmt() 707 if ((fmt->pixelformat == V4L2_PIX_FMT_YUV420) && in bdisp_enum_fmt() 712 f->pixelformat = fmt->pixelformat; in bdisp_enum_fmt() [all …]
|