SIMD Byte Pattern Search for Video Data Unit Identification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional video stream decompression techniques are resource intensive, particularly in resource-sparse devices like mobile devices, limiting their functionality due to the high computational demands of data unit identification in compressed video streams.

Innovation Solution

Employing prior knowledge and specific byte pattern identification using SIMD operations to efficiently locate data units in compressed video streams, reducing the need for extensive byte-by-byte searches and thereby minimizing resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional byte-by-byte search techniques are used to identify data units in compressed video streams, then measurement precision is maintained, but device complexity and energy consumption increase significantly

Engineering Contradiction:
Improvedata unit identification accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the data unit identification process into two distinct phases: (1) a coarse filtering phase using SIMD operations to identify candidate byte patterns, and (2) a verification phase using byte-by-byte comparison to confirm actual data unit boundaries. This segmentation allows the system to avoid full byte-by-byte searching of entire video streams while maintaining identification accuracy through the verification step.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces the conventional mechanical byte-by-byte search approach with SIMD (Single Instruction Multiple Data) parallel processing operations. This substitution enables simultaneous comparison of multiple byte patterns across the video stream, dramatically reducing computational complexity and energy consumption while maintaining measurement precision through subsequent verification.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If conventional decompression techniques are used, then data unit identification accuracy is maintained, but use of energy increases significantly

Engineering Contradiction:
Improvedata unit identification accuracyVSAvoidenergy consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The identification process is divided into energy-efficient candidate detection using SIMD operations followed by targeted verification only at candidate locations. This segmentation ensures that energy-intensive byte-by-byte verification is performed only when necessary, rather than continuously across the entire video stream, thereby maintaining accuracy while reducing overall energy consumption.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent substitutes energy-intensive sequential byte-by-byte searching with efficient SIMD parallel processing for the initial scan. This replacement dramatically reduces energy consumption by leveraging hardware-optimized parallel operations, while the subsequent verification step ensures identification accuracy is maintained with minimal additional energy cost.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If SIMD operations are used to search for byte patterns, then productivity is improved, but measurement precision may be compromised without verification

Engineering Contradiction:
Improvedata unit identification speedVSAvoiddata unit identification accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the identification process into productivity-optimized SIMD-based candidate detection followed by precision-ensuring byte-by-byte verification. This segmentation allows the system to leverage the speed advantages of SIMD operations for scanning large video streams while maintaining measurement precision through the subsequent verification step that confirms actual data unit boundaries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary verification step that acts as a mediator between the fast but potentially imprecise SIMD search and the accurate but slow byte-by-byte comparison. This intermediary approach allows the system to benefit from the productivity of SIMD operations while ensuring measurement precision through the verification of candidate patterns identified by the SIMD search.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9549196B2Data unit identification for compressed video streams
Publication Date: 2017.01.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9549196B2 patent drawing
  • US9549196B2 patent drawing
  • US9549196B2 patent drawing

AI summary

Data unit identification for compressed video streams is described. In one or more implementations, a compressed video stream is received at a computing device and a determination is made as to whether prior knowledge is available that relates to the compressed video stream. Responsive to the determination that prior knowledge is available that relates to the compressed video stream, the prior knowledge is employed by the computing device to perform data unit identification for the compressed video stream. In one or more implementations, SIMD instructions are utilized to perform pattern (0x00 00) search in a batch mode. Then a byte-by-byte search is performed to confirm whether the pattern, 0x00 00, found is part of a start code, 0x00 00 01, or not.