Digital encoder with dynamic quantization bit allocation
First Claim
1. A digital encoding apparatus for compressing a digital input signal to provide a compressed output signal, the apparatus comprising:
- frequency dividing means for receiving the digital input signal and for dividing the digital input signal into a plurality of frequency ranges;
time dividing means for dividing in time at least one of the frequency ranges of the digital input signal into a plurality of blocks;
orthogonal transform means for orthogonally transforming each block to provide a plurality of spectral coefficients;
means for grouping by frequency the plurality of spectral coefficients from the orthogonal transform means into critical bands, each critical band having a band energy and a band frequency;
bit allocation pattern selecting means for selecting a predetermined bit allocation pattern from a plurality of predetermined bit allocation patterns;
first bit allocating means for allocating a total number of fixed bits among the critical bands to allocate to each critical band a number of fixed bits for quantizing each spectral coefficient in the critical band, the number of fixed bits allocated to each critical band being determined according to the selected predetermined bit allocation pattern;
second bit allocating means for allocating a total of number of variable bits among the critical bands to allocate to each critical band a number of variable bits for quantizing each spectral coefficient in the critical band, the number of variable bits allocated to each critical band being determined according to the band energy of the critical band; and
means for quantizing each spectral coefficient in each band using a number of bits equal to a sum of the number of fixed bits allocated for quantizing each spectral coefficient in the critical band and the number of variable bits allocated for quantizing each spectral coefficient in the critical band, the spectral coefficients in at least one of the critical bands being quantized using a number of fixed bits greater than zero and a number of variable bits greater than zero.
0 Assignments
0 Petitions
Accused Products
Abstract
An encoder apparatus and method for compressing a digital input signal derived from an analog signal to reduce the number of bits required to represent the analog signal with low quantizing noise. In the encoder, a digital input signal derived from the analog signal is divided into frequency ranges. The digital signal in each of the frequency ranges is divided in time into blocks, the time duration of which may be adaptively varied. The blocks are orthogonally transformed into spectral coefficients, which are grouped into critical bands. The total number of bits available for quantizing the spectral coefficients is allocated among the critical bands. In a first embodiment and a second embodiment, fixed bits are allocated among the critical bands according to a selected one of a plurality of predetermined bit allocation patterns and variable bits are allocated among the critical bands according to the energy in the critical bands. In the first embodiment, the apportionment between fixed bits and variable bits is fixed. In a second embodiment, the apportionment between fixed bits and variable bits is varied according to the smoothness of the spectrum of the input signal. Both embodiments give low quantizing noise levels with both broad spectrum signals and highly tonal signals.
-
Citations
33 Claims
-
1. A digital encoding apparatus for compressing a digital input signal to provide a compressed output signal, the apparatus comprising:
-
frequency dividing means for receiving the digital input signal and for dividing the digital input signal into a plurality of frequency ranges; time dividing means for dividing in time at least one of the frequency ranges of the digital input signal into a plurality of blocks; orthogonal transform means for orthogonally transforming each block to provide a plurality of spectral coefficients; means for grouping by frequency the plurality of spectral coefficients from the orthogonal transform means into critical bands, each critical band having a band energy and a band frequency; bit allocation pattern selecting means for selecting a predetermined bit allocation pattern from a plurality of predetermined bit allocation patterns; first bit allocating means for allocating a total number of fixed bits among the critical bands to allocate to each critical band a number of fixed bits for quantizing each spectral coefficient in the critical band, the number of fixed bits allocated to each critical band being determined according to the selected predetermined bit allocation pattern; second bit allocating means for allocating a total of number of variable bits among the critical bands to allocate to each critical band a number of variable bits for quantizing each spectral coefficient in the critical band, the number of variable bits allocated to each critical band being determined according to the band energy of the critical band; and means for quantizing each spectral coefficient in each band using a number of bits equal to a sum of the number of fixed bits allocated for quantizing each spectral coefficient in the critical band and the number of variable bits allocated for quantizing each spectral coefficient in the critical band, the spectral coefficients in at least one of the critical bands being quantized using a number of fixed bits greater than zero and a number of variable bits greater than zero. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 26, 27)
-
-
16. A system for compressing a digital input signal to provide a compressed digital signal, and for expanding the compressed digital signal to provide a digital output signal, the system comprising:
a compressor comprising; means for dividing the digital input signal into a plurality of frequency ranges; means for dividing in time each of the frequency ranges of the digital input signal into a plurality of blocks; orthogonal transform means for orthogonally transforming each block to provide a plurality of spectral coefficients; means for grouping by frequency the plurality of spectral coefficients from the orthogonal transform means into critical bands, each critical band having a band energy and a band frequency; bit allocation pattern selecting means for selecting a predetermined bit allocation pattern from a plurality of predetermined bit allocation patterns; first bit allocating means for allocating a total number of fixed bits among the critical bands to allocate to each critical band a number of fixed bits for quantizing each spectral coefficient in the critical band, the number of fixed bits allocated to each critical band being determined according to the selected predetermined bit allocation pattern; second bit allocating means for allocating a total number of variable bits among the critical bands to allocate to each critical band a number of variable bits for quantizing each spectral coefficient in the band, the number of variable bits allocated to each critical band being determined according to the band energy of the critical band; means for quantizing each spectral coefficient in each band using a number of bits equal to a sum of the number of fixed bits allocated for quantizing each spectral coefficient in the critical band and the number of variable bits allocated for quantizing each spectral coefficient in the critical band, and for generating word length data indicating the sum for each critical band, the spectral coefficients in at least one of the critical bands being quantized using a number of fixed bits greater than zero and a number of variable bits greater than zero; and means for multiplexing the quantized spectral coefficients and the word length data to provide the compressed digital signal, and a decoder, comprising; demultiplexing means for extracting the word-length data from the compressed digital signal, and for extracting the spectral coefficients from the compressed digital signal using the word-length data; means for grouping by frequency the extracted spectral coefficients into a plurality of frequency ranges corresponding to the plurality of frequency ranges in the encoder; means for performing an inverse orthogonal transform on the spectral coefficients in each frequency range to generate blocks of time-dependent data in each frequency range; and means for combining the blocks of time-dependent data in each frequency range to provide the digital output signal.
-
17. An apparatus for deriving a compressed digital recording signal from a digital input signal for recording on a recording medium, the apparatus comprising:
-
means for dividing the digital input signal into a plurality of frequency ranges; means for dividing in time each of the frequency ranges of the digital input signal into a plurality of blocks; orthogonal transform means for orthogonally transforming each block to provide a plurality of spectral coefficients; means for grouping by frequency the plurality of spectral coefficients from the orthogonal transform means into critical bands, each critical band having a band energy and a band frequency; bit allocation pattern selecting means for selecting a predetermined bit allocation pattern from a plurality of predetermined bit allocation patterns; first bit allocating means for allocating a total number of fixed bits among the critical bands to allocate to each critical band a number of fixed bits for quantizing each spectral coefficient in the critical band, the number of fixed bits allocated to each critical band being determined according to the selected predetermined bit allocation pattern; second bit allocating means for allocating a total number of variable bits among the critical bands to allocate to each critical band a number of variable bits for quantizing each spectral coefficient in the band, the number of variable bits allocated to each critical band being determined according to the band energy; means for quantizing each spectral coefficient in each band using a number of bits equal to a sum of the number of fixed bits allocated for quantizing each spectral coefficient in the critical band and the number of variable bits allocated for quantizing each spectral coefficient in the critical band, the spectral coefficients in at least one of the critical band being quantizing using a number of fixed bits greater than zero and a number of variable bits greater than zero, and for generating word length data indicating the sum for each critical band; means for multiplexing the quantized spectral coefficients and word length data to provide the compressed digital signal; and recording means for recording the compressed digital signal on the recording medium. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. A method for deriving a compressed digital signal data from a digital input signal, the method including the steps of:
-
dividing the digital input signal into a plurality of frequency ranges; dividing in time each of the frequency ranges of the non-compressed digital input signal into a plurality of blocks; orthogonally transforming each block to provide a plurality of spectral coefficients; grouping by frequency the plurality of spectral coefficients provided by the orthogonal transform step into critical bands, each critical band having a band energy and a band frequency; providing a total number of variable bits and a total number of fixed bits, the total number of fixed bits being arranged in a plurality of predetermined bit allocation patterns; selecting one of the plurality of predetermined bit allocation patterns as a selected predetermined bit allocation pattern; allocating the total number of fixed bits among the critical bands to allocated to each critical band a number of fixed bits for quantizing each spectral coefficient in the critical band, the number of fixed bits allocated to each critical band being determined according to the selected predetermined bit allocation pattern; allocating the total number of variable bits among the critical bands to allocate to each critical band a number of variable bits for quantizing each spectral coefficient in the critical band, the number of quantizing bits allocated to each critical band being determined according to the band energy of the critical band; quantizing each spectral coefficient in each critical band using a number of bits equal to a sum of the number of fixed bits allocated for quantizing each spectral coefficient in the critical band and the number of variable bits allocated for quantizing each spectral coefficient in the critical band, the spectral coefficients in at least one of the critical band being quantized using a number of fixed bits greater than zero and a number of variable bits greater than zero; generating word length data indicating the sum for each critical band; and multiplexing the quantized spectral coefficients and word length data to provide the compressed digital signal. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
Specification