/linux-6.6.21/include/media/ |
D | v4l2-mediabus.h | 187 pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format() 209 mbus_fmt->ycbcr_enc = pix_fmt->ycbcr_enc; in v4l2_fill_mbus_format() 230 pix_mp_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format_mplane() 250 mbus_fmt->ycbcr_enc = pix_mp_fmt->ycbcr_enc; in v4l2_fill_mbus_format_mplane()
|
D | v4l2-common.h | 582 static inline bool v4l2_is_ycbcr_enc_valid(__u8 ycbcr_enc) in v4l2_is_ycbcr_enc_valid() argument 584 return ycbcr_enc > V4L2_YCBCR_ENC_DEFAULT && in v4l2_is_ycbcr_enc_valid() 585 ycbcr_enc < V4L2_YCBCR_ENC_LAST; in v4l2_is_ycbcr_enc_valid()
|
/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-trace-fwht.h | 22 __field(u32, ycbcr_enc) 33 __entry->ycbcr_enc = p->ycbcr_enc; 51 __entry->colorspace, __entry->xfer_func, __entry->ycbcr_enc,
|
/linux-6.6.21/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 296 source_fmt.ycbcr_enc, in vimc_vdev_link_validate() 302 sink_fmt.ycbcr_enc); in vimc_vdev_link_validate() 332 if (source_fmt.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT && in vimc_vdev_link_validate() 333 sink_fmt.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT && in vimc_vdev_link_validate() 334 source_fmt.ycbcr_enc != sink_fmt.ycbcr_enc) in vimc_vdev_link_validate()
|
D | vimc-common.h | 59 (fmt)->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; \ 63 if ((fmt)->ycbcr_enc > V4L2_YCBCR_ENC_SMPTE240M) \ 64 (fmt)->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; \
|
/linux-6.6.21/drivers/media/platform/nxp/ |
D | imx-pxp.c | 170 enum v4l2_ycbcr_encoding ycbcr_enc; member 353 enum v4l2_ycbcr_encoding ycbcr_enc; in pxp_setup_csc() local 504 ycbcr_enc = ctx->q_data[V4L2_M2M_SRC].ycbcr_enc; in pxp_setup_csc() 507 if (ycbcr_enc == V4L2_YCBCR_ENC_601) { in pxp_setup_csc() 512 } else if (ycbcr_enc == V4L2_YCBCR_ENC_709) { in pxp_setup_csc() 517 } else if (ycbcr_enc == V4L2_YCBCR_ENC_BT2020) { in pxp_setup_csc() 717 ycbcr_enc = ctx->q_data[V4L2_M2M_DST].ycbcr_enc; in pxp_setup_csc() 720 if (ycbcr_enc == V4L2_YCBCR_ENC_601) { in pxp_setup_csc() 725 } else if (ycbcr_enc == V4L2_YCBCR_ENC_709) { in pxp_setup_csc() 730 } else if (ycbcr_enc == V4L2_YCBCR_ENC_BT2020) { in pxp_setup_csc() [all …]
|
/linux-6.6.21/drivers/staging/media/imx/ |
D | imx-media-utils.c | 414 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 418 mbus->ycbcr_enc); in imx_media_init_mbus_fmt() 501 if (tryfmt->ycbcr_enc != V4L2_YCBCR_ENC_601 && in imx_media_try_colorimetry() 502 tryfmt->ycbcr_enc != V4L2_YCBCR_ENC_709) in imx_media_try_colorimetry() 503 tryfmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in imx_media_try_colorimetry() 505 if (tryfmt->ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) { in imx_media_try_colorimetry() 506 tryfmt->ycbcr_enc = in imx_media_try_colorimetry() 515 tryfmt->ycbcr_enc); in imx_media_try_colorimetry() 561 pix->ycbcr_enc = mbus->ycbcr_enc; in imx_media_mbus_fmt_to_pix_fmt()
|
D | imx-media-csc-scaler.c | 227 f->fmt.pix.ycbcr_enc = q_data->cur_fmt.ycbcr_enc; in ipu_csc_scaler_try_fmt() 232 f->fmt.pix.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in ipu_csc_scaler_try_fmt() 277 q_data->cur_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in ipu_csc_scaler_s_fmt() 283 q_data->cur_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in ipu_csc_scaler_s_fmt() 494 if (fmt->ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) in ipu_image_from_q_data() 495 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data() 497 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
|
/linux-6.6.21/drivers/gpu/ipu-v3/ |
D | ipu-dp.c | 129 enum drm_color_encoding ycbcr_enc, in ipu_dp_csc_init() argument 154 } else if (ycbcr_enc == DRM_COLOR_YCBCR_BT709) { in ipu_dp_csc_init() 182 enum drm_color_encoding ycbcr_enc, in ipu_dp_setup_channel() argument 202 ipu_dp_csc_init(flow, ycbcr_enc, range, in ipu_dp_setup_channel() 212 ipu_dp_csc_init(flow, ycbcr_enc, range, in ipu_dp_setup_channel() 216 ipu_dp_csc_init(flow, ycbcr_enc, range, in ipu_dp_setup_channel()
|
/linux-6.6.21/drivers/media/platform/ti/vpe/ |
D | csc.c | 155 src_ycbcr_enc = mp->ycbcr_enc; in csc_set_coeff() 160 src_ycbcr_enc = pix->ycbcr_enc; in csc_set_coeff() 167 dst_ycbcr_enc = mp->ycbcr_enc; in csc_set_coeff() 172 dst_ycbcr_enc = pix->ycbcr_enc; in csc_set_coeff()
|
/linux-6.6.21/include/media/tpg/ |
D | v4l2-tpg.h | 163 u32 ycbcr_enc; member 367 static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc) in tpg_s_ycbcr_enc() argument 369 if (tpg->ycbcr_enc == ycbcr_enc) in tpg_s_ycbcr_enc() 371 tpg->ycbcr_enc = ycbcr_enc; in tpg_s_ycbcr_enc() 377 return tpg->ycbcr_enc; in tpg_g_ycbcr_enc()
|
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-isp.c | 238 src_frm->ycbcr_enc); in rkisp1_config_isp() 461 sink_fmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in rkisp1_isp_init_config() 477 src_fmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in rkisp1_isp_init_config() 550 src_fmt->ycbcr_enc = sink_fmt->ycbcr_enc; in rkisp1_isp_set_src_fmt() 582 if (format->ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT) in rkisp1_isp_set_src_fmt() 583 src_fmt->ycbcr_enc = format->ycbcr_enc; in rkisp1_isp_set_src_fmt() 705 sink_fmt->ycbcr_enc = format->ycbcr_enc ? : in rkisp1_isp_set_sink_fmt() 709 sink_fmt->ycbcr_enc); in rkisp1_isp_set_sink_fmt() 716 sink_fmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in rkisp1_isp_set_sink_fmt()
|
D | rkisp1-resizer.c | 426 sink_fmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in rkisp1_rsz_init_config() 564 sink_fmt->ycbcr_enc = format->ycbcr_enc ? : in rkisp1_rsz_set_sink_fmt() 568 sink_fmt->ycbcr_enc); in rkisp1_rsz_set_sink_fmt() 575 sink_fmt->ycbcr_enc = V4L2_YCBCR_ENC_601; in rkisp1_rsz_set_sink_fmt() 585 src_fmt->ycbcr_enc = sink_fmt->ycbcr_enc; in rkisp1_rsz_set_sink_fmt()
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 939 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry() 942 c.ycbcr_enc = V4L2_YCBCR_ENC_709; in v4l2_hdmi_rx_colorimetry() 948 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry() 953 c.ycbcr_enc = V4L2_YCBCR_ENC_709; in v4l2_hdmi_rx_colorimetry() 960 c.ycbcr_enc = V4L2_YCBCR_ENC_XV709; in v4l2_hdmi_rx_colorimetry() 965 c.ycbcr_enc = V4L2_YCBCR_ENC_XV601; in v4l2_hdmi_rx_colorimetry() 970 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry() 975 c.ycbcr_enc = V4L2_YCBCR_ENC_601; in v4l2_hdmi_rx_colorimetry() 980 c.ycbcr_enc = V4L2_YCBCR_ENC_BT2020; in v4l2_hdmi_rx_colorimetry() 985 c.ycbcr_enc = V4L2_YCBCR_ENC_BT2020_CONST_LUM; in v4l2_hdmi_rx_colorimetry() [all …]
|
/linux-6.6.21/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-ip.c | 127 sink_format->ycbcr_enc = fmt->format.ycbcr_enc; in rzg2l_cru_ip_set_format() 181 fmt.format.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in rzg2l_cru_ip_init_config()
|
/linux-6.6.21/drivers/media/test-drivers/vicodec/ |
D | codec-v4l2-fwht.c | 276 p_hdr->ycbcr_enc = htonl(state->ycbcr_enc); in v4l2_fwht_encode() 331 state->ycbcr_enc = ntohl(state->header.ycbcr_enc); in v4l2_fwht_decode()
|
D | vicodec-core.c | 249 ctx->state.ycbcr_enc = ntohl(p_hdr->ycbcr_enc); in update_state_from_header() 542 ctx->state.ycbcr_enc = ntohl(p_hdr->ycbcr_enc); in update_capture_data_from_header() 789 pix->ycbcr_enc = ctx->state.ycbcr_enc; in vidioc_g_fmt() 808 pix_mp->ycbcr_enc = ctx->state.ycbcr_enc; in vidioc_g_fmt() 906 pix->ycbcr_enc = ctx->state.ycbcr_enc; in vidioc_try_fmt_vid_cap() 917 pix_mp->ycbcr_enc = ctx->state.ycbcr_enc; in vidioc_try_fmt_vid_cap() 1115 ctx->state.ycbcr_enc = pix->ycbcr_enc; in vidioc_s_fmt_vid_out() 1122 ctx->state.ycbcr_enc = pix_mp->ycbcr_enc; in vidioc_s_fmt_vid_out() 1773 p_hdr->ycbcr_enc = htonl(params->ycbcr_enc); in update_header_from_stateless_params()
|
D | codec-v4l2-fwht.h | 40 enum v4l2_ycbcr_encoding ycbcr_enc; member
|
/linux-6.6.21/drivers/media/platform/st/sti/delta/ |
D | delta-v4l2.c | 261 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()
|
D | delta.h | 80 enum v4l2_ycbcr_encoding ycbcr_enc; member 145 enum v4l2_ycbcr_encoding ycbcr_enc; member
|
/linux-6.6.21/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 374 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in vidioc_g_fmt() 414 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in vidioc_try_fmt() 449 ctx->ycbcr_enc = f->fmt.pix.ycbcr_enc; in vidioc_s_fmt()
|
/linux-6.6.21/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 105 pix->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 107 pix->ycbcr_enc); in _sun4i_csi_try_fmt() 264 .ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT,
|
/linux-6.6.21/drivers/media/i2c/ |
D | adv7511-v4l2.c | 106 u32 ycbcr_enc; member 1244 format->format.ycbcr_enc = fmt->ycbcr_enc; in adv7511_get_fmt() 1250 format->format.ycbcr_enc = state->ycbcr_enc; in adv7511_get_fmt() 1299 fmt->ycbcr_enc = format->format.ycbcr_enc; in adv7511_set_fmt() 1324 state->ycbcr_enc = format->format.ycbcr_enc; in adv7511_set_fmt() 1336 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) { in adv7511_set_fmt() 1343 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) { in adv7511_set_fmt() 1355 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM) in adv7511_set_fmt()
|
/linux-6.6.21/drivers/media/platform/st/sti/hva/ |
D | hva-v4l2.c | 113 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-6.6.21/drivers/media/platform/renesas/ |
D | rcar_fdp1.c | 969 if (src_q_data->format.ycbcr_enc == V4L2_YCBCR_ENC_709) in fdp1_configure_wpf() 1514 enum v4l2_ycbcr_encoding ycbcr_enc; in fdp1_try_fmt_capture() local 1530 ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture() 1531 if (ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) in fdp1_try_fmt_capture() 1532 ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(colorspace); in fdp1_try_fmt_capture() 1537 ycbcr_enc); in fdp1_try_fmt_capture() 1539 allow_rgb = ycbcr_enc == V4L2_YCBCR_ENC_601 || in fdp1_try_fmt_capture() 1540 (ycbcr_enc == V4L2_YCBCR_ENC_709 && in fdp1_try_fmt_capture() 1564 pix->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in fdp1_try_fmt_capture() 1567 pix->ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture()
|