Home
last modified time | relevance | path

Searched refs:quantization (Results 1 – 25 of 147) sorted by relevance

123456

/linux-6.3-rc2/include/media/
A Dv4l2-mediabus.h188 pix_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format()
210 mbus_fmt->quantization = pix_fmt->quantization; in v4l2_fill_mbus_format()
231 pix_mp_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format_mplane()
251 mbus_fmt->quantization = pix_mp_fmt->quantization; in v4l2_fill_mbus_format_mplane()
A Dv4l2-common.h591 static inline bool v4l2_is_quant_valid(__u8 quantization) in v4l2_is_quant_valid() argument
593 return quantization == V4L2_QUANTIZATION_FULL_RANGE || in v4l2_is_quant_valid()
594 quantization == V4L2_QUANTIZATION_LIM_RANGE; in v4l2_is_quant_valid()
/linux-6.3-rc2/drivers/media/platform/ti/vpe/
A Dcsc.c26 struct quantization { struct
31 struct quantization limited; argument
32 struct quantization full;
156 src_quantization = mp->quantization; in csc_set_coeff()
161 src_quantization = pix->quantization; in csc_set_coeff()
168 dst_quantization = mp->quantization; in csc_set_coeff()
173 dst_quantization = pix->quantization; in csc_set_coeff()
/linux-6.3-rc2/drivers/media/test-drivers/visl/
A Dvisl-trace-fwht.h23 __field(u32, quantization)
34 __entry->quantization = p->quantization;
52 __entry->quantization)
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dcolorspaces-details.rst16 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
82 The default quantization is limited range, but full range is possible
156 The default quantization is limited range, but full range is possible
216 would break how applications interpret the quantization range.
278 170M/BT.601. The Y'CbCr quantization is limited range.
289 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
295 would break how applications interpret the quantization range.
347 170M/BT.601. The Y'CbCr quantization is limited range.
417 [-0.5…0.5]. The Y'CbCr quantization is limited range.
440 range [-0.5…0.5]. The Yc'CbcCrc quantization is limited range.
[all …]
A Dcolorspaces-defs.rst10 default Y'CbCr encoding and the default quantization method. The second
15 non-standard Y'CbCr encodings and the fourth is the quantization
17 specify non-standard quantization methods. Most of the time only the
31 .. note:: The default R'G'B' quantization is full range for all
163 - Use the default quantization encoding as defined by the
167 - Use the full range quantization encoding. I.e. the range [0…1] is
173 - Use the limited range quantization encoding. I.e. the range [0…1]
A Dext-ctrls-codec.rst595 Encoder will decide the appropriate quantization parameter and
1169 Specify the offset that should be added to the luma quantization
1220 the quantization parameter for each frame type is constant and set
1223 enabled then quantization parameter is adjusted to meet the chosen
1224 bitrate. Minimum and maximum value for the quantization parameter
2156 Minimum quantization parameter for VP8.
2159 Maximum quantization parameter for VP8.
2270 Minimum quantization parameter for HEVC.
2274 Maximum quantization parameter for HEVC.
2369 Indicates quantization parameter for hierarchical coding layer 0.
[all …]
A Dpixfmt-v4l2.rst182 - ``quantization``
188 this field for a capture stream to request a specific quantization
190 conversion, it will return another supported quantization.
191 The driver indicates that quantization conversion is supported by setting
232 ``ycbcr_enc``, ``hsv_enc`` or ``quantization``) is set to ``*_DEFAULT``,
234 So in order to change the quantization, only the ``quantization`` field shall
/linux-6.3-rc2/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()
337 if (source_fmt.quantization != V4L2_QUANTIZATION_DEFAULT && in vimc_vdev_link_validate()
338 sink_fmt.quantization != V4L2_QUANTIZATION_DEFAULT && in vimc_vdev_link_validate()
339 source_fmt.quantization != sink_fmt.quantization) in vimc_vdev_link_validate()
A Dvimc-common.h60 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \
65 if ((fmt)->quantization > V4L2_QUANTIZATION_LIM_RANGE) \
66 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \
/linux-6.3-rc2/include/media/tpg/
A Dv4l2-tpg.h176 u32 quantization; member
406 static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization) in tpg_s_quantization() argument
408 if (tpg->quantization == quantization) in tpg_s_quantization()
410 tpg->quantization = quantization; in tpg_s_quantization()
416 return tpg->quantization; in tpg_g_quantization()
/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-isp.c237 src_frm->quantization, in rkisp1_config_isp()
448 sink_fmt->quantization = V4L2_QUANTIZATION_FULL_RANGE; in rkisp1_isp_init_config()
464 src_fmt->quantization = V4L2_QUANTIZATION_LIM_RANGE; in rkisp1_isp_init_config()
540 src_fmt->quantization = V4L2_QUANTIZATION_LIM_RANGE; in rkisp1_isp_set_src_fmt()
542 src_fmt->quantization = sink_fmt->quantization; in rkisp1_isp_set_src_fmt()
572 if (format->quantization != V4L2_QUANTIZATION_DEFAULT) in rkisp1_isp_set_src_fmt()
573 src_fmt->quantization = format->quantization; in rkisp1_isp_set_src_fmt()
693 sink_fmt->quantization = format->quantization ? : in rkisp1_isp_set_sink_fmt()
703 sink_fmt->quantization = V4L2_QUANTIZATION_FULL_RANGE; in rkisp1_isp_set_sink_fmt()
A Drkisp1-resizer.c417 sink_fmt->quantization = V4L2_QUANTIZATION_LIM_RANGE; in rkisp1_rsz_init_config()
556 sink_fmt->quantization = format->quantization ? : in rkisp1_rsz_set_sink_fmt()
566 sink_fmt->quantization = V4L2_QUANTIZATION_FULL_RANGE; in rkisp1_rsz_set_sink_fmt()
576 src_fmt->quantization = sink_fmt->quantization; in rkisp1_rsz_set_sink_fmt()
/linux-6.3-rc2/drivers/media/platform/nxp/
A Dimx-pxp.c355 enum v4l2_quantization quantization; in pxp_setup_csc() local
506 quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_setup_csc()
509 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc()
514 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc()
519 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc()
524 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc()
719 quantization = ctx->q_data[V4L2_M2M_DST].quant; in pxp_setup_csc()
1202 f->fmt.pix.quantization = q_data->quant; in pxp_g_fmt()
1255 enum v4l2_quantization *quantization) in pxp_fixup_colorimetry_cap() argument
1266 *quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_fixup_colorimetry_cap()
[all …]
/linux-6.3-rc2/drivers/media/platform/renesas/rzg2l-cru/
A Drzg2l-ip.c128 sink_format->quantization = fmt->format.quantization; in rzg2l_cru_ip_set_format()
182 fmt.format.quantization = V4L2_QUANTIZATION_DEFAULT; in rzg2l_cru_ip_init_config()
/linux-6.3-rc2/Documentation/admin-guide/media/
A Dimx7.rst117 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
120 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
199 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
202 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
215 …[fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
A Drkisp1.rst186 The driver supports limited and full range quantization on YUV formats,
190 isp (`rkisp1_isp:2`). The quantization configured on this pad is the
191 quantization of the captured video frames on the mainpath and selfpath
194 ``V4L2_QUANTIZATION_DEFAULT`` even if the quantization is configured to full
195 range on `rkisp1_isp:2`. So in order to get the configured quantization,
/linux-6.3-rc2/drivers/media/test-drivers/vicodec/
A Dcodec-v4l2-fwht.c277 p_hdr->quantization = htonl(state->quantization); in v4l2_fwht_encode()
332 state->quantization = ntohl(state->header.quantization); in v4l2_fwht_decode()
A Dvicodec-core.c250 ctx->state.quantization = ntohl(p_hdr->quantization); in update_state_from_header()
543 ctx->state.quantization = ntohl(p_hdr->quantization); in update_capture_data_from_header()
790 pix->quantization = ctx->state.quantization; in vidioc_g_fmt()
809 pix_mp->quantization = ctx->state.quantization; in vidioc_g_fmt()
907 pix->quantization = ctx->state.quantization; in vidioc_try_fmt_vid_cap()
918 pix_mp->quantization = ctx->state.quantization; in vidioc_try_fmt_vid_cap()
1116 ctx->state.quantization = pix->quantization; in vidioc_s_fmt_vid_out()
1123 ctx->state.quantization = pix_mp->quantization; in vidioc_s_fmt_vid_out()
1774 p_hdr->quantization = htonl(params->quantization); in update_header_from_stateless_params()
/linux-6.3-rc2/drivers/media/platform/st/sti/delta/
A Ddelta-v4l2.c262 frameinfo->quantization = V4L2_QUANTIZATION_DEFAULT; in set_default_params()
272 streaminfo->quantization = V4L2_QUANTIZATION_DEFAULT; in set_default_params()
448 pix->quantization = streaminfo->quantization; in delta_g_fmt_stream()
481 frameinfo->quantization = streaminfo->quantization; in delta_g_fmt_frame()
486 pix->quantization = frameinfo->quantization; in delta_g_fmt_frame()
591 pix->quantization = V4L2_QUANTIZATION_DEFAULT; in delta_try_fmt_frame()
636 ctx->streaminfo.quantization = pix->quantization; in delta_s_fmt_stream()
690 frameinfo.quantization = pix->quantization; in delta_s_fmt_frame()
716 pix->quantization = frameinfo.quantization; in delta_s_fmt_frame()
A Ddelta.h81 enum v4l2_quantization quantization; member
146 enum v4l2_quantization quantization; member
/linux-6.3-rc2/drivers/staging/media/imx/
A Dimx-media-csc-scaler.c229 f->fmt.pix.quantization = q_data->cur_fmt.quantization; in ipu_csc_scaler_try_fmt()
234 f->fmt.pix.quantization = V4L2_QUANTIZATION_DEFAULT; in ipu_csc_scaler_try_fmt()
279 q_data->cur_fmt.quantization = f->fmt.pix.quantization; in ipu_csc_scaler_s_fmt()
285 q_data->cur_fmt.quantization = f->fmt.pix.quantization; in ipu_csc_scaler_s_fmt()
496 if (fmt->quantization == V4L2_QUANTIZATION_DEFAULT) in ipu_image_from_q_data()
A Dimx-media-utils.c415 mbus->quantization = in imx_media_init_mbus_fmt()
511 if (tryfmt->quantization == V4L2_QUANTIZATION_DEFAULT) in imx_media_try_colorimetry()
512 tryfmt->quantization = in imx_media_try_colorimetry()
562 pix->quantization = mbus->quantization; in imx_media_mbus_fmt_to_pix_fmt()
/linux-6.3-rc2/drivers/media/platform/allegro-dvt/
A Dnal-h264.h276 static inline int nal_h264_full_range(enum v4l2_quantization quantization) in nal_h264_full_range() argument
278 switch (quantization) { in nal_h264_full_range()
/linux-6.3-rc2/drivers/media/platform/st/sti/hva/
A Dhva-v4l2.c114 ctx->quantization = V4L2_QUANTIZATION_DEFAULT; in set_default_params()
307 f->fmt.pix.quantization = ctx->quantization; in hva_g_fmt_stream()
326 f->fmt.pix.quantization = ctx->quantization; in hva_g_fmt_frame()
393 pix->quantization = ctx->quantization; in hva_try_fmt_stream()
440 pix->quantization = V4L2_QUANTIZATION_DEFAULT; in hva_try_fmt_frame()
504 ctx->quantization = pix->quantization; in hva_s_fmt_frame()

Completed in 54 milliseconds

123456