Block-Based Video Encoder Quantization for Bitrate-Quality Balance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video encoders face a challenge in balancing video quality and the size of output encoded data, as higher bitrate generally improves quality but increases data size, while lower bitrate degrades quality and reduces data size.
Innovation Solution
An encoder system with a quantization circuit, quantized data adjustment circuit, and encoding circuit that adjusts quantization parameters and coefficients based on block optimization levels to generate optimized encoded data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If the output bitrate of the encoder is increased, then the video quality is improved, but the size of the output encoded data becomes larger
Solution Approach 1:
The frame is divided into multiple blocks, and each block is processed independently with its own quantization parameters. This allows different regions of the video to be encoded at different quality levels, enabling quality improvement in important regions without proportionally increasing the total data size.
Solution Approach 2:
Different quantization parameters are applied to different blocks based on their optimization levels. Blocks with higher optimization levels receive more aggressive quantization (lower quality) while blocks with lower optimization levels maintain higher quality. This local differentiation allows overall data size reduction while preserving quality where it matters most.
2Quantity of substance
If the output bitrate of the encoder is decreased, then the size of the output encoded data is reduced, but the video quality deteriorates
Solution Approach 1:
The encoder applies different quantization strengths to different blocks based on their optimization levels. Less important blocks are aggressively compressed while important blocks maintain higher quality. This allows significant overall data size reduction while preserving acceptable quality in critical regions.
Solution Approach 2:
The quantization parameters are dynamically adjusted for each block based on its optimization level and other factors. This dynamic adaptation allows the encoder to optimize the balance between quality and data size on a block-by-block basis, achieving better overall compression efficiency than uniform quantization.
Data Source
AI summary
The present invention provides an encoder including a quantization circuit, a quantized data adjustment circuit and an encoding circuit. The quantization circuit is configured to perform a quantization operation on multiple blocks of current frame data in sequence, to generate multiple quantized data respectively corresponding to the multiple blocks. For each of the multiple blocks in the current frame data, the quantized data adjustment circuit adjusts multiple coefficients in the quantized data corresponding to the block according to an optimization level of the block, to generate adjusted quantized data. The encoding circuit is configured to encode the adjusted quantized data of each of the multiple blocks to generate encoded data.


