Parallel CABAC Decoding for Real-Time HD Video

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional H.264 video codec systems face difficulties in real-time high definition video decoding due to the laborious and time-consuming serial process of context adaptive binary arithmetic-coding (CABAC), which requires significant calculations and limits decode rates.

Innovation Solution

The implementation of a parallel processing system that performs context calculations alongside arithmetic decoding, using a state machine for partial syntax element decoding and a multiplexer to select context information, allowing for faster access and higher decode speeds without full decoding of previous macroblocks or syntax elements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If serial arithmetic decoding process is used as in conventional H.264 CABAC, then decoding accuracy is maintained, but decoding speed becomes too slow for real-time high definition video

Engineering Contradiction:
Improvedecoding speedVSAvoidtime consumption in arithmetic decode operation
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent performs context calculations in advance before the actual arithmetic decoding operation. By pre-computing context information for binary bins, the system eliminates the need to perform these calculations during the critical decoding path, thereby significantly reducing the time required for each arithmetic decode operation while maintaining accurate context information availability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent divides the decoding process into separate functional units: one dedicated to context calculation and another to arithmetic decoding. This segmentation allows context models to be updated and prepared independently from the actual bin decoding operations, enabling parallel execution and eliminating the serial bottleneck that limited conventional CABAC implementations.

Inventive Principle:
Principle #1Segmentation

2Reliability

If full decode of previous macroblocks is performed to provide neighbor context information, then context accuracy is improved, but the period between decoding operations is increased

Engineering Contradiction:
Improvecontext information accuracyVSAvoidCABAC decode rate
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system pre-calculates and stores context information for neighboring macroblocks before the actual decoding of the current macroblock begins. This preliminary preparation ensures that accurate neighbor context is immediately available when needed, without requiring a full re-decode of previous macroblocks during the critical decoding path, thus maintaining context reliability while improving decode throughput.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If conventional serial CABAC decoding is implemented, then implementation simplicity is maintained, but the system cannot achieve maximal decode speeds supported by VLSI technology

Engineering Contradiction:
ImproveCABAC decode speedVSAvoidparallel processing architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a segmented architecture where context calculation functions are separated from arithmetic decoding functions. This segmentation enables independent optimization of each module and allows them to operate in parallel,充分利用VLSI technology's parallel processing capabilities to achieve maximal decode speeds while keeping each individual module relatively simple and manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediate data structures and buffers to facilitate parallel operation between context calculation and arithmetic decoding modules. These intermediaries enable efficient data exchange between parallel processes without creating complex synchronization requirements, thus achieving high-speed parallel processing while maintaining implementation clarity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7983343B2Context adaptive binary arithmetic decoding for high definition video
Publication Date: 2011.07.19 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US7983343B2 patent drawing
  • US7983343B2 patent drawing
  • US7983343B2 patent drawing

AI summary

An apparatus comprising a first circuit and a second circuit. The first circuit may be configured to present a video signal and macroblock data in response to decoding one or more bins on a binary signal. The second circuit may be configured to, in parallel (i) generate the binary signal in response to a bitstream signal and an initial context information and (ii) calculate subsequent context information.