IP Library Granted Patent US 7,373,293
Granted Patent B2
US 7,373,293 · App. 10/720,762 · Granted May 13, 2008

Quantization noise shaping method and apparatus

Assignee: Samsung Electronics Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,373,293
App. No.
10/720,762
Granted
May 13, 2008
Kind
B2
Abstract

A method and apparatus for shaping quantization noise generated when compressing audio data at a low bit rate is disclosed. A predetermined quantization noise threshold allowed during quantization of sampled audio data and quantization noise energy information of a quantized MDCT coefficient are received in all frequency bands of an audio frequency. The quantization noise energy of the quantized MDCT coefficient is attenuated in a predetermined number of frequency bands in which a difference between the predetermined quantization noise threshold and the quantization noise energy of the quantized MDCT coefficient is large.

Claims (13)

1. A method of shaping quantization noise, comprising:

calculating a total quantization noise of quantized MDCT coefficients and a sum of quantization noise thresholds calculated in a psychoacoustic model;

comparing the total quantization noise of the quantized MDCT coefficients with the sum of the quantization noise thresholds; and

if the total quantization noise of the quantized MDCT coefficients is less than the sum of the quantization noise thresholds, attenuating quantization noise of a plurality of frequency bands, while if the total quantization noise of the quantized MDCT coefficients is greater than the sum of the quantization noise thresholds, attenuating the quantization noise in selected frequency bands of the plurality of frequency bands,

wherein the attenuation of the quantization noise in the selected frequency bands comprises:

receiving an audio frame, quantizing MDCT coefficients to produce a quantization result, Huffman-coding the quantization result, calculating a number of bits used for the Huffman-coding, and setting the number of bits to use a number of bits smaller than the calculated number of bits in order to control a bit rate;

calculating quantization noise energy of the plurality of frequency bands of an audio frequency range to output calculated quantization noise energy;

storing scale factors used in the quantizing MDCT coefficients;

determining whether the calculated quantization energy is above a quantization noise threshold calculated in the psychoacoustic model, and if the calculated quantization energy is above the quantization noise threshold, shaping the quantized noise energy of the quantized MDCT coefficients to be reduced;

determining whether a scale factor band gain has increased in the plurality of frequency bands, and if the scale factor band gain has increased in the plurality of frequency bands, ending the shaping quantization noise energy using the stored scale factor;

if the scale factor band gain has increased in less than the plurality of the frequency bands, then if the quantization noise energy is shaped to fall within the quantization noise threshold in the psychoacoustic model only when the scale factor band gain increases to be above a predetermined quantization noise threshold, ending the shaping of the quantization noise using the stored scale factor, and if the scale factor band gain does not increase to be above the predetermined quantization noise threshold, then readjusting the bit rate.

2. The method of claim 1 , wherein the bit rate is controlled by adjusting a common gain.

3. The method of claim 1 , wherein the quantization energy of the quantized MDCT coefficient is controlled by adjusting the scale factor band gain.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 13, 2004
From: CHANG, TAE-GYU; JANG, HEUNG-YEOP
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 015327/0105 →
Priority Claims (1)
KR 10-2003-0002718 · Jan 15, 2003 · national
Continuity (1)
Related Publication 20040170290A1 · Sep 2, 2004