Video Encoder Block Size Restriction for Lossless Coding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video encoding and decoding techniques face complexity issues due to differences in scanning values between lossless and lossy coding modes, which can increase the complexity of video encoders and decoders without minimal impact on coding accuracy.
Innovation Solution
A video encoder is configured to restrict the maximum scanning size of blocks, setting it to 64×64 for lossy mode and 32×32 for lossless mode, allowing for minimal impact on coding accuracy while reducing complexity by enabling lossless mode with a specific maximum scanning size in both lossy and lossless modes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the maximum block size for lossless coding is set to 64×64 to maintain coding accuracy, then the coding accuracy is preserved, but the complexity of the video encoder and decoder increases
Solution Approach 1:
The patent applies local quality by differentiating block size handling based on coding mode. For lossless coding, the maximum block size is restricted to 32×32, while for lossy coding, the full 64×64 block size is permitted. This localized adaptation of block size parameters to specific coding modes resolves the contradiction by optimizing the balance between coding accuracy and computational complexity in each respective mode.
Solution Approach 2:
The patent changes the parameter of maximum transform block size based on the coding mode flag. When lossless mode is detected, the maximum block size parameter is changed from 64×64 to 32×32. This dynamic parameter adjustment resolves the technical contradiction by adapting the block size to the requirements of the specific coding mode, reducing complexity for lossless while preserving accuracy where needed.
2Measurement precision
If different maximum block sizes are used for lossless and lossy coding modes, then coding accuracy is optimized for each mode, but the device complexity increases due to mode-specific processing
Solution Approach 1:
The patent implements universality by creating a unified processing path that handles both lossless and lossy modes through the same maximum block size restriction of 32×32. The system checks the coding mode flag and applies the appropriate block size limit, but the underlying processing architecture remains unified. This resolves the contradiction by eliminating the need for separate processing pipelines while maintaining mode-optimized performance.
Data Source
AI summary
A method of decoding video data includes receiving a value indicating that a lossless mode is enabled for a block of the video data and, in response to determining that the value indicates that the lossless mode is enabled for the block of the video data, determining a maximum size for a lossless-coded transform block of the block of the video data is set to a maximum scanning size of the non-lossless coding block. The method further includes inverse scanning residual values for the block of the video data based on the maximum size for the lossless-coded transform block to generate a residual block for the block of the video data and reconstructing the block of the video data based on the residual block.


