/linux/include/media/ |
A D | v4l2-mediabus.h | 146 pix_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format() 168 mbus_fmt->xfer_func = pix_fmt->xfer_func; in v4l2_fill_mbus_format() 189 pix_mp_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format_mplane() 209 mbus_fmt->xfer_func = pix_mp_fmt->xfer_func; in v4l2_fill_mbus_format_mplane()
|
A D | v4l2-common.h | 569 static inline bool v4l2_is_xfer_func_valid(__u32 xfer_func) in v4l2_is_xfer_func_valid() argument 571 return xfer_func > V4L2_XFER_FUNC_DEFAULT && in v4l2_is_xfer_func_valid() 572 xfer_func <= V4L2_XFER_FUNC_SMPTE2084; in v4l2_is_xfer_func_valid()
|
/linux/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 | 54 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \ 60 if ((fmt)->xfer_func > V4L2_XFER_FUNC_SMPTE2084) \ 61 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \
|
A D | vimc-sensor.c | 124 tpg_s_xfer_func(&vsen->tpg, vsen->mbus_format.xfer_func); in vimc_sen_tpg_s_format() 174 mf->xfer_func, mf->ycbcr_enc, in vimc_sen_set_fmt() 178 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sen_set_fmt()
|
/linux/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/drivers/media/v4l2-core/ |
A D | v4l2-dv-timings.c | 882 c.xfer_func = V4L2_XFER_FUNC_OPRGB; in v4l2_hdmi_rx_colorimetry() 886 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 922 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 927 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 932 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 939 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_SRGB; in v4l2_hdmi_rx_colorimetry() 959 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() 964 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry() [all …]
|
/linux/include/media/tpg/ |
A D | v4l2-tpg.h | 162 u32 xfer_func; member 392 static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func) in tpg_s_xfer_func() argument 394 if (tpg->xfer_func == xfer_func) in tpg_s_xfer_func() 396 tpg->xfer_func = xfer_func; in tpg_s_xfer_func() 402 return tpg->xfer_func; in tpg_g_xfer_func()
|
/linux/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() 606 mbus->xfer_func = image->pix.xfer_func; in imx_media_ipu_image_to_mbus_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/drivers/i2c/ |
A D | i2c-core-smbus.c | 556 int (*xfer_func)(struct i2c_adapter *adap, u16 addr, in __i2c_smbus_xfer() local 577 xfer_func = adapter->algo->smbus_xfer; in __i2c_smbus_xfer() 580 xfer_func = adapter->algo->smbus_xfer_atomic; in __i2c_smbus_xfer() 582 xfer_func = NULL; /* fallback to I2C emulation */ in __i2c_smbus_xfer() 585 if (xfer_func) { in __i2c_smbus_xfer() 589 res = xfer_func(adapter, addr, flags, read_write, in __i2c_smbus_xfer()
|
/linux/drivers/media/platform/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/drivers/media/test-drivers/vicodec/ |
A D | vicodec-core.c | 248 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_state_from_header() 545 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_capture_data_from_header() 792 pix->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 811 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 909 pix->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 920 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 1118 ctx->state.xfer_func = pix->xfer_func; in vidioc_s_fmt_vid_out() 1125 ctx->state.xfer_func = pix_mp->xfer_func; in vidioc_s_fmt_vid_out() 1776 p_hdr->xfer_func = htonl(params->xfer_func); in update_header_from_stateless_params()
|
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 | codec-v4l2-fwht.h | 41 enum v4l2_xfer_func xfer_func; member
|
A D | codec-fwht.h | 73 __be32 xfer_func; member
|
/linux/drivers/media/platform/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()
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_v4l2.c | 324 fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in hantro_reset_fmt() 462 ctx->dst_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_out() 524 ctx->src_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_cap()
|
/linux/drivers/media/platform/mtk-vcodec/ |
A D | mtk_vcodec_enc.c | 505 ctx->xfer_func = f->fmt.pix_mp.xfer_func; in vidioc_venc_s_fmt_out() 547 pix->xfer_func = ctx->xfer_func; in vidioc_venc_g_fmt() 567 f->fmt.pix_mp.xfer_func = ctx->xfer_func; in vidioc_try_fmt_vid_cap_mplane() 588 f->fmt.pix_mp.xfer_func = V4L2_XFER_FUNC_DEFAULT; in vidioc_try_fmt_vid_out_mplane() 1307 ctx->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mtk_vcodec_enc_set_default_params()
|
/linux/drivers/media/test-drivers/ |
A D | vim2m.c | 223 enum v4l2_xfer_func xfer_func; member 739 f->fmt.pix.xfer_func = ctx->xfer_func; in vidioc_g_fmt() 803 f->fmt.pix.xfer_func = ctx->xfer_func; in vidioc_try_fmt_vid_cap() 894 ctx->xfer_func = f->fmt.pix.xfer_func; in vidioc_s_fmt_vid_out()
|
/linux/drivers/media/i2c/ |
A D | adv7511-v4l2.c | 109 u32 xfer_func; member 1269 format->format.xfer_func = fmt->xfer_func; in adv7511_get_fmt() 1275 format->format.xfer_func = state->xfer_func; in adv7511_get_fmt() 1324 fmt->xfer_func = format->format.xfer_func; in adv7511_set_fmt() 1349 state->xfer_func = format->format.xfer_func; in adv7511_set_fmt()
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-common.c | 822 mp->xfer_func = pix->xfer_func; in fmt_sp2mp() 852 pix->xfer_func = mp->xfer_func; in fmt_sp2mp_func()
|
/linux/drivers/media/platform/ |
A D | imx-pxp.c | 216 enum v4l2_xfer_func xfer_func; member 1096 f->fmt.pix.xfer_func = ctx->xfer_func; in pxp_g_fmt() 1190 f->fmt.pix.xfer_func = ctx->xfer_func; in pxp_try_fmt_vid_cap() 1289 ctx->xfer_func = f->fmt.pix.xfer_func; in pxp_s_fmt_vid_out()
|