# US 2005/0240398 A1 · Techniques for quantization of spectral data in transcoding

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

- Number: US 2005/0240398 A1
- Document ID: US20050240398A1
- Status: Published application
- Kind: A1
- Application number: 11/169,602
- Filed: 2005-06-28
- Published: 2005-10-27
- Earliest claimed: 2001-06-28
- Assignees: Microsoft Corporation
- Inventors: Wei-Ge Chen; Ming-Chieh Lee
- Web page: https://patentgrep.com/patent/US20050240398A1

## CPC

- G10L 19/173: {Transcoding, i.e. converting between two coded representations avoiding cascaded coding-decoding}
- 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

A transcoder reduces excess requantization error in quantization of spectral data. The transcoder phase shifts data decompressed by a decompressor. The phase shifting causes a change to corresponding spectral data produced in later transform coding of the decompressed data. When the spectral data is then quantized to reduce bitrate, the earlier phase shifting reduces excess requantization error. After transcoding, a second decompressor can compensate for the phase shifting by, for example, reverse shifting by the amount of the phase shift. Instead of phase shifting, the transcoder can reduce excess requantization error by, for example, adding random noise to the decompressed data or changing transform block sizes.

## Claims

### Claim at position 1

1-35. (canceled)

### Claim 36

A system configured to compress audio data, the audio data decompressed after a previous compression, the system comprising one or more modules configured to perform:
phase shifting the audio data;
transform coding the phase-shifted audio data to produce transform coefficients; and
quantizing the transform coefficients, the quantizing being coarser than a previous quantizing of tranform domain data in the previous compression.

### Claim 37 (depends on 36)

The system of claim 36 wherein the phase shifting comprises shifting a block of the audio data by a number of samples.

### Claim 38 (depends on 37)

The system of claim 37 wherein the one or more modules are further configured to perform compressing one or more samples shifted out of the block apart from the phase-shifted audio data.

### Claim 39 (depends on 36)

The system of claim 36 wherein the one or more modules are further configured to perform changing magnitude and/or direction of shift amount for the phase shifting.

### Claim 40 (depends on 36)

The system of claim 36 wherein the transform coding comprises a modulated lapped transform, and wherein the quantizing comprises applying a uniform scalar quantizer.

### Claim 41 (depends on 36)

The system of claim 36 wherein the one or more modules are further configured to perform:
before the phase shifting, entropy decoding, inverse quantizing, and inverse transform coding to produce the audio data; and
after the quantizing, entropy encoding the quantized transform coefficients.

### Claim 42 (depends on 36)

The system of claim 36 wherein the phase shifting, the transform coding and the quantizing are part of homogeneous transcoding.

### Claim 43

A transcoding system configured to process data for transcoding, the system adapted to:
receive data, the data previously decompressed after a first compression, the first compression including a first quantization in the spectral domain; and
phase shift the data to cause a change to corresponding spectral data produced in subsequent transform coding of the phase-shifted data, thereby reducing quantization error after second quantizaton of the corresponding spectral data, the second quantization being coarser than the first quantization.

### Claim 44 (depends on 43)

The system of claim 43 wherein the phase shift comprises shifting a block of PCM audio data by a number of samples.

### Claim 45 (depends on 44)

The system of claim 44 wherein the system is further adapted to compress, apart from the phase-shifted data, one or more samples shifted out of the block.

### Claim 46 (depends on 43)

The system of claim 43 wherein the phase shift comprises shifting a block of spatial domain data by a number of lines.

### Claim 47 (depends on 43)

The system of claim 43 wherein the phase shift comprises shifting a first section by a first shift amount and shifting a second section by a second shift amount, the first shift amount being different in magnitude and/or direction from the second shift amount.

### Claim 48 (depends on 43)

The system of claim 43 wherein the subsequent transform coding is not shift invariant.

### Claim 49 (depends on 43)

The system of claim 43 wherein the system is further adapted to produce a phase shift indicator, whereby a decompressor compensates for the phase shift based upon the phase shift indicator.

### Claim 50 (depends on 43)

The system of claim 43 wherein the transcoding is homogeneous.

### Claim 51

A method of decompressing phase-shifted data, the method comprising:
receiving phase-shifted data by a decompressor, the phase-shifted data initially compressed when received by the decompressor;
receiving phase-shift-compensating data by the decompressor; and
based upon the phase-shift-compensating data, compensating for phase shift after inverse transform coding of the phase-shifted data.

### Claim 52 (depends on 51)

The method of claim 51 wherein the phase-shift-compensating data includes a phase shift indicator, and wherein the compensating includes reverse shifting the phase-shifted data based upon the indicator.

### Claim 53 (depends on 51)

The method of claim 51 wherein the phase-shift-compensating data includes out-shifted data, and wherein the compensating includes shifting the out-shifted data back into the phase-shifted data.

### Claim 54 (depends on 53)

The method of claim 53 wherein the out-shifted data is initially compressed when received by the decompressor.

### Claim 55 (depends on 51)

The method of claim 51 wherein the compensating includes shifting one or more rows or columns of out-shifted residual block video data back into a residual block.
