/linux/include/media/ |
A D | v4l2-mediabus.h | 145 pix_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format() 167 mbus_fmt->quantization = pix_fmt->quantization; in v4l2_fill_mbus_format() 188 pix_mp_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format_mplane() 208 mbus_fmt->quantization = pix_mp_fmt->quantization; in v4l2_fill_mbus_format_mplane()
|
A D | v4l2-common.h | 586 static inline bool v4l2_is_quant_valid(__u8 quantization) in v4l2_is_quant_valid() argument 588 return quantization == V4L2_QUANTIZATION_FULL_RANGE || in v4l2_is_quant_valid() 589 quantization == V4L2_QUANTIZATION_LIM_RANGE; in v4l2_is_quant_valid()
|
/linux/drivers/media/platform/ti-vpe/ |
A D | csc.c | 26 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/ |
A D | colorspaces-details.rst | 16 ``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 D | colorspaces-defs.rst | 10 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 D | ext-ctrls-codec.rst | 595 Encoder will decide the appropriate quantization parameter and 1169 Specify the offset that should be added to the luma quantization 1198 the quantization parameter for each frame type is constant and set 1201 enabled then quantization parameter is adjusted to meet the chosen 1202 bitrate. Minimum and maximum value for the quantization parameter 2134 Minimum quantization parameter for VP8. 2137 Maximum quantization parameter for VP8. 2248 Minimum quantization parameter for HEVC. 2252 Maximum quantization parameter for HEVC. 2347 Indicates quantization parameter for hierarchical coding layer 0. [all …]
|
A D | pixfmt-v4l2.rst | 182 - ``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
|
A D | ext-ctrls-dv.rst | 80 Select the quantization range for RGB output. V4L2_DV_RANGE_AUTO 81 follows the RGB quantization range specified in the standard for the 139 Select the quantization range for RGB input. V4L2_DV_RANGE_AUTO 140 follows the RGB quantization range specified in the standard for the
|
/linux/drivers/media/test-drivers/vimc/ |
A D | vimc-common.c | 295 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 D | vimc-common.h | 53 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \ 58 if ((fmt)->quantization > V4L2_QUANTIZATION_LIM_RANGE) \ 59 (fmt)->quantization = V4L2_QUANTIZATION_DEFAULT; \
|
/linux/drivers/media/platform/ |
A D | imx-pxp.c | 313 enum v4l2_quantization quantization; in pxp_setup_csc() local 464 quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_setup_csc() 467 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc() 472 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc() 477 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc() 482 if (quantization == V4L2_QUANTIZATION_FULL_RANGE) in pxp_setup_csc() 677 quantization = ctx->q_data[V4L2_M2M_DST].quant; in pxp_setup_csc() 1098 f->fmt.pix.quantization = q_data->quant; in pxp_g_fmt() 1151 enum v4l2_quantization *quantization) in pxp_fixup_colorimetry_cap() argument 1162 *quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_fixup_colorimetry_cap() [all …]
|
/linux/include/media/tpg/ |
A D | v4l2-tpg.h | 176 u32 quantization; member 405 static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization) in tpg_s_quantization() argument 407 if (tpg->quantization == quantization) in tpg_s_quantization() 409 tpg->quantization = quantization; in tpg_s_quantization() 415 return tpg->quantization; in tpg_g_quantization()
|
/linux/drivers/staging/media/imx/ |
A D | imx-media-utils.c | 415 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() 608 mbus->quantization = image->pix.quantization; in imx_media_ipu_image_to_mbus_fmt()
|
A D | imx-media-csc-scaler.c | 229 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()
|
/linux/Documentation/admin-guide/media/ |
A D | imx7.rst | 117 … [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 D | rkisp1.rst | 186 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/drivers/media/platform/sti/delta/ |
A D | delta-v4l2.c | 262 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 D | delta.h | 81 enum v4l2_quantization quantization; member 146 enum v4l2_quantization quantization; member
|
/linux/drivers/media/test-drivers/vicodec/ |
A D | vicodec-core.c | 250 ctx->state.quantization = ntohl(p_hdr->quantization); in update_state_from_header() 547 ctx->state.quantization = ntohl(p_hdr->quantization); in update_capture_data_from_header() 794 pix->quantization = ctx->state.quantization; in vidioc_g_fmt() 813 pix_mp->quantization = ctx->state.quantization; in vidioc_g_fmt() 911 pix->quantization = ctx->state.quantization; in vidioc_try_fmt_vid_cap() 922 pix_mp->quantization = ctx->state.quantization; in vidioc_try_fmt_vid_cap() 1120 ctx->state.quantization = pix->quantization; in vidioc_s_fmt_vid_out() 1127 ctx->state.quantization = pix_mp->quantization; in vidioc_s_fmt_vid_out() 1778 p_hdr->quantization = htonl(params->quantization); in update_header_from_stateless_params()
|
A D | codec-v4l2-fwht.c | 277 p_hdr->quantization = htonl(state->quantization); in v4l2_fwht_encode() 332 state->quantization = ntohl(state->header.quantization); in v4l2_fwht_decode()
|
/linux/drivers/media/platform/allegro-dvt/ |
A D | nal-h264.h | 276 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()
|
A D | nal-hevc.h | 417 static inline int nal_hevc_full_range(enum v4l2_quantization quantization) in nal_hevc_full_range() argument 419 switch (quantization) { in nal_hevc_full_range()
|
/linux/drivers/media/platform/sti/hva/ |
A D | hva-v4l2.c | 114 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()
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_v4l2.c | 323 fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in hantro_reset_fmt() 463 ctx->dst_fmt.quantization = pix_mp->quantization; in hantro_set_fmt_out() 525 ctx->src_fmt.quantization = pix_mp->quantization; in hantro_set_fmt_cap()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-common.h | 308 enum v4l2_quantization quantization; member 484 enum v4l2_quantization quantization);
|