Video Coefficient Quantization Using Scalar and Trellis Coding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional scalar quantization methods independently process transform coefficients, reducing the effectiveness of subsequent entropy coding and overall encoding efficiency due to a lack of consideration for correlations between coefficients, leading to suboptimal compression during entropy coding.

Innovation Solution

Implementing trellis coded quantization (TCQ) that generates and evaluates different permutations of quantization indices based on a cost function balancing distortion and entropy coding efficiency, allowing for improved compression during entropy coding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If scalar quantization is applied independently to each transform coefficient, then the quantization process is simple and computationally efficient, but the effectiveness of subsequent entropy coding is substantially reduced and overall encoding efficiency decreases

Engineering Contradiction:
Improvesimplicity of quantization processVSAvoidoverall encoding efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent merges scalar quantization with trellis coded quantization by performing both operations on transform coefficients. The TCQ component considers correlations between adjacent coefficients and uses a trellis structure to generate quantization indices that exploit these correlations, while the scalar quantization component provides a baseline quantization. This combination allows the system to capture inter-coefficient relationships for improved entropy coding efficiency while maintaining the computational simplicity of scalar quantization through the separate processing paths.

Inventive Principle:
Principle #5Merging (Combining)

2Loss of substance

If scalar quantization is used to reduce precision of transform coefficients, then data compression is achieved, but correlations between transform coefficients are not accounted for and opportunities for increased compression during entropy coding are lost

Engineering Contradiction:
Improvedata compressionVSAvoidcorrelation information between coefficients
Core Design Contradiction:
Loss of substanceVSLoss of information

Solution Approach 1:

The patent introduces trellis coded quantization as an intermediary layer between the transform coefficients and entropy coding. The TCQ process analyzes correlations between adjacent transform coefficients and uses a trellis structure to generate quantization indices that preserve these correlation relationships. This intermediary processing step ensures that the quantization indices maintained correlation information, which then enables more effective entropy coding by exploiting the remaining correlations in the quantized data.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If different transform coefficients are mapped to different quantization indices during scalar quantization, then individual coefficient precision is maintained, but the values are not effectively compressed during entropy coding and overall encoding efficiency is reduced

Engineering Contradiction:
Improveindividual coefficient precisionVSAvoidentropy coding compression efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies dynamic quantization strategies by using trellis coded quantization to adaptively determine quantization indices based on the relationships between adjacent coefficients. The TCQ trellis structure dynamically selects quantization paths that optimize both individual coefficient representation and inter-coefficient correlations. This dynamic approach allows the system to maintain individual coefficient precision where needed while simultaneously creating patterns in the quantization indices that enhance entropy coding compression efficiency.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250358421A1Techniques for performing both scalar quantization and trellis coded quantization when encoding video data
Publication Date: 2025.11.20 NETFLIX INC
  • US20250358421A1 patent drawing
  • US20250358421A1 patent drawing
  • US20250358421A1 patent drawing

AI summary

In various embodiments, an encoder receives transform coefficients of prediction residues associated with video data. The encoder performs scalar quantization operations on the transform coefficients to generate first indices. The encoder performs trellis coded quantization operations on a first vector that includes the transform coefficients to generate a second vector that includes second indices. The encoder determines a first cost function value based on a third vector that includes the first indices and a second cost function value based on the second vector. The encoder sets a fourth vector that includes a plurality of quantization indices equal to either the second vector or the third vector based on whether the second cost function value is less than the first cost function value. The encoder performs entropy coding operations on the fourth vector to generate encoded video data.