/linux/include/media/ |
H 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()
|
H A D | v4l2-common.h | 602 static inline bool v4l2_is_xfer_func_valid(__u32 xfer_func) in v4l2_is_xfer_func_valid() argument 604 return xfer_func > V4L2_XFER_FUNC_DEFAULT && in v4l2_is_xfer_func_valid() 605 xfer_func < V4L2_XFER_FUNC_LAST; in v4l2_is_xfer_func_valid()
|
/linux/drivers/media/test-drivers/visl/ |
H 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,
|
/linux/drivers/media/platform/allegro-dvt/ |
H 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()
|
H A D | nal-hevc.h | 459 enum v4l2_xfer_func xfer_func) in nal_hevc_transfer_characteristics() argument 461 if (xfer_func == V4L2_XFER_FUNC_DEFAULT) in nal_hevc_transfer_characteristics() 462 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_hevc_transfer_characteristics() 464 switch (xfer_func) { in nal_hevc_transfer_characteristics()
|
/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 297 source_fmt.quantization, source_fmt.xfer_func, in vimc_vdev_link_validate() 303 sink_fmt.quantization, sink_fmt.xfer_func, in vimc_vdev_link_validate() 344 if (source_fmt.xfer_func != V4L2_XFER_FUNC_DEFAULT && in vimc_vdev_link_validate() 345 sink_fmt.xfer_func != V4L2_XFER_FUNC_DEFAULT && in vimc_vdev_link_validate() 346 source_fmt.xfer_func != sink_fmt.xfer_func) in vimc_vdev_link_validate()
|
H 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; \
|
H A D | vimc-sensor.c | 113 tpg_s_xfer_func(&vsensor->tpg, format->xfer_func); in vimc_sensor_tpg_s_format() 159 mf->xfer_func, mf->ycbcr_enc, in vimc_sensor_set_fmt() 163 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sensor_set_fmt()
|
/linux/include/media/tpg/ |
H 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/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-common.h | 51 (fmt)->xfer_func = DCMIPP_XFER_FUNC_DEFAULT; \ 57 if ((fmt)->xfer_func > V4L2_XFER_FUNC_SMPTE2084) \ 58 (fmt)->xfer_func = DCMIPP_XFER_FUNC_DEFAULT; \
|
H A D | dcmipp-parallel.c | 143 .xfer_func = DCMIPP_XFER_FUNC_DEFAULT, 246 mf->xfer_func, mf->ycbcr_enc, in dcmipp_par_set_fmt() 250 fmt->format.xfer_func, fmt->format.ycbcr_enc); in dcmipp_par_set_fmt()
|
/linux/drivers/i2c/ |
H 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/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-isp.c | 564 sink_fmt->xfer_func = V4L2_XFER_FUNC_NONE; in rkisp1_isp_init_state() 580 src_fmt->xfer_func = V4L2_XFER_FUNC_SRGB; in rkisp1_isp_init_state() 652 src_fmt->xfer_func = sink_fmt->xfer_func; in rkisp1_isp_set_src_fmt() 683 if (format->xfer_func != V4L2_XFER_FUNC_DEFAULT) in rkisp1_isp_set_src_fmt() 684 src_fmt->xfer_func = format->xfer_func; in rkisp1_isp_set_src_fmt() 793 sink_fmt->xfer_func = format->xfer_func ? : in rkisp1_isp_set_sink_fmt()
|
H A D | rkisp1-resizer.c | 391 sink_fmt->xfer_func = V4L2_XFER_FUNC_SRGB; in rkisp1_rsz_init_state() 514 sink_fmt->xfer_func = format->xfer_func ? : in rkisp1_rsz_set_sink_fmt() 537 src_fmt->xfer_func = sink_fmt->xfer_func; in rkisp1_rsz_set_sink_fmt()
|
/linux/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 250 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_state_from_header() 543 ctx->state.xfer_func = ntohl(p_hdr->xfer_func); in update_capture_data_from_header() 790 pix->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 809 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_g_fmt() 907 pix->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 918 pix_mp->xfer_func = ctx->state.xfer_func; in vidioc_try_fmt_vid_cap() 1116 ctx->state.xfer_func = pix->xfer_func; in vidioc_s_fmt_vid_out() 1123 ctx->state.xfer_func = pix_mp->xfer_func; in vidioc_s_fmt_vid_out() 1782 p_hdr->xfer_func = htonl(params->xfer_func); in update_header_from_stateless_params()
|
H 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()
|
H A D | codec-v4l2-fwht.h | 41 enum v4l2_xfer_func xfer_func; member
|
H A D | codec-fwht.h | 73 __be32 xfer_func; member
|
/linux/drivers/staging/media/imx/ |
H 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()
|
/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 79 enum v4l2_xfer_func xfer_func; member 144 enum v4l2_xfer_func xfer_func; member
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 402 fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in hantro_reset_fmt() 558 ctx->dst_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_out() 614 ctx->src_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_cap()
|
/linux/drivers/media/i2c/ |
H A D | adv7511-v4l2.c | 103 u32 xfer_func; member 1263 format->format.xfer_func = fmt->xfer_func; in adv7511_get_fmt() 1269 format->format.xfer_func = state->xfer_func; in adv7511_get_fmt() 1318 fmt->xfer_func = format->format.xfer_func; in adv7511_set_fmt() 1343 state->xfer_func = format->format.xfer_func; in adv7511_set_fmt()
|
/linux/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.h | 100 enum v4l2_xfer_func xfer_func; member
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 878 mp->xfer_func = pix->xfer_func; in fmt_sp2mp() 908 pix->xfer_func = mp->xfer_func; in fmt_sp2mp_func()
|
/linux/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 104 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 266 .xfer_func = V4L2_XFER_FUNC_DEFAULT,
|