Adaptive Quantization for Video Compression Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video coding methods employ fixed quantization parameters, leading to inconsistent distortion across macroblocks, as they do not adapt to the varying spatial activity within a picture, resulting in suboptimal compression efficiency.

Innovation Solution

A method that uses a look-ahead encoding pass to calculate activity metrics for each macroblock, sorting them, and adjusting the quantization parameter (Qp) based on accumulated bit costs to categorize macroblocks into low, medium, and high activity categories, allowing for dynamic Qp adjustments to optimize bit allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If fixed quantization parameter is used, then device complexity is reduced, but picture quality deteriorates due to inconsistent distortion across macroblocks

Engineering Contradiction:
Improvequantization control complexityVSAvoidpicture quality
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The picture is divided into multiple macroblocks, and each macroblock is further categorized into activity categories (low, medium, high). This segmentation allows different quantization parameters to be applied to different regions, resolving the contradiction by enabling quality optimization without requiring complex global control mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different quantization parameters are applied to different macroblocks based on their spatial activity characteristics. Low activity macroblocks receive lower Qp values for better quality, while high activity macroblocks receive higher Qp values. This local adaptation improves overall picture quality without requiring complex system-wide control.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If adaptive quantization is applied, then picture quality is improved, but device complexity increases due to additional processing requirements

Engineering Contradiction:
Improvepicture qualityVSAvoidquantization control complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

A look-ahead encoding pass is performed before the actual encoding to calculate activity metrics and determine category assignments for each macroblock. This preliminary action prepares all necessary information in advance, allowing the main encoding to proceed efficiently without complex real-time decision-making, thus reducing the perceived complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention uses a simplified look-ahead encoding pass that copies essential information (activity metrics, bit costs) without requiring a full encoding simulation. This copying approach provides sufficient data for category assignment while avoiding the complexity of complete re-encoding.

Inventive Principle:
Principle #26Copying

3Productivity

If aggressive adaptive quantization is used, then compression efficiency is improved, but distortion in high activity areas increases

Engineering Contradiction:
Improvecompression efficiencyVSAvoiddistortion control
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The quantization parameter Qp is dynamically changed based on macroblock activity category. Low activity macroblocks use lower Qp values (e.g., Qp-2 to Qp-4) for better quality, while high activity macroblocks use higher Qp values (e.g., Qp+2 to Qp+4) to control distortion. This parameter adaptation achieves both compression efficiency and distortion control.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The quantization parameter is made dynamic rather than fixed, allowing it to adapt to local picture characteristics. The system dynamically adjusts Qp values based on real-time activity assessment, enabling aggressive compression in appropriate areas while maintaining quality where needed.

Inventive Principle:
Principle #15Dynamics

4Productivity

If too many macroblocks are assigned to low activity category, then compression efficiency improves, but distortion in high activity areas increases

Engineering Contradiction:
Improvecompression efficiencyVSAvoiddistortion distribution
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The look-ahead encoding pass provides feedback information about bit costs and activity metrics for each macroblock. This feedback is used to make informed decisions about category assignment, ensuring that the distribution of macroblocks across categories optimizes both compression efficiency and distortion control.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The invention applies partial adaptive quantization by assigning macroblocks to different activity categories rather than applying uniform quantization. This partial application of adaptive techniques to specific regions achieves compression efficiency improvements without the excessive distortion that would result from uniform aggressive quantization across the entire picture.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9049446B2Adaptive quantization based on bit ratio
Publication Date: 2015.06.02 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US9049446B2 patent drawing
  • US9049446B2 patent drawing
  • US9049446B2 patent drawing

AI summary

There is provided a method of adapting a Quantization parameter of digitally encoded video, comprising using a look-ahead encoding pass to provide look-ahead bit costs for each macroblock in a picture of interest, calculating an activity metric for each macroblock in the picture of interest, determining at least an accumulated look-ahead bit cost threshold for a low macroblock activity category, wherein the low macroblock activity category comprises macroblocks having an activity metric below a pre-determined level, sorting the macroblocks according to the calculated activity metrics of each macroblock to provide sorted macroblocks, adding sorted macroblocks to the low macroblock activity category in ascending activity order and accumulating bit costs of the added sorted macroblocks up to the determined accumulated look-ahead bit cost threshold, and applying a change in quantization parameter, Qp, to the macroblocks of the picture of interest comprising decreasing the Qp value of the macroblocks in the low macroblock activity category.