Hybrid Mode Decision Algorithm for Video Codec Computational Load

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional video encoders face high computational complexity and resource requirements due to exhaustive searches for optimal coding modes, which can lead to degraded video quality or increased memory usage, especially in resource-constrained devices like portable electronic devices.

Innovation Solution

Implementing a hybrid-mode decision algorithm that combines pre-mode and post-mode decision processes, where pre-mode decisions are made based on neighboring macroblocks' coding modes using a majority vote or weighted interlaced patterns to reduce the number of exhaustive searches, thereby decreasing computational complexity without compromising video quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If exhaustive search of all coding modes is performed to ensure optimal video quality, then video quality is improved, but computational complexity and hardware resource requirements increase significantly

Engineering Contradiction:
Improvevideo qualityVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent performs preliminary classification of macroblocks into homogeneous and heterogeneous regions before encoding. By analyzing neighboring macroblock types and using majority voting or weighted interlaced patterns, the system pre-determines the likely optimal coding mode for each macroblock, avoiding exhaustive search in homogeneous regions while maintaining quality in heterogeneous regions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the video sequence into different macroblock types (intra-coded, inter-coded, skipped) and applies different coding mode decision strategies to each segment. Homogeneous macroblocks use simplified mode decision based on neighbors, while heterogeneous macroblocks use more comprehensive evaluation, allowing quality optimization without uniform complexity across all blocks.

Inventive Principle:
Principle #1Segmentation

2Manufacturing precision

If exhaustive search of all coding modes is performed to ensure optimal video quality, then video quality is improved, but hardware resource consumption increases

Engineering Contradiction:
Improvevideo qualityVSAvoidhardware resource consumption
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary classification of macroblocks into homogeneous and heterogeneous regions before encoding. By analyzing neighboring macroblock types and using majority voting or weighted interlaced patterns, the system pre-determines the likely optimal coding mode for each macroblock, avoiding exhaustive search in homogeneous regions while maintaining quality in heterogeneous regions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies partial exhaustive search only where necessary (heterogeneous macroblocks with high motion activity or complex edges) while using simplified mode decision for homogeneous regions. This partial application of the computationally intensive method maintains video quality where needed while reducing overall hardware resource consumption.

Inventive Principle:
Principle #16Partial or excessive action

3Device complexity

If simplified mode decision is used to reduce computational complexity, then hardware resource requirements are reduced, but video quality may be degraded

Engineering Contradiction:
Improvecomputational complexityVSAvoidvideo quality
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent applies different levels of mode decision complexity to different spatial regions and macroblock types. Homogeneous regions with smooth content use simplified mode decision based on neighboring blocks, while heterogeneous regions with edges, motion, or complex patterns use more comprehensive evaluation. This local adaptation maintains video quality in critical regions while reducing complexity elsewhere.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically adjusts the mode decision strategy based on local image characteristics. By evaluating neighboring macroblock types and detecting homogeneous versus heterogeneous regions, the system adapts the complexity of mode evaluation to match local content requirements, ensuring quality is maintained where needed while optimizing performance elsewhere.

Inventive Principle:
Principle #15Dynamics

4Manufacturing precision

If exhaustive search of all coding modes is performed, then optimal coding mode is found, but processing time increases

Engineering Contradiction:
Improvecoding mode optimizationVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary classification of macroblocks into homogeneous and heterogeneous regions before encoding. By analyzing neighboring macroblock types and using majority voting or weighted interlaced patterns, the system pre-determines the likely optimal coding mode for each macroblock, avoiding exhaustive search in homogeneous regions while maintaining quality in heterogeneous regions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the video sequence into different macroblock types (intra-coded, inter-coded, skipped) and applies different coding mode decision strategies to each segment. Homogeneous macroblocks use simplified mode decision based on neighbors, while heterogeneous macroblocks use more comprehensive evaluation, allowing quality optimization without uniform complexity across all blocks.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7881386B2Methods and apparatus for performing fast mode decisions in video codecs
Publication Date: 2011.02.01 QUALCOMM INC
  • US7881386B2 patent drawing
  • US7881386B2 patent drawing
  • US7881386B2 patent drawing

AI summary

Methods and apparatus are presented for reducing the computational complexity of coding mode decisions by exploiting the correlations across spatially and/or temporally close coding mode decisions. A mode decision for a current macroblock is based on the mode decisions of spatially and/or temporarily close macroblocks.