Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/media/test-drivers/vimc/
A 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,
232 if (vimc_pix_map_list[i].pixelformat == pixelformat) in vimc_pix_map_by_pixelformat()
257 fmt->pixelformat = pix_map->pixelformat; in vimc_get_pix_format()
[all …]
A Dvimc-capture.c38 .pixelformat = V4L2_PIX_FMT_RGB24,
96 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
98 format->pixelformat = fmt_default.pixelformat; in vimc_cap_try_fmt_vid_cap()
99 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
135 vcap->format.pixelformat, vcap->format.colorspace, in vimc_cap_s_fmt_vid_cap()
140 f->fmt.pix.pixelformat, f->fmt.pix.colorspace, in vimc_cap_s_fmt_vid_cap()
166 f->pixelformat = vpix->pixelformat; in vimc_cap_enum_fmt_vid_cap()
448 vpix = vimc_pix_map_by_pixelformat(vcap->format.pixelformat); in vimc_cap_add()
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus_video.c44 .pixelformat = V4L2_PIX_FMT_H264_SLICE,
54 .pixelformat = V4L2_PIX_FMT_VP8_FRAME,
63 .pixelformat = V4L2_PIX_FMT_NV12,
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()
257 pix_fmt->pixelformat = fmt->pixelformat; in cedrus_try_fmt_vid_cap()
278 pix_fmt->pixelformat = fmt->pixelformat; in cedrus_try_fmt_vid_out()
323 f->fmt.pix.pixelformat != ctx->src_fmt.pixelformat)) in cedrus_s_fmt_vid_out()
341 switch (ctx->src_fmt.pixelformat) { in cedrus_s_fmt_vid_out()
[all …]
/linux/drivers/media/platform/qcom/camss/
A Dcamss-video.c43 u32 pixelformat; member
275 formats[i].pixelformat == pixelformat) in video_find_format()
309 pix->pixelformat = f->pixelformat; in video_mbus_to_pix_mp()
360 format->fmt.pix_mp.pixelformat, in video_get_subdev_format()
470 sd_pix->pixelformat = pix->pixelformat; in video_check_format()
475 if (pix->pixelformat != sd_pix->pixelformat || in video_check_format()
620 video->formats[j].pixelformat) in video_enum_fmt()
639 f->pixelformat = video->formats[i].pixelformat; in video_enum_fmt()
707 if (pix_mp->pixelformat == video->formats[j].pixelformat) in __video_try_fmt()
719 pix_mp->pixelformat = fi->pixelformat; in __video_try_fmt()
[all …]
/linux/drivers/media/test-drivers/vivid/
A Dvivid-sdr-cap.c27 u32 pixelformat; member
34 .pixelformat = V4L2_SDR_FMT_CU8,
37 .pixelformat = V4L2_SDR_FMT_CS8,
448 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap()
456 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
471 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap()
472 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap()
478 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
480 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
490 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap()
[all …]
/linux/drivers/media/usb/msi2500/
A Dmsi2500.c69 u32 pixelformat; member
125 u32 pixelformat; member
900 f->pixelformat = formats[f->index].pixelformat; in msi2500_enum_fmt_sdr_cap()
913 f->fmt.sdr.pixelformat = dev->pixelformat; in msi2500_g_fmt_sdr_cap()
933 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_s_fmt_sdr_cap()
934 dev->pixelformat = formats[i].pixelformat; in msi2500_s_fmt_sdr_cap()
941 dev->pixelformat = formats[0].pixelformat; in msi2500_s_fmt_sdr_cap()
943 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_s_fmt_sdr_cap()
959 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_try_fmt_sdr_cap()
965 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_try_fmt_sdr_cap()
[all …]
/linux/drivers/media/platform/exynos-gsc/
A 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,
94 .pixelformat = V4L2_PIX_FMT_NV16,
219 if (pixelformat && fmt->pixelformat == *pixelformat) in find_fmt()
317 f->pixelformat = fmt->pixelformat; in gsc_enum_fmt()
405 pix_mp->pixelformat); in gsc_try_fmt_mplane()
[all …]
/linux/drivers/media/platform/coda/
A 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/drivers/media/platform/sti/hva/
A Dhva-v4l2.c105 frameinfo->pixelformat); in set_default_params()
121 u32 pixelformat, in hva_find_encoder() argument
130 if ((enc->pixelformat == pixelformat) && in hva_find_encoder()
239 (char *)&frame->pixelformat, in hva_dbg_summary()
327 f->fmt.pix.pixelformat = frameinfo->pixelformat; in hva_g_fmt_frame()
329 frameinfo->pixelformat); in hva_g_fmt_frame()
341 u32 streamformat = pix->pixelformat; in hva_try_fmt_stream()
405 u32 pixelformat = pix->pixelformat; in hva_try_fmt_frame() local
413 ctx->name, (char *)&pixelformat); in hva_try_fmt_frame()
510 ctx->frameinfo.pixelformat = pix->pixelformat; in hva_s_fmt_frame()
[all …]
/linux/drivers/staging/media/hantro/
A Dhantro_v4l2.c173 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt()
190 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt()
248 (pix_mp->pixelformat & 0x7f), in hantro_try_fmt()
249 (pix_mp->pixelformat >> 8) & 0x7f, in hantro_try_fmt()
250 (pix_mp->pixelformat >> 16) & 0x7f, in hantro_try_fmt()
251 (pix_mp->pixelformat >> 24) & 0x7f); in hantro_try_fmt()
253 fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_try_fmt()
256 pix_mp->pixelformat = fmt->fourcc; in hantro_try_fmt()
319 fmt->pixelformat = vpu_fmt->fourcc; in hantro_reset_fmt()
424 pix_mp->pixelformat != ctx->src_fmt.pixelformat)) in hantro_set_fmt_out()
[all …]
/linux/drivers/media/usb/airspy/
A Dairspy.c74 u32 pixelformat; member
131 u32 pixelformat; member
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()
675 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_try_fmt_sdr_cap()
681 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_try_fmt_sdr_cap()
[all …]
/linux/drivers/media/platform/sti/delta/
A Ddelta-v4l2.c257 frameinfo->pixelformat); in set_default_params()
280 u32 pixelformat) in delta_find_decoder() argument
288 if ((dec->pixelformat == pixelformat) && in delta_find_decoder()
468 pix->pixelformat = frameinfo->pixelformat; in delta_g_fmt_frame()
473 frameinfo->pixelformat); in delta_g_fmt_frame()
551 u32 pixelformat = pix->pixelformat; in delta_try_fmt_frame() local
556 pixelformat); in delta_try_fmt_frame()
560 ctx->name, (char *)&pixelformat); in delta_try_fmt_frame()
680 frameinfo.pixelformat = pix->pixelformat; in delta_s_fmt_frame()
707 pix->pixelformat = frameinfo.pixelformat; in delta_s_fmt_frame()
[all …]
/linux/drivers/media/usb/pwc/
A 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()
418 switch (f->fmt.pix.pixelformat) { in pwc_vidioc_try_fmt()
442 f->fmt.pix.pixelformat); in pwc_vidioc_try_fmt()
461 pixelformat = f->fmt.pix.pixelformat; in pwc_s_fmt_vid_cap()
465 (pixelformat)&255, in pwc_s_fmt_vid_cap()
466 (pixelformat>>8)&255, in pwc_s_fmt_vid_cap()
467 (pixelformat>>16)&255, in pwc_s_fmt_vid_cap()
[all …]
/linux/drivers/media/platform/rcar-vin/
A Drcar-v4l2.c92 u32 pixelformat) in rvin_format_from_pixel() argument
96 switch (pixelformat) { in rvin_format_from_pixel()
131 switch (pix->pixelformat) { in rvin_format_bytesperline()
149 switch (pix->pixelformat) { in rvin_format_sizeimage()
164 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_format_align()
183 switch (pix->pixelformat) { in rvin_format_align()
264 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_try_format()
388 f->pixelformat = V4L2_PIX_FMT_SBGGR8; in rvin_enum_fmt_vid_cap()
393 f->pixelformat = V4L2_PIX_FMT_SGBRG8; in rvin_enum_fmt_vid_cap()
398 f->pixelformat = V4L2_PIX_FMT_SGRBG8; in rvin_enum_fmt_vid_cap()
[all …]
/linux/drivers/media/platform/
A 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()
828 userfmt->pixelformat = sensorfmt->pixelformat; in viacam_fmt_post()
853 struct via_format *f = via_find_format(upix->pixelformat); in viacam_do_try_fmt()
855 upix->pixelformat = f->pixelformat; in viacam_do_try_fmt()
[all …]
/linux/drivers/media/common/saa7146/
A 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/drivers/media/platform/marvell-ccic/
A Dmcam-core.c102 __u32 pixelformat; member
108 .pixelformat = V4L2_PIX_FMT_YUYV,
114 .pixelformat = V4L2_PIX_FMT_YVYU,
157 if (mcam_formats[i].pixelformat == pixelformat) in mcam_find_format()
169 .pixelformat = V4L2_PIX_FMT_YUYV,
333 switch (fmt->pixelformat) { in mcam_write_yuv_bases()
731 switch (fmt->pixelformat) { in mcam_ctlr_image()
756 switch (fmt->pixelformat) { in mcam_ctlr_image()
1342 fmt->pixelformat = mcam_formats[fmt->index].pixelformat; in mcam_vidioc_enum_fmt_vid_cap()
1362 pix->pixelformat = f->pixelformat; in mcam_vidioc_try_fmt_vid_cap()
[all …]
/linux/drivers/media/dvb-frontends/
A Drtl2832_sdr.c78 u32 pixelformat; member
137 u32 pixelformat; member
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()
1154 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_s_fmt_sdr_cap()
1155 dev->pixelformat = formats[i].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1162 dev->pixelformat = formats[0].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1164 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1181 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_try_fmt_sdr_cap()
1187 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_try_fmt_sdr_cap()
[all …]
/linux/drivers/media/platform/omap/
A 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()
216 V4L2_PIX_FMT_UYVY == pix->pixelformat) in omap_vout_calculate_offset()
248 switch (pix->pixelformat) { in video_mode_to_dss_mode()
[all …]
/linux/drivers/media/usb/hackrf/
A Dhackrf.c73 u32 pixelformat; member
148 u32 pixelformat; member
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()
957 f->fmt.sdr.pixelformat = dev->pixelformat; in hackrf_g_fmt_sdr()
973 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in hackrf_try_fmt_sdr()
979 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_try_fmt_sdr()
995 f->pixelformat = formats[f->index].pixelformat; in hackrf_enum_fmt_sdr()
[all …]
/linux/drivers/media/test-drivers/vicodec/
A Dvicodec-core.c734 f->pixelformat = info->id; in enum_fmt()
738 f->pixelformat = ctx->is_stateless ? in enum_fmt()
787 pix->pixelformat = info->id; in vidioc_g_fmt()
805 pix_mp->pixelformat = info->id; in vidioc_g_fmt()
847 info = find_fmt(pix->pixelformat); in vidioc_try_fmt()
869 info = find_fmt(pix_mp->pixelformat); in vidioc_try_fmt()
944 pix->pixelformat = find_fmt(pix->pixelformat)->id; in vidioc_try_fmt_vid_out()
948 pix->pixelformat = V4L2_PIX_FMT_FWHT; in vidioc_try_fmt_vid_out()
957 pix_mp->pixelformat = find_fmt(pix_mp->pixelformat)->id; in vidioc_try_fmt_vid_out()
961 pix_mp->pixelformat = V4L2_PIX_FMT_FWHT; in vidioc_try_fmt_vid_out()
[all …]
/linux/drivers/media/platform/sti/bdisp/
A Dbdisp-v4l2.c66 .pixelformat = V4L2_PIX_FMT_RGB565,
75 .pixelformat = V4L2_PIX_FMT_NV12,
84 .pixelformat = V4L2_PIX_FMT_RGB24,
95 .pixelformat = V4L2_PIX_FMT_YUV420,
157 if (fmt->pixelformat == pixelformat) in bdisp_find_fmt()
712 f->pixelformat = fmt->pixelformat; in bdisp_enum_fmt()
731 pix->pixelformat = frame->fmt->pixelformat; in bdisp_g_fmt()
748 format = bdisp_find_fmt(pix->pixelformat); in bdisp_try_fmt()
751 pix->pixelformat); in bdisp_try_fmt()
815 frame->fmt = bdisp_find_fmt(pix->pixelformat); in bdisp_s_fmt()
[all …]
/linux/drivers/media/platform/ti-vpe/
A Dcal-video.c76 u32 pixelformat) in find_format_by_pix() argument
83 if (fmtinfo->fourcc == pixelformat) in find_format_by_pix()
116 f->pixelformat = fmtinfo->fourcc; in cal_legacy_enum_fmt_vid_cap()
187 __func__, fourcc_to_str(f->fmt.pix.pixelformat), in cal_calc_format_size()
203 f->fmt.pix.pixelformat); in cal_legacy_try_fmt_vid_cap()
207 f->fmt.pix.pixelformat = fmtinfo->fourcc; in cal_legacy_try_fmt_vid_cap()
291 ctx->v_fmt.fmt.pix.pixelformat = fmtinfo->fourcc; in cal_legacy_s_fmt_vid_cap()
453 f->pixelformat = cal_formats[i].fourcc; in cal_mc_enum_fmt_vid_cap()
491 format->pixelformat = fmtinfo->fourcc; in cal_mc_try_fmt()
513 __func__, fourcc_to_str(format->pixelformat), in cal_mc_try_fmt()
[all …]
/linux/drivers/media/pci/cx18/
A Dcx18-streams.c106 u32 pixelformat, in cx18_prepare_buffer() argument
125 buf->vb.field != field || s->pixelformat != pixelformat || in cx18_prepare_buffer()
132 s->pixelformat = pixelformat; in cx18_prepare_buffer()
136 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_prepare_buffer()
154 s->pixelformat = pixelformat; in cx18_prepare_buffer()
158 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_prepare_buffer()
209 return cx18_prepare_buffer(q, s, buf, s->pixelformat, in buffer_prepare()
290 s->pixelformat = V4L2_PIX_FMT_NV12_16L16; in cx18_stream_init()
736 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_stream_configure_mdls()
892 if (s->pixelformat == V4L2_PIX_FMT_UYVY) in cx18_start_v4l2_encode_stream()
/linux/arch/powerpc/platforms/86xx/
A Dmpc8610_hpcd.c152 static const u32 pixelformat[][3] = { in mpc8610hpcd_get_pixel_format() local
172 return pixelformat[arch_monitor][0]; in mpc8610hpcd_get_pixel_format()
174 return pixelformat[arch_monitor][1]; in mpc8610hpcd_get_pixel_format()
176 return pixelformat[arch_monitor][2]; in mpc8610hpcd_get_pixel_format()

Completed in 74 milliseconds

1234567891011