Video Data Cache for Motion-Compensated Decoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data caches are inefficient in reducing the number of DRAM cycles required for motion-compensated image prediction in digital video compression and decompression, leading to high costs and poor performance due to variability in motion vectors and fractional pixel filters, which result in excessive DRAM accesses and cache inefficiencies.

Innovation Solution

A video data cache system that compares target addresses to memory address ranges, uses logic to determine cache presence, and provides data words from a cache or DRAM accordingly, optimizing memory access by reducing unnecessary DRAM reads and minimizing cache size through efficient tag block organization and pipelined address checking.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If conventional data caches are used for motion-compensated image prediction, then the cache structure is simple, but the number of DRAM cycles required is very high

Engineering Contradiction:
Improvecache structureVSAvoidDRAM cycles
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent divides the reference picture into multiple regions based on motion vector analysis. Each region is independently managed in the cache, allowing selective loading and reducing unnecessary DRAM accesses. The segmentation enables the system to handle variable motion patterns efficiently without requiring a complete cache refresh.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary actions by predicting motion vectors and pre-loading required reference picture regions into the cache before they are actually needed for prediction. This speculative loading reduces the number of DRAM cycles by anticipating future memory access needs based on motion compensation analysis.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If motion compensation with fractional pixel filters is used, then prediction accuracy is improved, but the number of pixels needed from reference image increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidnumber of pixels needed
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies local quality by analyzing motion vectors at different spatial locations and adjusting the cache management strategy accordingly. Regions with higher motion activity are prioritized for caching, while static regions are handled differently. This localized approach maintains prediction accuracy for critical areas while reducing overall memory requirements.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses partial action by loading only the necessary portions of the reference picture into the cache based on motion vector analysis, rather than loading the entire reference picture. This selective loading reduces the quantity of pixels transferred while maintaining sufficient data for accurate motion-compensated prediction.

Inventive Principle:
Principle #16Partial or excessive action

3Quantity of substance

If reference pictures are stored in DRAM, then memory capacity is sufficient, but access speed is slow

Engineering Contradiction:
Improvememory capacityVSAvoidaccess speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent introduces an intermediary cache layer between the DRAM storage and the motion compensation unit. This cache acts as a mediator that stores frequently accessed reference picture regions at faster access speed, while the larger DRAM capacity provides the ultimate storage reservoir. The intermediary cache resolves the contradiction by providing both speed and capacity through its hierarchical structure.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Ease of manufacture

If conventional CPU data caches are used, then implementation is straightforward, but they are not efficient for video decoding

Engineering Contradiction:
Improveimplementation simplicityVSAvoidvideo decoding efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent changes key parameters of the cache system including cache size, associativity, and replacement policies to optimize for video decoding workloads. By adjusting these parameters based on motion vector statistics and reference picture usage patterns, the system achieves high productivity while maintaining reasonable implementation complexity through parameter optimization rather than fundamental redesign.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9137541B2Video data cache
Publication Date: 2015.09.15 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US9137541B2 patent drawing
  • US9137541B2 patent drawing
  • US9137541B2 patent drawing

AI summary

System(s) and method(s) for a video data cache are presented herein. During decoding, the video decoder fetches portions of a reference frame. The video data cache is first checked for the portions of the reference frame. If the portion of the reference frame is found in the video data cache, the portion is fetched from the video data cache. The foregoing avoids a DRAM fetch and cycles associated with the DRAM fetch.