Video Encoding Rate Control via Zero-Residue Pre-Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video compression algorithms, such as TMN-8, face challenges in accurately determining quantization parameters due to macroblocks with zero or very small residual energy, leading to inefficient bit allocation and distortion in rate control, especially under low bit-rate conditions.

Innovation Solution

The Zero-Residue Pre-Selection (ZRPS) scheme classifies macroblocks based on anticipated transform coefficients after quantization, selectively applying rate control only to non-zero residue blocks, thereby improving bit allocation and reducing complexity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If rate control is applied to all macroblocks including zero-residue blocks, then bit allocation accuracy is maintained, but processing complexity increases and encoding efficiency decreases

Engineering Contradiction:
Improveencoding speedVSAvoidbit allocation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments macroblocks into two categories: zero-residue macroblocks and non-zero-residue macroblocks. Zero-residue macroblocks are identified and excluded from rate control processing, while non-zero-residue macroblocks undergo full rate control analysis. This segmentation allows the system to maintain bit allocation accuracy for important blocks while improving encoding speed by skipping unnecessary processing of zero-residue blocks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and identifies zero-residue macroblocks from the overall macroblock set using a residue detection mechanism. These extracted zero-residue blocks are then removed from the rate control processing pipeline, allowing the encoder to focus computational resources only on non-zero-residue blocks that actually contribute to the bitstream, thereby improving encoding efficiency without compromising overall quality.

Inventive Principle:
Principle #2Taking out (Extraction)

2Manufacturing precision

If quantization parameters are determined for all macroblocks, then distortion is minimized, but processing time and complexity increase

Engineering Contradiction:
Improvevideo qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary residue detection on macroblocks before applying full rate control processing. By detecting zero-residue macroblocks in advance and marking them for exclusion, the system avoids unnecessary quantization parameter calculations for blocks that would not contribute to the encoded output, thereby reducing processing time while maintaining video quality through proper handling of non-zero-residue blocks.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If rate control processing is applied uniformly to all blocks, then encoding consistency is maintained, but encoding efficiency decreases under low bit-rate conditions

Engineering Contradiction:
Improveencoding efficiencyVSAvoidencoding consistency
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent applies different processing treatments to different types of macroblocks based on their local characteristics. Zero-residue macroblocks receive minimal processing (exclusion from rate control), while non-zero-residue macroblocks receive full rate control processing. This local quality approach allows the encoder to adapt processing intensity to the actual content requirements of each block, improving overall encoding efficiency especially under low bit-rate conditions where every bit counts.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8442113B2Effective rate control for video encoding and transcoding
Publication Date: 2013.05.14 THE HONG KONG UNIV OF SCI & TECH
  • US8442113B2 patent drawing
  • US8442113B2 patent drawing
  • US8442113B2 patent drawing

AI summary

The quantization factor for each block of pixels in an image or video encoding or transcoding method is determined. The blocks of pixels are classified according to predefined criteria and the blocks are processed according to the resulting classification. The predefined criteria include, for example, anticipated characteristics of the blocks after quantization, such as the transform coefficients after quantization and/or the total number of non-zero transform coefficients.