Video Coefficient Context Modeling With Distance-Weighted Bin Classes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video coding methods use a fixed local pattern to calculate context models for entropy coding, which may not achieve the most efficient compression due to inadequate consideration of the distance from the current block and fixed number of context models, leading to inaccurate probability predictions and increased bit usage.

Innovation Solution

Adaptive context modeling that takes into account the distance from the current block, uses cross-bin dependencies, and flexibly controls the local template size and number of context models to improve the accuracy of entropy coding by dynamically selecting the most appropriate context model based on the video characteristics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If a fixed local pattern is used to calculate the context model, then the calculation process is simple, but the compression efficiency is insufficient due to inaccurate probability predictions

Engineering Contradiction:
Improvecalculation simplicityVSAvoidcompression efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent transforms the fixed local pattern into a dynamic adaptive pattern that adjusts based on video content characteristics. The context model calculation adapts to different regions and content types, allowing the system to maintain calculation simplicity while significantly improving compression efficiency through content-aware probability predictions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameters of the local pattern by introducing distance-weighted coefficients and adaptive template sizes. Instead of using a fixed pattern, the system dynamically adjusts the pattern parameters based on the distance from the current block and the local video content characteristics, resolving the contradiction between simplicity and efficiency.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If a fixed number of context models is used, then the model management is simple, but the prediction accuracy is insufficient for diverse video characteristics

Engineering Contradiction:
Improvemodel management complexityVSAvoidprediction accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent implements a dynamic context model selection mechanism that adapts the number of context models based on video content characteristics. The system automatically adjusts the model count and selection based on local patterns, maintaining simple model management while achieving high prediction accuracy for diverse video content through adaptive model allocation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies different numbers and types of context models to different regions of the video content based on local characteristics. Instead of using a uniform fixed number of models throughout, the system tailors the context model configuration to local video patterns, improving prediction accuracy while keeping overall system complexity manageable through localized adaptation.

Inventive Principle:
Principle #3Local quality

3Speed

If distance from the current block is not considered, then the context model calculation is fast, but the probability prediction is inaccurate

Engineering Contradiction:
Improvecalculation speedVSAvoidprobability prediction accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent introduces distance as a dynamic parameter in the context model calculation by applying distance-weighted coefficients to neighboring blocks. This allows the system to maintain fast calculation speed through efficient distance-based weighting while significantly improving probability prediction accuracy by giving appropriate emphasis to closer blocks that have higher correlation with the current block.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11113846B2Coefficient context modeling in video coding
Publication Date: 2021.09.07 HULU LLC
  • US11113846B2 patent drawing
  • US11113846B2 patent drawing
  • US11113846B2 patent drawing

AI summary

In some embodiments, a method determines a plurality of classes of bins that are used to determine a context model for entropy coding of a current block in a video. The method calculates a first value for a first class of bins in the plurality of classes of bins and calculates a second value for a second class of bins in the plurality of classes of bins. The first value for the first class of bins is weighted by a first weight to generate a weighted first value and the second value for the second class of bins is weighted by a second weight to generate a weighted second value. The method then selects a context model based on the first weighted value and the second weighted value.