Optical Flow Refinement Early Termination for Video Decoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Bi-predictive optical flow refinement in video coding is computationally expensive, leading to a compromise between accurate inter prediction and computational load.

Innovation Solution

A method is implemented where optical flow refinement is performed conditionally, based on a preset condition involving the calculated matching cost, to determine whether the refinement process should be executed, thereby reducing unnecessary computational efforts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If bi-predictive optical flow refinement is performed, then the accuracy of inter prediction is improved, but the computational load increases

Engineering Contradiction:
Improveaccuracy of inter predictionVSAvoidcomputational load
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies partial action by performing optical flow refinement selectively rather than universally. A refinement process is triggered only when specific conditions are met (e.g., motion complexity thresholds, block type criteria), allowing the system to obtain refinement benefits for difficult cases while avoiding unnecessary computations for simple cases, thus resolving the contradiction between prediction accuracy and computational load

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameter of refinement application from binary (always/never) to conditional (when parameters indicate need). By monitoring parameters such as motion vector differences, block size, and prediction mode, the system dynamically adjusts whether refinement is applied, optimizing the balance between accuracy improvement and computational expenditure

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If optical flow refinement is performed for all blocks, then the inter prediction accuracy is improved, but the decoding time increases

Engineering Contradiction:
Improveinter prediction accuracyVSAvoiddecoding time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements partial action by applying optical flow refinement only to a subset of blocks that meet specific criteria rather than all blocks. This selective approach reduces the total number of refinement operations performed, thereby decreasing decoding time while maintaining prediction accuracy for the most beneficial cases

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system uses self-service by having each block evaluate its own characteristics (motion complexity, prediction mode, block size) to determine whether it requires refinement. This self-assessment mechanism allows the decoder to autonomously decide which blocks need refinement, reducing overall decoding time without external control overhead

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250175609A1Early termination for optical flow refinement
Publication Date: 2025.05.29 HUAWEI TECH CO LTD
  • US20250175609A1 patent drawing
  • US20250175609A1 patent drawing
  • US20250175609A1 patent drawing

AI summary

It is provided a method of video coding implemented in a decoding device or an encoding device, the method comprising: obtaining initial motion vectors for a current block; obtaining first predictions for a sample value in the current block based on the initial motion vectors; calculating a first matching cost according to the first predictions; determining whether an optical flow refinement process should be performed or not, according to at least one preset condition, the at least one preset condition comprising a condition of whether the calculated first matching cost is equal to or larger than a threshold value; and performing an optical flow refinement process for obtaining a final inter prediction for the sample value in the current block, when it is determined that the optical flow refinement process should be performed.