Adaptive Dead-Zone Quantization for Video Codec Coefficients

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video encoding standards, such as H.264, assume a Laplacian distribution of DCT AC coefficients for quantization, which is not always accurate, leading to poor subjective and objective performance, especially at high bitrates and in applications like film grain content, due to the use of a 4×4 transform and aggressive dead-zoning.

Innovation Solution

Adaptive dead-zone quantization in video encoders and decoders that considers coefficient positions and distributions, allowing for dynamic adjustment of dead-zone parameters and quantization matrices based on image characteristics and step sizes, and the use of additional quantization offsetting matrices to refine the quantization process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If Laplacian distribution assumption is used for quantization, then quantization process is simplified, but quality deteriorates for certain content types like film grain

Engineering Contradiction:
Improvequantization process complexityVSAvoidquantization quality
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent applies dynamics by transitioning from a static Laplacian distribution assumption to a dynamic Gaussian distribution model that adapts to different content characteristics. The system dynamically switches between quantization modes (first and second quantization modes) based on content type detection, allowing the quantization process to adapt its behavior rather than relying on a fixed distribution assumption. This resolves the contradiction by maintaining simplicity through mode-based classification while improving quality through content-adaptive Gaussian modeling.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the distribution parameter from Laplacian to Gaussian, which fundamentally alters how quantization step sizes are calculated. By using Gaussian distribution parameters (mean and standard deviation) instead of Laplacian parameters, the system can better model content with different statistical characteristics, particularly film grain content. This parameter change enables more accurate quantization while maintaining computational efficiency through closed-form Gaussian probability density function calculations.

Inventive Principle:
Principle #35Parameter changes

2Speed

If 4×4 transform is used, then processing speed increases, but coefficient distribution modeling becomes inaccurate

Engineering Contradiction:
Improveprocessing speedVSAvoidcoefficient distribution accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent changes the mathematical model from Laplacian to Gaussian distribution parameters, which provides more accurate modeling of coefficient distributions even when using 4×4 transforms. The Gaussian distribution with its mean and standard deviation parameters captures the statistical characteristics of transform coefficients more accurately than Laplacian, enabling better quantization decisions while maintaining the speed benefits of 4×4 processing.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If dead-zoning is applied, then compression efficiency improves, but quality deteriorates at high bitrates

Engineering Contradiction:
Improvecompression efficiencyVSAvoidreconstruction quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies dynamics by implementing adaptive dead-zoning through multiple quantization modes. The system dynamically adjusts whether to apply dead-zoning based on the detected content type and operating bitrate. At high bitrates, the system may disable or reduce dead-zoning to preserve quality, while at lower bitrates it can apply more aggressive dead-zoning for efficiency. This dynamic adaptation resolves the contradiction between compression efficiency and reconstruction quality.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the quantization parameter selection based on content characteristics and bitrate conditions. By using Gaussian distribution parameters to calculate optimal quantization step sizes and adaptively adjusting dead-zone parameters, the system can optimize the balance between compression efficiency and quality for different operating conditions, rather than using a fixed approach.

Inventive Principle:
Principle #35Parameter changes

4Ease of manufacture

If fixed quantization matrices are used, then implementation simplicity increases, but adaptability to different content decreases

Engineering Contradiction:
Improveimplementation simplicityVSAvoidcontent adaptability
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent applies dynamics by implementing adaptive quantization matrices that change based on content type detection. The system maintains multiple sets of quantization parameters and dynamically selects or generates appropriate matrices for different content characteristics (e.g., film grain vs. other content). This dynamic approach provides content adaptability while maintaining implementation simplicity through automated detection and selection mechanisms rather than complex manual configuration.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8542731B2Method and apparatus for video codec quantization
Publication Date: 2013.09.24 INTERDIGITAL MADISON PATENT HLDG
  • US8542731B2 patent drawing
  • US8542731B2 patent drawing
  • US8542731B2 patent drawing

AI summary

An encoder, a decoder, and corresponding methods are provided for encoding and decoding video signal data for an image block. The encoder includes a quantizer for receiving transform coefficients for the image block, and for adaptively performing dead-zone quantization based on coefficient positions and coefficient distributions of the transform coefficients.