/linux-6.3-rc2/include/media/ |
A D | v4l2-mediabus.h | 189 pix_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format() 211 mbus_fmt->xfer_func = pix_fmt->xfer_func; in v4l2_fill_mbus_format() 232 pix_mp_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format_mplane() 252 mbus_fmt->xfer_func = pix_mp_fmt->xfer_func; in v4l2_fill_mbus_format_mplane()
|
A D | v4l2-common.h | 574 static inline bool v4l2_is_xfer_func_valid(__u32 xfer_func) in v4l2_is_xfer_func_valid() argument 576 return xfer_func > V4L2_XFER_FUNC_DEFAULT && in v4l2_is_xfer_func_valid() 577 xfer_func < V4L2_XFER_FUNC_LAST; in v4l2_is_xfer_func_valid()
|
/linux-6.3-rc2/drivers/media/test-drivers/visl/ |
A D | visl-trace-fwht.h | 21 __field(u32, xfer_func) 32 __entry->xfer_func = p->xfer_func; 51 __entry->colorspace, __entry->xfer_func, __entry->ycbcr_enc,
|
A D | visl-video.c | 68 dprintk(ctx->dev, "xfer_func: %d\n", pix_mp->xfer_func); in visl_print_fmt() 112 tpg_s_xfer_func(&ctx->tpg, f->xfer_func); in visl_tpg_init() 245 f->fmt.pix_mp.xfer_func = V4L2_XFER_FUNC_DEFAULT; in visl_init_fmt() 447 ctx->decoded_fmt.fmt.pix_mp.xfer_func = f->fmt.pix_mp.xfer_func; in visl_s_fmt_vid_out()
|
/linux-6.3-rc2/drivers/media/test-drivers/vimc/ |
A D | vimc-common.c | 295 source_fmt.quantization, source_fmt.xfer_func, in vimc_vdev_link_validate() 301 sink_fmt.quantization, sink_fmt.xfer_func, in vimc_vdev_link_validate() 342 if (source_fmt.xfer_func != V4L2_XFER_FUNC_DEFAULT && in vimc_vdev_link_validate() 343 sink_fmt.xfer_func != V4L2_XFER_FUNC_DEFAULT && in vimc_vdev_link_validate() 344 source_fmt.xfer_func != sink_fmt.xfer_func) in vimc_vdev_link_validate()
|
A D | vimc-common.h | 61 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \ 67 if ((fmt)->xfer_func > V4L2_XFER_FUNC_SMPTE2084) \ 68 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \
|
A D | vimc-sensor.c | 124 tpg_s_xfer_func(&vsensor->tpg, vsensor->mbus_format.xfer_func); in vimc_sensor_tpg_s_format() 174 mf->xfer_func, mf->ycbcr_enc, in vimc_sensor_set_fmt() 178 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sensor_set_fmt()
|
/linux-6.3-rc2/drivers/media/platform/allegro-dvt/ |
A D | nal-h264.h | 336 enum v4l2_xfer_func xfer_func) in nal_h264_transfer_characteristics() argument 338 if (xfer_func == V4L2_XFER_FUNC_DEFAULT) in nal_h264_transfer_characteristics() 339 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_h264_transfer_characteristics() 341 switch (xfer_func) { in nal_h264_transfer_characteristics()
|
A D | nal-hevc.h | 458 enum v4l2_xfer_func xfer_func) in nal_hevc_transfer_characteristics() argument 460 if (xfer_func == V4L2_XFER_FUNC_DEFAULT) in nal_hevc_transfer_characteristics() 461 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_hevc_transfer_characteristics() 463 switch (xfer_func) { in nal_hevc_transfer_characteristics()
|
/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-dv-timings.c | 904 c.xfer_func = V4L2_XFER_FUNC_OPRGB; in v4l2_hdmi_rx_colorimetry() 908 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 944 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 949 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 954 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 961 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 966 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 971 c.xfer_func = V4L2_XFER_FUNC_SRGB; in v4l2_hdmi_rx_colorimetry() 981 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 986 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() [all …]
|
/linux-6.3-rc2/include/media/tpg/ |
A D | v4l2-tpg.h | 162 u32 xfer_func; member 393 static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func) in tpg_s_xfer_func() argument 395 if (tpg->xfer_func == xfer_func) in tpg_s_xfer_func() 397 tpg->xfer_func = xfer_func; in tpg_s_xfer_func() 403 return tpg->xfer_func; in tpg_g_xfer_func()
|
/linux-6.3-rc2/drivers/i2c/ |
A D | i2c-core-smbus.c | 557 int (*xfer_func)(struct i2c_adapter *adap, u16 addr, in __i2c_smbus_xfer() local 578 xfer_func = adapter->algo->smbus_xfer; in __i2c_smbus_xfer() 581 xfer_func = adapter->algo->smbus_xfer_atomic; in __i2c_smbus_xfer() 583 xfer_func = NULL; /* fallback to I2C emulation */ in __i2c_smbus_xfer() 586 if (xfer_func) { in __i2c_smbus_xfer() 590 res = xfer_func(adapter, addr, flags, read_write, in __i2c_smbus_xfer()
|
/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-isp.c | 446 sink_fmt->xfer_func = V4L2_XFER_FUNC_NONE; in rkisp1_isp_init_config() 462 src_fmt->xfer_func = V4L2_XFER_FUNC_SRGB; in rkisp1_isp_init_config() 535 src_fmt->xfer_func = sink_fmt->xfer_func; in rkisp1_isp_set_src_fmt() 566 if (format->xfer_func != V4L2_XFER_FUNC_DEFAULT) in rkisp1_isp_set_src_fmt() 567 src_fmt->xfer_func = format->xfer_func; in rkisp1_isp_set_src_fmt() 688 sink_fmt->xfer_func = format->xfer_func ? : in rkisp1_isp_set_sink_fmt()
|
A D | rkisp1-resizer.c | 415 sink_fmt->xfer_func = V4L2_XFER_FUNC_SRGB; in rkisp1_rsz_init_config() 551 sink_fmt->xfer_func = format->xfer_func ? : in rkisp1_rsz_set_sink_fmt() 574 src_fmt->xfer_func = sink_fmt->xfer_func; in rkisp1_rsz_set_sink_fmt()
|
/linux-6.3-rc2/drivers/media/platform/renesas/rzg2l-cru/ |
A D | rzg2l-ip.c | 126 sink_format->xfer_func = fmt->format.xfer_func; in rzg2l_cru_ip_set_format() 183 fmt.format.xfer_func = V4L2_XFER_FUNC_DEFAULT; in rzg2l_cru_ip_init_config()
|
/linux-6.3-rc2/drivers/media/test-drivers/vicodec/ |
A D | codec-v4l2-fwht.c | 275 p_hdr->xfer_func = htonl(state->xfer_func); in v4l2_fwht_encode() 330 state->xfer_func = ntohl(state->header.xfer_func); in v4l2_fwht_decode()
|
A D | vicodec-core.c | 248 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_state_from_header() 541 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_capture_data_from_header() 788 pix->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 807 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 905 pix->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 916 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 1114 ctx->state.xfer_func = pix->xfer_func; in vidioc_s_fmt_vid_out() 1121 ctx->state.xfer_func = pix_mp->xfer_func; in vidioc_s_fmt_vid_out() 1772 p_hdr->xfer_func = htonl(params->xfer_func); in update_header_from_stateless_params()
|
A D | codec-v4l2-fwht.h | 41 enum v4l2_xfer_func xfer_func; member
|
A D | codec-fwht.h | 73 __be32 xfer_func; member
|
/linux-6.3-rc2/drivers/media/platform/st/sti/delta/ |
A D | delta-v4l2.c | 260 frameinfo->xfer_func = V4L2_XFER_FUNC_DEFAULT; in set_default_params() 270 streaminfo->xfer_func = V4L2_XFER_FUNC_DEFAULT; in set_default_params() 446 pix->xfer_func = streaminfo->xfer_func; in delta_g_fmt_stream() 479 frameinfo->xfer_func = streaminfo->xfer_func; in delta_g_fmt_frame() 484 pix->xfer_func = frameinfo->xfer_func; in delta_g_fmt_frame() 589 pix->xfer_func = V4L2_XFER_FUNC_DEFAULT; in delta_try_fmt_frame() 634 ctx->streaminfo.xfer_func = pix->xfer_func; in delta_s_fmt_stream() 688 frameinfo.xfer_func = pix->xfer_func; in delta_s_fmt_frame() 714 pix->xfer_func = frameinfo.xfer_func; in delta_s_fmt_frame()
|
A D | delta.h | 79 enum v4l2_xfer_func xfer_func; member 144 enum v4l2_xfer_func xfer_func; member
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx-media-utils.c | 413 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 496 if (tryfmt->xfer_func == V4L2_XFER_FUNC_DEFAULT) in imx_media_try_colorimetry() 497 tryfmt->xfer_func = in imx_media_try_colorimetry() 560 pix->xfer_func = mbus->xfer_func; in imx_media_mbus_fmt_to_pix_fmt()
|
A D | imx-media-csc-scaler.c | 228 f->fmt.pix.xfer_func = q_data->cur_fmt.xfer_func; in ipu_csc_scaler_try_fmt() 233 f->fmt.pix.xfer_func = V4L2_XFER_FUNC_DEFAULT; in ipu_csc_scaler_try_fmt() 278 q_data->cur_fmt.xfer_func = f->fmt.pix.xfer_func; in ipu_csc_scaler_s_fmt() 284 q_data->cur_fmt.xfer_func = f->fmt.pix.xfer_func; in ipu_csc_scaler_s_fmt()
|
/linux-6.3-rc2/drivers/media/platform/st/stm32/dma2d/ |
A D | dma2d.c | 373 f->fmt.pix.xfer_func = ctx->xfer_func; in vidioc_g_fmt() 413 f->fmt.pix.xfer_func = ctx->xfer_func; in vidioc_try_fmt() 448 ctx->xfer_func = f->fmt.pix.xfer_func; in vidioc_s_fmt()
|
/linux-6.3-rc2/drivers/media/platform/st/sti/hva/ |
A D | hva-v4l2.c | 112 ctx->xfer_func = V4L2_XFER_FUNC_DEFAULT; in set_default_params() 305 f->fmt.pix.xfer_func = ctx->xfer_func; in hva_g_fmt_stream() 324 f->fmt.pix.xfer_func = ctx->xfer_func; in hva_g_fmt_frame() 391 pix->xfer_func = ctx->xfer_func; in hva_try_fmt_stream() 438 pix->xfer_func = V4L2_XFER_FUNC_DEFAULT; in hva_try_fmt_frame() 502 ctx->xfer_func = pix->xfer_func; in hva_s_fmt_frame()
|