Method of encoding frequency coefficients in an AC-3 encoder

Data processing: generic control systems or specific application – Specific application – apparatus or process – Product assembly or manufacturing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C704S205000

Reexamination Certificate

active

06775587

ABSTRACT:

FIELD OF THE INVENTION
This invention is applicable in the field of an AC-3 Encoder, implemented on a DSP Processor and, in particular, relates to a method of encoding frequency coefficients.
BACKGROUND OF THE INVENTION
Recent years have witnessed an unprecedented advancement in audio coding technology. This has led to high compression ratios while keeping audible degradation in the compressed signal to a minimum. Coders such as the AC-3 (popularly known as Dolby Digital) are intended for a variety of applications, including 5.1 channel film soundtracks, HDTV, laser discs and multimedia.
The translation of the AC-3 Encoder Standard “ATSC Digital Audio Compression (AC-3) Standard”, Doc. A/52/10, November 1994 on to the firmware of a DSP-Core involves several phases. Firstly, the essential compression algorithm blocks for the AC-3 Encoder have to be designed. After individual blocks are completed, they are integrated into an encoding system which receives a PCM (pulse code modulated) stream, processes the signal applying signal processing techniques such as transient detection, frequency transformation, masking and psychoacoustic analysis, and produces a compressed stream in the format of the AC-3 Standard.
The coded AC-3 stream should be capable of being decompressed by any standard AC-3 Decoder and the PCM stream generated thereby should be comparable in audio quality to the original input stream. If the original stream and the decompressed stream are transparent (indistinguishable) in audible quality (at reasonable level of compression) the development moves to the third phase.
In the third phase the algorithms are simulated in a high level language (e.g. C) using the word-length specifications of the target DSP-Core. Most commercial DSP-Cores allow only fixed point arithmetic (since a floating point engine is costly in terms of area). Consequently the algorithm is translated to a fixed point solution. The word-length used is usually dictated by the ALU (arithmetic-logic unit) capabilities and bus-width of the target core. For example AC-3 Encoder on Motorola's 56000 would use 24-bit precision since it is a 24-bit Core. Similarly, for implementation on Zoran's ZR38000 which has 20-bit data path, 20-bit precision would be used.
If, for example, 20-bit precision is discovered to provide an unacceptable level of sound quality, the provision to use double precision always exists. In this case each piece of data is stored and processed as two segments, lower and upper words, each of 20-bit length. The accuracy of implementation is doubled but so is the computational complexity and memory requirement—double precision multiplication could require 6 or more cycles while single precision multiplication and addition (MAC) requires only a single cycle. Moreover, double precision also requires twice the amount of storage space.
AC-3 is a transform coder, which essentially means that the input time-domain samples are converted to frequency domain coefficients during the first step of encoding. As discussed earlier, the coefficients may be generated through a single-precision or double-precision computation, whichever is considered appropriate. Each coefficient is next represented by a mantissa and an exponent, and subjected to different encoding schemes. While it seems intuitive to store mantissas with same or more number of bits as that used to express the coefficients in order to maintain same level of accuracy, this is not always true. The mantissa generally has a bit length which is determined by a bit allocation algorithm which globally determines the number of bits to be assigned to each mantissa, based on, for example, a parametric model of human hearing. The mantissas occupy about 30% of data memory in an AC-3 Encoder System.
SUMMARY OF THE INVENTION
The present invention seeks to minimise mantissa storage requirements without affecting accuracy.
In accordance with the invention, there is provided a method of encoding, including:
representing frequency coefficients in the form of a respective exponent and mantissa;
coding the exponents; and
shifting the mantissas to compensate for changes in the exponent values, wherein the exponents comprise an original exponent set (e
0
,e
1
, . . . ,e
n−1
)
which is mapped to a new exponent set (e
0
′,e
1
′, . . . e′
n−1
) after coding, so as to satisfy:
∥e′
i+1
−e′
i
∥<D, where i=0, . . . , n−1 and D is a maximum allowed difference between two consecutive exponents, and e′
i
≦e
i
.
Preferably, modifying the mantissas includes right shifting the mantissas by a number of bits corresponding to the changes in the associated exponent value.
Preferably, the coding of the exponents is a differential coding of exponent values, followed by grouping of the coded exponents according to a predetermined exponent strategy.


REFERENCES:
patent: 5214706 (1993-05-01), Minde
patent: 5581653 (1996-12-01), Todd
patent: 5752225 (1998-05-01), Fielder
patent: 5960401 (1999-09-01), Rao et al.
patent: 5970461 (1999-10-01), Chatterton
patent: 6356871 (2002-03-01), Hemkumar et al.
patent: 6493674 (2002-12-01), Takamizawa
patent: 7-199996 (1995-08-01), None
patent: WO 99/35758 (1999-07-01), None
McKinney, “Digital Audio Compression (AC-3)—ATSC Standard,” Dec. 20, 1995, XP-002075746.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method of encoding frequency coefficients in an AC-3 encoder does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method of encoding frequency coefficients in an AC-3 encoder, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method of encoding frequency coefficients in an AC-3 encoder will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3331202

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.