Lookahead Video Encoding for Adaptive QG Partition Depth

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video coding standards face inefficiencies due to a global configuration of maximum quantization group partition depth, which fails to adapt to varying encoding complexities within different video scenes, leading to suboptimal compression performance.

Innovation Solution

Implement a Lookahead precoding process to evaluate encoding complexity dynamically by calculating a specified difference function, using SATD metrics, and set reference thresholds to adjust the maximum quantization group partition depth for each frame based on empirical coefficients and image characteristics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a global configuration method is used for maximum QG partition depth, then the encoding process is simple and fast, but the compression performance cannot be optimized for different video scenes

Engineering Contradiction:
Improvecompression performanceVSAvoidconfiguration complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies dynamics by transitioning from a static global configuration of maximum QG partition depth to a dynamic per-frame configuration. The system now determines the maximum QG partition depth separately for each frame based on its specific characteristics, allowing the encoding parameters to adapt dynamically to varying video content complexity and achieve optimized compression performance for each scene.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements parameter changes by modifying the maximum QG partition depth parameter on a per-frame basis rather than using a fixed global value. The system calculates and sets different maximum QG partition depth values for each frame according to its complexity, thereby optimizing the quantization process for each specific video scene and improving overall compression efficiency.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If a per-frame dynamic configuration of maximum QG partition depth is implemented, then compression performance is optimized for each scene, but the encoding complexity and processing time increase

Engineering Contradiction:
Improvecompression efficiencyVSAvoidencoding time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by performing analysis and determination of the maximum QG partition depth before the actual encoding process begins. The system pre-determines the optimal maximum QG partition depth for each frame based on its characteristics, so that when encoding starts, the parameters are already optimized and ready, minimizing the time overhead during the encoding process itself.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If the maximum QG partition depth is determined in advance before encoding, then the encoding process is straightforward, but it cannot adapt to varying content complexity in different scenes

Engineering Contradiction:
Improveadaptability to different scenesVSAvoidparameter determination complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies local quality by determining the maximum QG partition depth at the frame level rather than using a uniform global setting. Each frame is analyzed independently and assigned its own optimal maximum QG partition depth based on its specific content characteristics, allowing the system to adapt to varying scene complexity locally while maintaining a manageable determination process for each individual frame.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250350738A1Image processing method and system, apparatus, and storage medium
Publication Date: 2025.11.13 SHANGHAI BILIBILI TECH CO LTD
  • US20250350738A1 patent drawing
  • US20250350738A1 patent drawing
  • US20250350738A1 patent drawing

AI summary

The application discloses an image processing method. The method includes: performing a Lookahead precoding on an image to-be-processed, and obtaining a specified difference function resulting from the Lookahead precoding; determining an encoding complexity of the image based on the specified difference function, thereby dynamically configuring a maximum quantization group partition depth of the image; and formally encoding the image by using the maximum quantization group partition depth. The application further discloses an image processing system, an electronic apparatus, and a computer-readable storage medium.