Encoding Mode Decision Using Temporal Spatial Complexity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing video compression techniques, such as H.264/AVC, face increased calculation complexity due to the rate-distortion optimization process, which hinders real-time encoding performance despite improved compression efficiency.
Innovation Solution
An encoding mode decision apparatus and method that calculates temporal and spatial complexities to selectively determine the optimal encoding mode, reducing the number of rate-distortion cost calculations and minimizing complexity by classifying block modes based on size and directional features.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If rate-distortion optimization is performed to determine the optimal encoding mode, then compression performance is improved, but calculation complexity increases significantly
Solution Approach 1:
The patent segments the macroblock into different partition types (16x16, 16x8, 8x16, 8x8) and applies different complexity reduction strategies to each partition type. This segmentation allows the system to perform rate-distortion optimization selectively on relevant partitions while skipping unnecessary calculations on others, thereby reducing overall calculation complexity while maintaining compression performance.
Solution Approach 2:
The patent applies partial rate-distortion optimization by calculating RD costs only for certain encoding modes based on motion vector differences and partition characteristics. Instead of performing exhaustive RD optimization on all modes for all partitions, the system performs partial optimization on selected modes, achieving acceptable compression performance with significantly reduced computational burden.
2Measurement precision
If rate-distortion optimization is performed for all encoding modes, then encoding accuracy is improved, but real-time encoding capability deteriorates
Solution Approach 1:
The patent performs preliminary classification of macroblocks based on motion vector differences and partition types before performing rate-distortion optimization. By pre-identifying which partitions and modes are likely to benefit from RD optimization, the system avoids unnecessary calculations and maintains real-time encoding capability while preserving encoding accuracy for critical regions.
Solution Approach 2:
The patent applies different levels of encoding accuracy to different regions of the macroblock based on local characteristics. High-accuracy rate-distortion optimization is applied only to partitions with significant motion or complex content, while low-accuracy or skipped optimization is applied to simple regions. This local differentiation maintains overall encoding quality while enabling real-time processing.
Data Source
Figure 1A~1B
Figure 2
Figure 3
AI summary
A method and apparatus for deciding an encoding mode are disclosed. The encoding mode decision apparatus comprises a temporal complexity calculator to calculate a temporal complexity of a macroblock and a mode decider to elect the encoding mode utilizing the temporal complexity. The disclosure calculates the temporal and spatial complexes for the macroblocks more accurately as well as elects the optimal encoding mode using the same resulting in a reduction of the calculation complexity when applying the rate-distortion technique along with an improvement of its processing speed.