Home
last modified time | relevance | path

Searched refs:ycbcr_enc (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v4.19/include/media/
Dv4l2-mediabus.h112 pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format()
134 mbus_fmt->ycbcr_enc = pix_fmt->ycbcr_enc; in v4l2_fill_mbus_format()
155 pix_mp_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format_mplane()
175 mbus_fmt->ycbcr_enc = pix_mp_fmt->ycbcr_enc; in v4l2_fill_mbus_format_mplane()
Dv4l2-dv-timings.h224 enum v4l2_ycbcr_encoding ycbcr_enc; member
/Linux-v4.19/drivers/media/platform/vimc/
Dvimc-common.h51 (fmt)->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; \
55 if ((fmt)->ycbcr_enc > V4L2_YCBCR_ENC_SMPTE240M) \
56 (fmt)->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; \
Dvimc-common.c350 source_fmt.format.ycbcr_enc, in vimc_link_validate()
356 sink_fmt.format.ycbcr_enc); in vimc_link_validate()
386 if (source_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT in vimc_link_validate()
387 && sink_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT in vimc_link_validate()
388 && source_fmt.format.ycbcr_enc != sink_fmt.format.ycbcr_enc) in vimc_link_validate()
Dvimc-sensor.c133 tpg_s_ycbcr_enc(&vsen->tpg, vsen->mbus_format.ycbcr_enc); in vimc_sen_tpg_s_format()
185 mf->xfer_func, mf->ycbcr_enc, in vimc_sen_set_fmt()
189 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sen_set_fmt()
Dvimc-scaler.c197 sink_fmt->xfer_func, sink_fmt->ycbcr_enc, in vimc_sca_set_fmt()
201 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sca_set_fmt()
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-utils.c231 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in init_mbus_colorimetry()
235 mbus->ycbcr_enc); in init_mbus_colorimetry()
551 tryfmt->ycbcr_enc = fmt->ycbcr_enc; in imx_media_fill_default_mbus_fields()
558 if (tryfmt->ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) { in imx_media_fill_default_mbus_fields()
559 tryfmt->ycbcr_enc = in imx_media_fill_default_mbus_fields()
566 tryfmt->ycbcr_enc); in imx_media_fill_default_mbus_fields()
574 tryfmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in imx_media_fill_default_mbus_fields()
612 pix->ycbcr_enc = mbus->ycbcr_enc; in imx_media_mbus_fmt_to_pix_fmt()
656 mbus->ycbcr_enc = image->pix.ycbcr_enc; in imx_media_ipu_image_to_mbus_fmt()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dv-timings.c877 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry()
880 c.ycbcr_enc = V4L2_YCBCR_ENC_709; in v4l2_hdmi_rx_colorimetry()
886 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry()
891 c.ycbcr_enc = V4L2_YCBCR_ENC_709; in v4l2_hdmi_rx_colorimetry()
898 c.ycbcr_enc = V4L2_YCBCR_ENC_XV709; in v4l2_hdmi_rx_colorimetry()
903 c.ycbcr_enc = V4L2_YCBCR_ENC_XV601; in v4l2_hdmi_rx_colorimetry()
908 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry()
913 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry()
918 c.ycbcr_enc = V4L2_YCBCR_ENC_BT2020; in v4l2_hdmi_rx_colorimetry()
923 c.ycbcr_enc = V4L2_YCBCR_ENC_BT2020_CONST_LUM; in v4l2_hdmi_rx_colorimetry()
[all …]
/Linux-v4.19/include/media/tpg/
Dv4l2-tpg.h163 u32 ycbcr_enc; member
364 static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc) in tpg_s_ycbcr_enc() argument
366 if (tpg->ycbcr_enc == ycbcr_enc) in tpg_s_ycbcr_enc()
368 tpg->ycbcr_enc = ycbcr_enc; in tpg_s_ycbcr_enc()
374 return tpg->ycbcr_enc; in tpg_g_ycbcr_enc()
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-core.c109 enum v4l2_ycbcr_encoding ycbcr_enc; member
218 p_hdr->ycbcr_enc = htonl(ctx->ycbcr_enc); in encode()
241 ctx->ycbcr_enc = ntohl(p_hdr->ycbcr_enc); in decode()
612 pix->ycbcr_enc = ctx->ycbcr_enc; in vidioc_g_fmt()
633 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in vidioc_g_fmt()
719 pix->ycbcr_enc = ctx->ycbcr_enc; in vidioc_try_fmt_vid_cap()
730 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in vidioc_try_fmt_vid_cap()
870 ctx->ycbcr_enc = pix->ycbcr_enc; in vidioc_s_fmt_vid_out()
878 ctx->ycbcr_enc = pix_mp->ycbcr_enc; in vidioc_s_fmt_vid_out()
Dvicodec-codec.h99 __be32 ycbcr_enc; member
/Linux-v4.19/drivers/media/platform/sti/delta/
Ddelta-v4l2.c261 frameinfo->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in set_default_params()
271 streaminfo->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in set_default_params()
447 pix->ycbcr_enc = streaminfo->ycbcr_enc; in delta_g_fmt_stream()
480 frameinfo->ycbcr_enc = streaminfo->ycbcr_enc; in delta_g_fmt_frame()
485 pix->ycbcr_enc = frameinfo->ycbcr_enc; in delta_g_fmt_frame()
590 pix->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in delta_try_fmt_frame()
635 ctx->streaminfo.ycbcr_enc = pix->ycbcr_enc; in delta_s_fmt_stream()
689 frameinfo.ycbcr_enc = pix->ycbcr_enc; in delta_s_fmt_frame()
715 pix->ycbcr_enc = frameinfo.ycbcr_enc; in delta_s_fmt_frame()
Ddelta.h80 enum v4l2_ycbcr_encoding ycbcr_enc; member
145 enum v4l2_ycbcr_encoding ycbcr_enc; member
/Linux-v4.19/drivers/media/i2c/
Dadv7511.c102 u32 ycbcr_enc; member
1273 format->format.ycbcr_enc = fmt->ycbcr_enc; in adv7511_get_fmt()
1279 format->format.ycbcr_enc = state->ycbcr_enc; in adv7511_get_fmt()
1328 fmt->ycbcr_enc = format->format.ycbcr_enc; in adv7511_set_fmt()
1353 state->ycbcr_enc = format->format.ycbcr_enc; in adv7511_set_fmt()
1365 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) { in adv7511_set_fmt()
1372 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) { in adv7511_set_fmt()
1384 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM) in adv7511_set_fmt()
/Linux-v4.19/drivers/media/platform/sti/hva/
Dhva-v4l2.c113 ctx->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in set_default_params()
306 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in hva_g_fmt_stream()
325 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in hva_g_fmt_frame()
392 pix->ycbcr_enc = ctx->ycbcr_enc; in hva_try_fmt_stream()
439 pix->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in hva_try_fmt_frame()
503 ctx->ycbcr_enc = pix->ycbcr_enc; in hva_s_fmt_frame()
/Linux-v4.19/drivers/media/platform/
Dvim2m.c177 enum v4l2_ycbcr_encoding ycbcr_enc; member
503 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in vidioc_g_fmt()
562 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in vidioc_try_fmt_vid_cap()
648 ctx->ycbcr_enc = f->fmt.pix.ycbcr_enc; in vidioc_s_fmt_vid_out()
Drcar_fdp1.c967 if (src_q_data->format.ycbcr_enc == V4L2_YCBCR_ENC_709) in fdp1_configure_wpf()
1516 enum v4l2_ycbcr_encoding ycbcr_enc; in fdp1_try_fmt_capture() local
1532 ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture()
1533 if (ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) in fdp1_try_fmt_capture()
1534 ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(colorspace); in fdp1_try_fmt_capture()
1539 ycbcr_enc); in fdp1_try_fmt_capture()
1541 allow_rgb = ycbcr_enc == V4L2_YCBCR_ENC_601 || in fdp1_try_fmt_capture()
1542 (ycbcr_enc == V4L2_YCBCR_ENC_709 && in fdp1_try_fmt_capture()
1566 pix->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in fdp1_try_fmt_capture()
1569 pix->ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture()
/Linux-v4.19/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.h134 enum v4l2_ycbcr_encoding ycbcr_enc; member
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-vid-common.c640 mp->ycbcr_enc = pix->ycbcr_enc; in fmt_sp2mp()
670 pix->ycbcr_enc = mp->ycbcr_enc; in fmt_sp2mp_func()
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c537 ctx->ycbcr_enc = f->fmt.pix_mp.ycbcr_enc; in vidioc_venc_s_fmt_out()
581 pix->ycbcr_enc = ctx->ycbcr_enc; in vidioc_venc_g_fmt()
600 f->fmt.pix_mp.ycbcr_enc = ctx->ycbcr_enc; in vidioc_try_fmt_vid_cap_mplane()
619 f->fmt.pix_mp.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in vidioc_try_fmt_vid_out_mplane()
1200 ctx->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mtk_vcodec_enc_set_default_params()
Dmtk_vcodec_drv.h298 enum v4l2_ycbcr_encoding ycbcr_enc; member
/Linux-v4.19/include/uapi/linux/
Dv4l2-mediabus.h36 __u16 ycbcr_enc; member
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.h223 enum v4l2_ycbcr_encoding ycbcr_enc; member
Dmtk_mdp_m2m.c207 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in mtk_mdp_try_fmt_mplane()
674 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in mtk_mdp_m2m_g_fmt_mplane()
739 ctx->ycbcr_enc = pix_mp->ycbcr_enc; in mtk_mdp_m2m_s_fmt_mplane()
/Linux-v4.19/drivers/media/pci/cobalt/
Dcobalt-v4l2.c163 sd_fmt.format.ycbcr_enc = s->ycbcr_enc; in cobalt_enable_output()
889 pix->ycbcr_enc = s->ycbcr_enc; in cobalt_g_fmt_vid_out()
949 s->ycbcr_enc = pix->ycbcr_enc; in cobalt_s_fmt_vid_out()

123