Functions

vp9_get_ac_quant (qindex, delta_q_ac, bit_depth)

vp9_get_dc_quant (qindex, delta_q_dc, bit_depth)

vp9_get_qindex (segmentation_params, quantization_params, segment_id)

vp9_seg_feature_active (params, segment_id, feature)

Details

GstCodecs.vp9_get_ac_quant(qindex, delta_q_ac, bit_depth)
Parameters:
  • qindex (int) – the quantizer index

  • delta_q_ac (int) – a delta_q_ac value

  • bit_depth (int) – coded bit depth

Returns:

the quantizer value for the ac coefficient

Return type:

int

An implementation of “ac_q” function specified in “8.6.1 Dequantization functions”

New in version 1.20.

GstCodecs.vp9_get_dc_quant(qindex, delta_q_dc, bit_depth)
Parameters:
  • qindex (int) – the quantizer index

  • delta_q_dc (int) – a delta_q_dc value

  • bit_depth (int) – coded bit depth

Returns:

the quantizer value for the dc coefficient

Return type:

int

An implementation of “dc_q” function specified in “8.6.1 Dequantization functions”

New in version 1.20.

GstCodecs.vp9_get_qindex(segmentation_params, quantization_params, segment_id)
Parameters:
Returns:

the quantizer index

Return type:

int

An implementation of “get_qindex” function specfied in “8.6.1 Dequantization functions”

New in version 1.20.

GstCodecs.vp9_seg_feature_active(params, segment_id, feature)
Parameters:
Returns:

True if feature is active

Return type:

bool

An implementation of “seg_feature_active” function specified in “6.4.9 Segmentation feature active syntax”

New in version 1.20.