Video Encoder QP Setting for Consistent Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video coding standards, such as HEVC, while effective in compressing video data, still require further reduction in bit rate without compromising picture quality, and there is a need for consistent Quantization Parameter (QP) settings between encoder and decoder sides to ensure efficient encoding and decoding processes.

Innovation Solution

A method and apparatus for setting a basic QP for each coding unit (CU) in a video encoder, where the QP is determined based on the type of CU (luma, luma-chroma, or chroma) and adjusted based on residual presence, ensuring consistency with decoder-side QP results by modifying QP values accordingly during the encoding process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If video compression ratio is increased to reduce bit rate, then network bandwidth consumption is reduced, but picture quality deteriorates

Engineering Contradiction:
Improvebit rateVSAvoidpicture quality
Core Design Contradiction:
Loss of energyVSManufacturing precision

Solution Approach 1:

The patent applies different QP offset adjustment strategies to different CU types (luma, luma-chroma, chroma) and different residual conditions within the same quantization group. By locally adapting QP settings based on CU type and residual presence, the encoder optimizes compression efficiency for each region while maintaining overall picture quality, resolving the contradiction between bit rate reduction and quality preservation.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically adjusts QP offsets based on runtime conditions including CU type determination and residual presence detection. The QP modification is not static but adapts to the actual encoding state, allowing the system to achieve better compression ratios while maintaining quality by making real-time decisions about where to apply quantization adjustments.

Inventive Principle:
Principle #15Dynamics

2Productivity

If QP settings are optimized for encoder side, then encoding efficiency is improved, but decoder side consistency deteriorates

Engineering Contradiction:
Improveencoding efficiencyVSAvoidencoder-decoder consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the encoder determines CU types and residual presence, then applies QP offsets that are subsequently decoded by the decoder using the same logic. The bitstream contains information about CU types and residual conditions that enables the decoder to replicate the encoder's QP adjustment decisions, ensuring consistency while maintaining encoding efficiency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent modifies QP parameters dynamically based on CU type and residual conditions, then communicates these modifications through the bitstream. By changing QP parameters adaptively and ensuring both encoder and decoder use the same modification rules, the system achieves improved encoding efficiency while maintaining reliability through consistent parameter interpretation at both ends.

Inventive Principle:
Principle #35Parameter changes

3Loss of energy

If video compression is increased beyond HEVC, then bit rate is reduced further, but encoding complexity increases

Engineering Contradiction:
Improvebit rateVSAvoidencoding complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The patent segments the quantization process by CU type (luma, luma-chroma, chroma) and by residual condition (presence/absence). This segmentation allows independent optimization of QP settings for each segment without requiring complex global optimization algorithms, reducing encoding complexity while achieving better compression than HEVC through targeted local adjustments.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12108040B2Video encoder and QP setting method
Publication Date: 2024.10.01 HUAWEI TECH CO LTD
  • US12108040B2 patent drawing
  • US12108040B2 patent drawing
  • US12108040B2 patent drawing

AI summary

This application discloses a quantization parameter (QP) setting method includes: determining that a current coding unit (CU) is a chroma CU; and separately performing the following processing on at least one luma CU: when the at least one luma CU has no residual, and both a previous luma CU and a luma-chroma CU that have been encoded before the at least one luma CU in the current quantization group (QG) have no residual, modifying a basic QP of the at least one luma CU to a predictive QP; setting a basic QP of the current CU to the basic QP of the at least one luma CU corresponding to the preset position of the current CU; and performing encoding processing on the current CU based on the basic QP of the current CU.