VLIW Video Encoding Mask-Based Run Length Loop

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional video encoding techniques are inefficient when using Very Long Instruction Word (VLIW) processors for Run-Length Encoding (RLE), Inverse Quantization (IQ), and Variable Length Coding (VLC), as they require serial operations that are not well-suited for VLIW architectures, leading to high cycle consumption, especially at lower bit rates.

Innovation Solution

A mask-based technique that reduces cycle consumption by 30% by combining RLE, IQ, and VLC into a single loop that iterates only over non-zero coefficients, using a mask generated during quantization to optimize operations on VLIW processors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional serial RLE, IQ, and VLC operations are used, then processing correctness is maintained, but processing time and cycle consumption increase significantly

Engineering Contradiction:
Improveprocessing speedVSAvoidcycle consumption
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent combines RLE, IQ, and VLC operations into a single integrated loop that processes all three functions simultaneously. The mask generated during quantization is reused across all three operations, eliminating redundant processing and reducing the total number of cycles required compared to conventional sequential implementation.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The mask is generated during the quantization phase, which is performed before RLE, IQ, and VLC operations. This preliminary generation of the mask allows all subsequent operations to skip zero coefficients efficiently, reducing the processing time for RLE, IQ, and VLC without requiring re-processing of quantized data.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If VLIW architecture is used for parallel processing, then instruction level parallelism is exploited, but serial operations like RLE become less efficient

Engineering Contradiction:
Improveparallel processing capabilityVSAvoidserial operation efficiency
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent merges RLE, IQ, and VLC into a single loop structure that can be efficiently implemented on VLIW processors. By combining these operations and using a pre-generated mask to guide all three processes simultaneously, the patent creates a unified operation that exploits VLIW parallelism while minimizing the inefficiencies associated with serial processing of individual functions.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If RLE processes all coefficients including zeros, then complete encoding is achieved, but redundant operations increase cycle consumption

Engineering Contradiction:
Improveencoding completenessVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts and eliminates redundant processing of zero coefficients by using a mask that identifies only non-zero coefficients. The mask is generated during quantization and then used to guide RLE, IQ, and VLC operations to process only necessary data, maintaining encoding completeness while removing wasted cycles on zero coefficient processing.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The mask generated during quantization serves multiple purposes: it guides RLE to skip zeros, directs IQ to process only non-zero coefficients, and enables VLC to encode only necessary run-length pairs. This self-service approach allows the same data structure to drive multiple operations efficiently without requiring separate processing logic for each function.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8233545B2Run length encoding in VLIW architecture
Publication Date: 2012.07.31 TEXAS INSTRUMENTS INC
  • US8233545B2 patent drawing
  • US8233545B2 patent drawing
  • US8233545B2 patent drawing

AI summary

A computer implemented method of video data encoding generates a mask having one bit corresponding each spatial frequency coefficient of a block during quantization. The bit state of the mask depends upon whether the corresponding quantized spatial frequency coefficient is zero or non-zero. The runs of zero quantized spatial frequency coefficients determined by a left most bit detect instruction are determined from the mask and run length encoded. The mask is generated using a look up table to map the scan order of quantization to the zig-zag order of run length encoding. Variable length coding and inverse quantization optionally take place within the run length encoding loop.