AVS Start Code Emulation Prevention Bit Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The Audio Video Coding Standard of China (AVS) faces challenges with start code emulation, where 'start code-like' patterns in video data can lead to false detection, causing decoding errors and requiring additional measures to prevent misinterpretation of data boundaries.

Innovation Solution

A system and method for unified start code emulation prevention bits processing, which inserts an arbitrary bit string, such as a 2-bit start code emulation prevention bit string, into AVS encoded data to differentiate it from actual start codes, allowing for accurate decoding by identifying and removing the prevention bit string during parsing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If start code based AVS bitstream structure is adopted, then accurate detection of video units is improved, but false detection occurs when start code-like patterns exist in video data

Engineering Contradiction:
Improvestart code detection accuracyVSAvoiddecoding reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

A prevention bit string is inserted as an intermediary element between the video data and the start code detection mechanism. This prevention bit string acts as a mediator that prevents false detection by ensuring that any potential start code-like patterns in the video data are interrupted and cannot be misinterpreted as actual start codes, thus resolving the contradiction between detection accuracy and reliability

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If start code emulation prevention bits are inserted, then false detection is prevented, but data integrity may be compromised if not properly removed

Engineering Contradiction:
Improvedecoding reliabilityVSAvoiddata integrity
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The prevention bit string is inserted in advance during encoding as a preliminary action to prevent false detection before it occurs. The bit string is designed with specific characteristics (different from actual start codes) that allow it to be easily identified and removed during decoding, ensuring that it performs its protective function without compromising the integrity of the original video data

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If unified processing is applied to bounded and unbounded streams, then processing complexity is reduced, but different stream types have different constraints

Engineering Contradiction:
Improveprocessor complexityVSAvoidstream type adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

A unified start code emulation prevention mechanism is designed that can handle both bounded and unbounded AVS streams through a single processing approach. The prevention bit string insertion and detection logic is made universal, allowing the same basic mechanism to adapt to different stream types (bounded PES, unbounded PES, TS) while respecting their specific constraints, thus reducing processing complexity without sacrificing adaptability

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9503777B2Method and system for unified start code emulation prevention bits processing for AVS
Publication Date: 2016.11.22 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US9503777B2 patent drawing
  • US9503777B2 patent drawing
  • US9503777B2 patent drawing

AI summary

Aspects of a method and system for unified start code emulation prevention bits processing for AVS are provided. A Start code emulation prevention bit string with an arbitrary bit string length, for example 2 bits, may be inserted into AVS encoded data. When decoding, the received AVS encoded data may be parsed to identify the start code emulation prevention bit string and start codes. A bit processor may be signaled with the detection of the start code emulation prevention bit string and/or the start codes. The bit processor may remove the start code emulation prevention bit string in a decoding process and store the detected start codes for applications such as PVR. Constraints may be added to streams such as unbounded PES and/or TS with PUSI bit unset for further bit processing.