Home
last modified time | relevance | path

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

12345

/linux/include/media/
A Dv4l2-mediabus.h146 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 Dv4l2-common.h569 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 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()
A Dvimc-common.h54 (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 Dvimc-sensor.c124 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 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()
A 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/drivers/media/v4l2-core/
A Dv4l2-dv-timings.c882 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 Dv4l2-tpg.h162 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 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()
606 mbus->xfer_func = image->pix.xfer_func; in imx_media_ipu_image_to_mbus_fmt()
A 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/drivers/i2c/
A Di2c-core-smbus.c556 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 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()
A Ddelta.h79 enum v4l2_xfer_func xfer_func; member
144 enum v4l2_xfer_func xfer_func; member
/linux/drivers/media/test-drivers/vicodec/
A Dvicodec-core.c248 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 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()
A Dcodec-v4l2-fwht.h41 enum v4l2_xfer_func xfer_func; member
A Dcodec-fwht.h73 __be32 xfer_func; member
/linux/drivers/media/platform/sti/hva/
A 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()
/linux/drivers/staging/media/hantro/
A Dhantro_v4l2.c324 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 Dmtk_vcodec_enc.c505 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 Dvim2m.c223 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 Dadv7511-v4l2.c109 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 Dvivid-vid-common.c822 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 Dimx-pxp.c216 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()

Completed in 70 milliseconds

12345