Home
last modified time | relevance | path

Searched refs:xfer_func (Results 1 – 25 of 142) sorted by relevance

123456

/Linux-v6.6/include/media/
Dv4l2-mediabus.h189 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()
Dv4l2-common.h576 static inline bool v4l2_is_xfer_func_valid(__u32 xfer_func) in v4l2_is_xfer_func_valid() argument
578 return xfer_func > V4L2_XFER_FUNC_DEFAULT && in v4l2_is_xfer_func_valid()
579 xfer_func < V4L2_XFER_FUNC_LAST; in v4l2_is_xfer_func_valid()
/Linux-v6.6/drivers/media/test-drivers/visl/
Dvisl-trace-fwht.h21 __field(u32, xfer_func)
32 __entry->xfer_func = p->xfer_func;
51 __entry->colorspace, __entry->xfer_func, __entry->ycbcr_enc,
Dvisl-video.c68 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-v6.6/drivers/media/test-drivers/vimc/
Dvimc-common.c295 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()
Dvimc-common.h61 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \
67 if ((fmt)->xfer_func > V4L2_XFER_FUNC_SMPTE2084) \
68 (fmt)->xfer_func = V4L2_XFER_FUNC_DEFAULT; \
Dvimc-sensor.c124 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-v6.6/drivers/media/platform/allegro-dvt/
Dnal-h264.h336 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()
Dnal-hevc.h458 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-v6.6/drivers/media/v4l2-core/
Dv4l2-dv-timings.c904 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()
976 c.xfer_func = V4L2_XFER_FUNC_OPRGB; in v4l2_hdmi_rx_colorimetry()
981 c.xfer_func = V4L2_XFER_FUNC_709; in v4l2_hdmi_rx_colorimetry()
[all …]
/Linux-v6.6/include/media/tpg/
Dv4l2-tpg.h162 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-v6.6/drivers/i2c/
Di2c-core-smbus.c557 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-v6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-isp.c446 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()
Drkisp1-resizer.c415 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-v6.6/drivers/media/platform/renesas/rzg2l-cru/
Drzg2l-ip.c126 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-v6.6/drivers/media/platform/st/sti/delta/
Ddelta-v4l2.c260 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()
Ddelta.h79 enum v4l2_xfer_func xfer_func; member
144 enum v4l2_xfer_func xfer_func; member
/Linux-v6.6/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c275 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()
Dvicodec-core.c248 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()
Dcodec-v4l2-fwht.h41 enum v4l2_xfer_func xfer_func; member
Dcodec-fwht.h73 __be32 xfer_func; member
/Linux-v6.6/drivers/staging/media/imx/
Dimx-media-utils.c413 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()
Dimx-media-csc-scaler.c228 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-v6.6/drivers/media/platform/st/stm32/dma2d/
Ddma2d.c373 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-v6.6/drivers/media/platform/st/sti/hva/
Dhva-v4l2.c112 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()

123456