MP3 Decoder Memory Optimization via Zero-Boundary Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

MP3 decoding efficiency is hindered by excessive read and write operations due to the presence of zero-valued frequency lines in the high-frequency rzero zone, which require unnecessary processing, slowing down the decoding speed.

Innovation Solution

Implementing a memory optimization method that terminates read and write operations when the frequency line address exceeds the zero boundary address, and employing a pipeline structure for parallel processing of sub-band samples to reduce computational load in modules like IMDCT and multi-phase filters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the decoder processes all 576 frequency lines sequentially, then the decoding is complete and accurate, but the memory access and computational time increase significantly

Engineering Contradiction:
Improvedecoding accuracyVSAvoidmemory access time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts and removes the unnecessary processing of zero-valued frequency lines in the rzero zone. By detecting when the frequency line address exceeds the zero boundary address, the decoder terminates read and write operations for these zero values, eliminating wasted memory access and computational time while maintaining decoding accuracy for non-zero frequency lines

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by processing only the necessary portion of frequency lines (up to the zero boundary address) rather than all 576 frequency lines. This selective processing reduces memory access and computational load while maintaining sufficient accuracy for audio reconstruction

Inventive Principle:
Principle #16Partial or excessive action

2Device complexity

If the decoder uses serial processing for all processing stages, then the implementation is simple, but the decoding speed is slow

Engineering Contradiction:
Improveprocessing structure complexityVSAvoiddecoding speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent segments the processing pipeline into distinct stages: Huffman decoding, re-quantization, stereo processing, alias reconstruction, and IMDCT. Each stage can process data independently and in parallel, with intermediate results stored in buffers. This segmentation enables pipeline processing where multiple stages operate simultaneously, significantly increasing decoding speed while maintaining manageable complexity through modular architecture

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements continuous pipeline processing where data flows continuously through multiple processing stages without interruption. While one stage is processing current data, other stages are processing previous data, ensuring that useful computational actions continue without idle waiting time, thereby maximizing decoding throughput

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS8204121B2Method and apparatus for MP3 decoding
Publication Date: 2012.06.19 VIA TECH INC
  • US8204121B2 patent drawing
  • US8204121B2 patent drawing
  • US8204121B2 patent drawing

AI summary

A memory optimization method for a MP3 decoder. In a pipeline structure for speeding matrix calculation in Mp3 decoding, an output sequence of IMDCT calculation is altered so that matrix calculation is activated before completing the IMDCT calculation. A decoding control method allows pipeline processing in MP3 decoding, with decoding procedures for subsequent granules activated while the current granule is still being processing in the matrix calculation.