Video Coding Restrictions on Picture Width and Height
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video encoding technologies, such as H.265/HEVC, face challenges in efficiently handling different YUV formats, particularly in restricting the height and width of video data to remove 2×2, 2×4, and 4×2 chroma blocks, which is not effectively addressed for formats other than YUV 4:2:0.
Innovation Solution
A method and system for coding a video sequence by determining the YUV format and restricting the height and width of luma samples based on the format, using a Size Restriction Program that adjusts the picture parameters to eliminate these chroma blocks, thereby improving encoding efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If video encoding uses standard H.265/HEVC without format-specific restrictions, then compatibility with existing standards is maintained, but encoding efficiency is reduced due to inability to remove unwanted chroma blocks in non-4:2:0 formats
Solution Approach 1:
The patent applies parameter changes by modifying picture width and height values based on the detected YUV format. For 4:4:4 format, the patent restricts picture width to be divisible by 2 and picture height to be divisible by 2, thereby removing 2×2 chroma blocks. For 4:2:2 format, it restricts picture width to be divisible by 4, removing 2×4 chroma blocks. These parameter adjustments enable efficient chroma block removal tailored to each format without requiring complex additional processing structures.
2Loss of substance
If video encoding removes all chroma blocks to improve compression, then data size is reduced, but color information is lost which degrades video quality
Solution Approach 1:
The patent applies local quality by selectively removing chroma blocks based on their position and the specific YUV format. Instead of uniformly removing all chroma blocks or none, the patent strategically removes only 2×2 chroma blocks in 4:4:4 format and 2×4 chroma blocks in 4:2:2 format, while preserving other chroma blocks. This localized approach optimizes compression by removing redundant chroma information in specific regions while maintaining color accuracy in critical areas.
3Ease of operation
If video encoding processes all YUV formats uniformly, then implementation is simpler, but encoding efficiency is compromised for formats other than 4:2:0
Solution Approach 1:
The patent applies dynamics by making the encoding process adaptive to the detected YUV format. The system dynamically adjusts picture width and height restrictions based on whether the input is 4:4:4, 4:2:2, or 4:2:0 format. This dynamic approach allows the encoder to optimize for each format's specific characteristics, improving encoding efficiency for non-4:2:0 formats while maintaining a relatively simple implementation through a unified detection-and-adjustment framework.
Data Source
AI summary
A method, computer program, and computer system is provided for coding a video sequence. Video data comprising one or more luma samples is received. A YUV format associated with the received video data is determined. A height setting value and a width setting value corresponding to the one or more luma samples are restricted based on the determined YUV format. The YUV format may include a YUV4:4:4 format, a YUV4:2:2 format, a YUV4:2:0 format, and a YUV4:0:0 format.


