Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/ti/vpe/
H 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/Documentation/userspace-api/media/v4l/
H A Dpixfmt-srggb8-pisp-comp.rst32 Mode 1 uses a quantization and delta-based coding scheme which preserves up to
41 The two LS bits of each 32-bit word give its "quantization mode".
43 In quantization mode 0, the lowest 321 quantization levels are multiples of
45 Quantization modes 1 and 2 use linear quantization with step sizes of
48 In quantization mode 2 where the middle two samples have quantized values
50 followed by 7 bits for (q2 & 127). Otherwise, for quantization modes
55 on its inner neighbour q1 or q2. In quantization mode 2 where the inner
57 (q0-384). Otherwise for quantization modes 0, 1 and 2: The outer sample
H A Dcolorspaces-details.rst17 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
83 The default quantization is limited range, but full range is possible
95 quantization is limited range. The chromaticities of the primary colors
157 The default quantization is limited range, but full range is possible
197 As seen by the xvYCC formulas these encodings always use limited range quantization,
212 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited range.
214 Note that the :ref:`sycc` standard specifies full range quantization,
217 would break how applications interpret the quantization range.
279 170M/BT.601. The Y'CbCr quantization is limited range.
290 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
[all …]
H A Dcolorspaces-defs.rst11 default Y'CbCr encoding and the default quantization method. The second
16 non-standard Y'CbCr encodings and the fourth is the quantization
18 specify non-standard quantization methods. Most of the time only the
32 .. note:: The default R'G'B' quantization is full range for all
164 - Use the default quantization encoding as defined by the
168 - Use the full range quantization encoding. I.e. the range [0…1] is
174 - Use the limited range quantization encoding. I.e. the range [0…1]
H A Dext-ctrls-codec.rst596 Encoder will decide the appropriate quantization parameter and
1170 Specify the offset that should be added to the luma quantization
1171 parameter to determine the chroma quantization parameter. Applicable
1221 the quantization parameter for each frame type is constant and set
1224 enabled then quantization parameter is adjusted to meet the chosen
1225 bitrate. Minimum and maximum value for the quantization parameter
1242 Minimum quantization parameter for H263. Valid range: from 1 to 31.
1245 Maximum quantization parameter for H263. Valid range: from 1 to 31.
1260 Minimum quantization parameter for H264. Valid range: from 0 to 51.
1263 Maximum quantization parameter for H264. Valid range: from 0 to 51.
[all …]
H A Dpixfmt-v4l2.rst183 - ``quantization``
189 this field for a capture stream to request a specific quantization
191 conversion, it will return another supported quantization.
192 The driver indicates that quantization conversion is supported by setting
233 ``ycbcr_enc``, ``hsv_enc`` or ``quantization``) is set to ``*_DEFAULT``,
235 So in order to change the quantization, only the ``quantization`` field shall
H A Dext-ctrls-dv.rst81 Select the quantization range for RGB output. V4L2_DV_RANGE_AUTO
82 follows the RGB quantization range specified in the standard for the
140 Select the quantization range for RGB input. V4L2_DV_RANGE_AUTO
141 follows the RGB quantization range specified in the standard for the
H A Dext-ctrls-jpeg.rst71 quantization tables. In cases where a driver uses quantization tables
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-av1.h107 __print_flags(__entry->f.quantization.flags, "|",
111 __entry->f.quantization.base_q_idx,
112 __entry->f.quantization.delta_q_y_dc,
113 __entry->f.quantization.delta_q_u_dc,
114 __entry->f.quantization.delta_q_u_ac,
115 __entry->f.quantization.delta_q_v_dc,
116 __entry->f.quantization.delta_q_v_ac,
117 __entry->f.quantization.qm_y,
118 __entry->f.quantization.qm_u,
119 __entry->f.quantization.qm_v,
[all …]
H A Dvisl-trace-fwht.h23 __field(u32, quantization)
34 __entry->quantization = p->quantization;
52 __entry->quantization)
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-common.c297 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()
339 if (source_fmt.quantization != V4L2_QUANTIZATION_DEFAULT && in vimc_vdev_link_validate()
340 sink_fmt.quantization != V4L2_QUANTIZATION_DEFAULT && in vimc_vdev_link_validate()
341 source_fmt.quantization != sink_fmt.quantization) in vimc_vdev_link_validate()
H A Dvimc-common.h60 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \
65 if ((fmt)->quantization > V4L2_QUANTIZATION_LIM_RANGE) \
66 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \
H A Dvimc-sensor.c112 tpg_s_quantization(&vsensor->tpg, format->quantization); in vimc_sensor_tpg_s_format()
158 mf->colorspace, mf->quantization, in vimc_sensor_set_fmt()
162 fmt->format.colorspace, fmt->format.quantization, in vimc_sensor_set_fmt()
H A Dvimc-scaler.c172 fmt->quantization = format->format.quantization; in vimc_scaler_set_fmt()
/linux/include/media/tpg/
H 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/Documentation/admin-guide/media/
H 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]
H A Drkisp1.rst193 The driver supports limited and full range quantization on YUV formats,
197 isp (`rkisp1_isp:2`). The quantization configured on this pad is the
198 quantization of the captured video frames on the mainpath and selfpath
201 ``V4L2_QUANTIZATION_DEFAULT`` even if the quantization is configured to full
202 range on `rkisp1_isp:2`. So in order to get the configured quantization,
/linux/drivers/media/test-drivers/vicodec/
H 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()
H A Dcodec-v4l2-fwht.h42 enum v4l2_quantization quantization; member
H A Dcodec-fwht.h75 __be32 quantization; member
/linux/drivers/staging/media/imx/
H 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/drivers/media/platform/allegro-dvt/
H 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()
H A Dnal-hevc.h418 static inline int nal_hevc_full_range(enum v4l2_quantization quantization) in nal_hevc_full_range() argument
420 switch (quantization) { in nal_hevc_full_range()
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta.h81 enum v4l2_quantization quantization; member
146 enum v4l2_quantization quantization; member
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c106 pix->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, pix->colorspace, in _sun4i_csi_try_fmt()
265 .quantization = V4L2_QUANTIZATION_DEFAULT,

12