# US 8,542,728 B2 · Inverse quantization processing method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,542,728 B2
- Document ID: US8542728B2
- Status: Granted
- Kind: B2
- Application number: 12/786,788
- Filed: 2010-05-25
- Published: 2010-11-25
- Granted: 2013-09-24
- Earliest claimed: 2009-05-25
- Assignees: MStar Semiconductor, Inc.
- Applicants: Chu-Feng Lien
- Inventors: Chu-Feng Lien
- Web page: https://patentgrep.com/patent/US8542728B2

## CPC

- G10L 19/16: Vocoder architecture
- G10L 19/032: Quantisation or dequantisation of spectral components
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An inverse quantization processing method and associated device is provided comprising a determining unit, a bit reduction unit, a frequency/time-domain conversion unit, and a bit addition unit which collectively perform an inverse quantization processing method by receiving a plurality of quantized frequency-domain data, performing a bit reduction on a current quantized frequency domain data according to an adjusting factor, generating a bit-reduced quantized frequency-domain data when an accumulated count value of a plurality of valid bit numbers of the plurality of quantized frequency-domain data greater than a first threshold reaches a second threshold, performing a frequency/time domain conversion on the bit-reduced quantized frequency-domain data to obtain a bit-reduced time-domain PCM data, and performing a bit addition on the bit-reduced time-domain PCM data according to the adjusting factor, so as to obtain a time-domain PCM data.

## Claims

### Claim 1

An inverse quantization processing method, applied to a decoder, comprising:
receiving a plurality of quantized frequency-domain data;
performing a bit reduction on a current quantized frequency-domain data of the plurality of the quantized frequency-domain data according to an adjusting factor when, among the plurality of the quantized frequency-domain data, an accumulated count value of a plurality of valid bit numbers greater than a first threshold reaches a second threshold, to generate a bit-reduced quantized frequency-domain data, wherein the adjustment factor is an integer, and each valid bit number represents a bit number of a first non-zero bit of the corresponding quantized frequency-domain data;
performing a frequency/time domain conversion on the bit-reduced quantized frequency-domain data to generate a bit-reduced time-domain pulse code modulation (PCM) data; and
performing a bit addition on the bit-reduced time-domain PCM data according to the adjusting factor to generate a time-domain PCM data.

### Claim 2 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein the decoder is a digital signal processor (DSP).

### Claim 3 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein each valid bit number represents a bit number of a first non-zero bit of each quantized frequency-domain data by searching from a most significant bit (MSB) towards a least significant bit (LSB).

### Claim 4 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein the accumulated count value is added by 1 when the valid bit number is greater than the first threshold, and the accumulated count value is reduced by 1 when each valid bit number is smaller than or equal to the first threshold.

### Claim 5 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein the first threshold is a maximum code length supported by the frequency/time domain conversion performed by the decoder.

### Claim 6 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein the adjusting factor is a constant value, which is a difference d between a code length of the current quantized frequency-domain data and the first threshold, and the bit reduction divides the current quantized frequency-domain data by the d-th power of 2 to obtain the bit-reduced quantized frequency-domain data.

### Claim 7 (depends on 1)

The inverse quantization processing method as claimed in claim 1, wherein the bit addition multiplies the bit-reduced time-domain PCM data with the d-th power of 2 to obtain the time-domain PCM data.

### Claim 8 (depends on 6)

The inverse quantization processing method as claimed in claim 6, wherein when the count value is less than the second threshold, a saturation process is performed on the plurality of quantized frequency-domain data having the valid bit numbers greater than the first threshold, so as to remove d MSBs of the plurality of quantized frequency-domain data.

### Claim 9 (depends on 6)

The inverse quantization processing method as claimed in claim 6, wherein the adjusting factor is a variable, which is a difference z generated by subtracting the first threshold from the valid bit number of the current quantized frequency-domain data, and the bit reduction moves a window having a bit length of the first threshold z bits from an LSB to an MSB, so that the bit-reduced quantized frequency-domain data is obtained through the window.

### Claim 10 (depends on 9)

The inverse quantization processing method as claimed in claim 9, the bit addition multiplies the bit-reduced time-domain PCM data with the z-th power of 2 to obtain the time-domain PCM data.

### Claim 11

An inverse quantization processing device, applied to a decoder, comprising:
a determining unit, consecutively receiving a plurality of quantized frequency-domain data, for generating a determining signal when, among the quantized frequency-domain data, an accumulated count value of a plurality of valid bit numbers greater than a second threshold reaches a second threshold, wherein the adjustment factor is an integer, and each valid bit number represents a bit number of a first non-zero bit of the corresponding quantized frequency-domain data;
a bit reduction unit, coupled to the determining unit, for performing a bit reduction on a current quantized frequency-domain data of the quantized frequency-domain data utilizing an adjusting factor according to the determining signal to output a bit-reduced quantized frequency-domain data;
a frequency/time domain conversion unit, coupled to the bit reduction unit, for receiving the bit-reduced quantized frequency-domain data outputted by the bit reduction unit and performing a frequency/time domain conversion to obtain a bit-reduced time-domain PCM data; and
a bit addition unit, coupled to the frequency/time domain conversion unit, for performing a bit addition on the bit-reduced time-domain PCM data to obtain a time-domain PCM data.

### Claim 12 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the decoder is a digital signal processor (DSP).

### Claim 13 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the determining unit comprises:
a valid bit detector, for detecting each quantized frequency-domain data from an MSB towards an LSB for a first non-zero bit to determine the valid bit numbers;
a counter, for generating the count value;
a first comparator, coupled to the valid bit detector and the counter, for triggering the counter to add 1 to the count value when each valid bit number is greater than the first threshold, and for triggering the counter to subtract 1 from the count value when each valid bit number is smaller than or equal to the first threshold; and
a second comparator, coupled to the counter and the valid bit detector, for signaling the valid bit detector to transmit the quantized frequency-domain data to the bit reduction unit when the count value reaches a second threshold.

### Claim 14 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the first threshold is a maximum code length supported by the frequency/time domain conversion unit.

### Claim 15 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the adjusting factor is a constant value, which is a difference d between a code length of the quantized frequency-domain data and the first threshold, and the bit reduction performed by the bit reduction unit divides the quantized frequency-domain data by the d-th power of 2 to obtain the bit-reduced frequency-domain data.

### Claim 16 (depends on 15)

The inverse quantization processing device as claimed in claim 15, wherein the bit addition performed by the bit addition unit multiplies the bit-reduced time-domain PCM data with the d-th power of 2 to obtain the time-domain PCM data.

### Claim 17 (depends on 15)

The inverse quantization processing device as claimed in claim 15, further comprising a saturation processing unit coupled between the determining unit and the frequency/time-domain conversion unit, wherein the saturation processing unit performs a saturation process on the plurality of quantized frequency-domain data having the valid bit numbers greater than the first threshold, so as to remove most significant d bits of the quantized frequency-domain data.

### Claim 18 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the adjusting factor is a variable, which is a difference z by subtracting the first threshold from the valid bit number of the quantized frequency-domain data, and the bit reduction performed by the bit reduction unit moves a window having a bit length of the first threshold z bits from an LSB to an MSB, so that the bit-reduced quantized frequency-domain data is obtained through the window.

### Claim 19 (depends on 18)

The inverse quantization processing device as claimed in claim 18, wherein the bit addition performed by the bit addition unit multiplies the bit-reduced time-domain PCM data with the z-th power of 2 to obtain the time-domain PCM data.

### Claim 20 (depends on 11)

The inverse quantization processing device as claimed in claim 11, wherein the frequency/time domain conversion unit is an inverse Fourier conversion device.
