Matrix-Based Intra Prediction Downsampling for Lower Codec Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing matrix-based intra prediction methods in video coding, such as those used in Versatile Video Coding (VVC), suffer from increased computational complexity and latency due to the process of averaging boundary samples for downsampling, which also results in misalignment of reduced boundary samples with the matrix multiplication unit (MMU) output, leading to inefficiencies.

Innovation Solution

The proposed solution involves downsampling input boundary samples to generate reduced boundary samples that align with the MMU output, either through filtering or selective sampling without averaging, and performing matrix multiplication and linear interpolation in parallel to reduce complexity and latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If boundary samples are averaged for downsampling in matrix based intra prediction, then prediction accuracy is improved, but computational complexity and latency increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts only the necessary boundary samples for downsampling without performing full averaging operations. Specifically, it selects every fourth boundary sample directly from the original boundary samples to form the downsampled boundary samples, eliminating the need for complex averaging calculations while maintaining sufficient prediction accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of averaging multiple boundary samples to produce downsampled samples (conventional approach), the patent inverts the approach by directly selecting specific boundary samples at regular intervals. This inversion simplifies the downsampling process from a complex averaging operation to a simple sampling operation, reducing computational complexity while maintaining prediction quality.

Inventive Principle:
Principle #13The other way round (Inversion)

2Measurement precision

If boundary samples are averaged for downsampling, then prediction quality is improved, but processing time increases

Engineering Contradiction:
Improveprediction qualityVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts only the necessary boundary samples for downsampling without performing full averaging operations. Specifically, it selects every fourth boundary sample directly from the original boundary samples to form the downsampled boundary samples, eliminating the need for complex averaging calculations while maintaining sufficient prediction accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent skips the time-consuming averaging operations by directly selecting boundary samples at regular intervals (every fourth sample). This rushing through the downsampling process using simple selection instead of complex averaging significantly reduces processing time while maintaining adequate prediction quality.

Inventive Principle:
Principle #21Skipping (Rushing through)

3Measurement precision

If reduced boundary samples are derived through two-step averaging process, then prediction accuracy is maintained, but latency increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidlatency
Core Design Contradiction:
Measurement precisionVSDuration of action of moving object

Solution Approach 1:

The patent segments the boundary sampling process into direct selection of every fourth sample, eliminating the need for two-step averaging. This segmentation approach breaks down the complex two-step averaging process into a simpler single-step direct sampling operation, reducing latency while maintaining prediction accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary selection of boundary samples at regular intervals before the matrix multiplication operation. By pre-selecting every fourth boundary sample in advance, the patent eliminates the need for subsequent averaging operations, reducing overall processing latency while maintaining the necessary prediction accuracy.

Inventive Principle:
Principle #10Preliminary action

4Measurement precision

If averaging is used to derive reduced boundary samples, then prediction quality is improved, but the number of operations increases

Engineering Contradiction:
Improveprediction qualityVSAvoidnumber of operations
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent extracts only the necessary boundary samples for downsampling without performing full averaging operations. Specifically, it selects every fourth boundary sample directly from the original boundary samples to form the downsampled boundary samples, eliminating the need for complex averaging calculations while maintaining sufficient prediction accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces the expensive averaging operation with a cheap direct sampling operation. By selecting boundary samples directly without averaging, the patent uses a computationally inexpensive method that requires minimal operations (simple index selection) compared to the costly averaging process, thereby improving productivity with adequate prediction quality.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Data Source

PatentUS12368858B2Simplified downsampling for matrix based intra prediction
Publication Date: 2025.07.22 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US12368858B2 patent drawing
  • US12368858B2 patent drawing
  • US12368858B2 patent drawing

AI summary

A prediction unit for an encoder or decoder implements matrix based intra prediction. Input boundary samples for a current block are downsampled to obtain reduced boundary samples for matrix multiplication and/or linear interpolation, or both. In one embodiment, downsampling is performed in a manner that aligns the reduced boundary samples with an output of a matrix multiplication unit of the prediction unit. In other embodiments, downsampling is performed without averaging. The embodiments reduce the complexity of the prediction unit and the latency of the encoder or decoder.