Deblocking Filter Integration in Video Encoding Loop
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video coding technologies, such as HEVC, apply deblocking filters outside the coding loop, preventing the use of filtered pixels for encoding mode selection, which can lead to inaccurate rate-distortion cost calculations and suboptimal encoding decisions.
Innovation Solution
The proposed solution involves reconstructing pixels, applying a deblocking filter, and calculating distortion values based on both original and deblocking-filtered pixels to select an appropriate encoding mode for video blocks, thereby improving the accuracy of encoding mode selection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Object-affected harmful factors
If deblocking filter is applied outside the coding loop, then blocking artifacts are reduced, but encoding mode selection accuracy deteriorates
Solution Approach 1:
The deblocking filter is applied earlier in the encoding process, before rate-distortion cost calculation and encoding mode selection, rather than after reconstruction. This preliminary application allows the filtered pixel values to inform encoding decisions, improving mode selection accuracy while still achieving blocking artifact reduction in the final output
2Measurement precision
If deblocking-filtered pixels are used for encoding mode selection, then encoding decision accuracy is improved, but computational complexity increases
Solution Approach 1:
The deblocking filter is applied selectively to specific block boundaries based on local characteristics such as boundary strength and pixel variation, rather than uniformly to all blocks. This localized approach reduces the overall computational burden while still improving encoding decisions at critical boundaries where blocking artifacts are most likely to occur
Data Source
AI summary
A video encoder reconstructs pixels of a current block and applies a deblocking filter to the reconstructed pixels of the current block to derive deblocking-filtered reconstructed pixels of the current block. Furthermore, the video encoder calculates distortion values based on values of the deblocking-filtered reconstructed pixels of the current block and original pixels of the current block. The video encoder selects, based on the calculated distortion values, an encoding mode for the current block. The encoding mode for the current block is a partitioning mode for the current block or a coding unit mode for the current block.


