Encoding Mode Decision Using Temporal Spatial Complexity

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvecompression performanceVSAvoidcalculation complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #16Partial or excessive action

2Measurement precision

If rate-distortion optimization is performed for all encoding modes, then encoding accuracy is improved, but real-time encoding capability deteriorates

Engineering Contradiction:
Improveencoding accuracyVSAvoidreal-time encoding capability
Core Design Contradiction:
Measurement precisionVSProductivity

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.

Inventive Principle:
Principle #10Preliminary action

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.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP2242276B1Method and apparatus for determining encoding mode based on temporal and spatial complexity
Publication Date: 2018.11.21 SK PLANET CO LTD
  • EP2242276B1 patent drawingFigure 1A~1B
  • EP2242276B1 patent drawingFigure 2
  • EP2242276B1 patent drawingFigure 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.