Bitstream Extraction and Packing Across 64-Bit Boundaries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing bitstream handling technologies, such as those used in multimedia and network streaming, inefficiently manage boundary conditions during bitstream extraction and packing, leading to reduced system efficiency due to inadequate handling of cases where extracted or packed bits cross the 64-bit boundary or require buffer lengths greater than memory address boundaries.

Innovation Solution

The method involves a bitstream extraction and packing apparatus that uses flags (empty, underflow, full, overflow) and arithmetic logic units to manage bit extraction and packing by adjusting starting positions and widths, appending or separating bits as needed to maintain efficient operation across different boundary conditions, ensuring optimal handling of cases where bits span or exceed register widths.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional bitstream extraction methods are used, then extraction operations can be performed, but system efficiency is reduced due to inadequate handling of boundary conditions

Engineering Contradiction:
Improvesystem efficiencyVSAvoidhandling of boundary conditions
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent segments the bitstream extraction process into distinct cases based on boundary conditions (SP>LE, SP==LE, SP<LE). Each case is handled by a specific instruction sequence that optimizes for that condition, avoiding inefficient general-purpose handling for all cases. This segmentation allows the system to achieve high efficiency by matching the extraction method to the specific boundary condition.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes operational parameters (shift amounts, extraction sequences, flag settings) based on the specific boundary condition detected. For example, when SP>LE, the BSR is shifted left by 32-SP bits and then the intermediate result is shifted right by 32-LE bits. When SP<LE, different shift operations are performed. This parameter adaptation to boundary conditions resolves the contradiction between efficiency and ease of operation.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If bitstream extraction handles all boundary conditions, then completeness is improved, but device complexity increases due to multiple instruction sequences

Engineering Contradiction:
Improvecompleteness of boundary condition handlingVSAvoidnumber of instruction sequences
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic selection of extraction instructions based on the current boundary condition state. The system automatically determines which instruction sequence to execute (first, second, or third sequence) based on comparing SP and LE values. This dynamic approach ensures complete handling of all boundary conditions while managing complexity through conditional execution rather than maintaining all sequences simultaneously.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The extraction system performs self-service by automatically detecting the boundary condition type and selecting the appropriate instruction sequence without external intervention. The position register and length register values themselves drive the selection process, with the system self-adjusting its behavior based on the current state, thereby ensuring completeness while minimizing the need for complex external control logic.

Inventive Principle:
Principle #25Self-service

3Productivity

If conventional packing methods are used, then packing operations can be performed, but system efficiency is reduced due to inadequate handling of boundary conditions

Engineering Contradiction:
Improvesystem efficiencyVSAvoidhandling of boundary conditions
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent segments the bitstream packing process into distinct cases based on boundary conditions (SP>LP, SP==LP, SP<LP). Each case has a dedicated packing instruction sequence that optimizes for that specific condition. This segmentation enables efficient packing by avoiding generic handling and instead applying the most appropriate method for each boundary scenario.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adapts packing parameters (shift amounts, OR operation sequences, flag settings) based on the detected boundary condition. For example, when SP>LP, the SR is shifted left by SP-LP bits before packing. When SP<LP, different shift and OR operations are applied. This parameter adaptation to boundary conditions resolves the contradiction between efficiency and ease of operation for packing operations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8171188B2Method of handling successive bitstream extraction and packing and related device
Publication Date: 2012.05.01 ANDES TECH
  • US8171188B2 patent drawing
  • US8171188B2 patent drawing
  • US8171188B2 patent drawing

AI summary

To handle boundary conditions efficiently during bitstream extraction, a predetermined number of bits are extracted from the bitstream register starting from a most significant bit of the bitstream register when an underflow flag is set. The predetermined number equals a predetermined extraction width minus a previous starting position. The bits are stored in a lowest part of a destination register, and the underflow flag is cleared.