Hash-Based Encoder Decisions for Block Matching and Scene Changes
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video encoding techniques face challenges in efficiently handling large numbers of blocks for matching, motion vector precision decisions, and scene change detection, particularly in screen capture content, leading to decreased performance and inaccurate scene change detection.
Innovation Solution
Incorporating hash-based block matching for building hash tables, determining motion vector resolution, and scene change detection to improve encoder-side decisions, including categorizing blocks and using scene change information for selecting reference pictures and adjusting picture quality during encoding.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional block matching techniques are used to match blocks in video encoding, then motion compensation can be performed, but the computational complexity increases significantly when a large number of blocks need to be stored or matched
Solution Approach 1:
The patent replaces traditional mechanical block matching operations with a hash-based indexing system. Instead of directly comparing blocks using complex computational operations, the system uses hash functions to generate indices and retrieve blocks from reference picture buffers, significantly reducing computational complexity while maintaining matching accuracy
Solution Approach 2:
The patent introduces hash tables and index structures as intermediary data structures between the block matching process and the reference picture buffers. These intermediaries organize and accelerate the retrieval of candidate blocks, reducing the direct computational burden of matching large numbers of blocks
2Manufacturing precision
If motion vector precision is increased to improve encoding accuracy, then better compression performance is achieved, but the bit rate and computational complexity increase
Solution Approach 1:
The patent implements dynamic motion vector precision adjustment based on content characteristics. The system analyzes reference picture availability and block matching results to adaptively select between integer-pixel and sub-pixel precision modes, optimizing the balance between accuracy and efficiency for different video content regions
Solution Approach 2:
The patent changes the precision parameter of motion vectors based on encoding conditions. When reference pictures are available and block matching indicates benefit, sub-pixel precision (e.g., 1/4 pixel) is used; otherwise, integer-pixel precision is used, dynamically adjusting the parameter to optimize encoding efficiency
3Reliability
If traditional scene change detection techniques are used, then scene transitions can be identified, but detection accuracy decreases for screen capture content with graphical overlays and transitions
Solution Approach 1:
The patent applies different detection strategies to different regions and types of content. For screen capture content with graphical overlays, the system uses hash-based block matching to detect uniform regions and their transitions, while for natural video content, traditional pixel-based methods are used, making the detection system adaptable to various content types with high accuracy
4Speed
If all candidate blocks are stored in hash tables for efficient retrieval, then block matching speed improves, but memory consumption increases
Solution Approach 1:
The patent extracts and stores only the essential information needed for block matching in hash tables - specifically hash indices and reference picture buffer pointers - rather than storing complete block data. This extraction approach enables fast retrieval through hash indexing while minimizing memory consumption by storing only the minimum necessary data structures
Data Source
AI summary
Innovations in encoder-side decisions that use the results of hash-based block matching are presented. For example, some of the innovations relate to ways of building hash tables that include some (but not all) uniform blocks. Other innovations relate to ways of determining motion vector resolution based on results of hash-based block matching. Still other innovations relate to scene change detection, including long-term reference picture selection and picture quality determination during encoding.


