# US 10,770,078 B2 · Adaptive gain-shape rate sharing

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

- Number: US 10,770,078 B2
- Document ID: US10770078B2
- Status: Granted
- Kind: B2
- Application number: 16/227,235
- Filed: 2018-12-20
- Published: 2019-04-25
- Granted: 2020-09-08
- Earliest claimed: 2011-04-15
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Erik Norvell
- Web page: https://patentgrep.com/patent/US10770078B2

## CPC

- G10L 19/002: Dynamic bit allocation (for perceptual audio coders G10L19/032)
- G10L 19/0212: {using orthogonal transformation}
- G10L 19/038: Vector quantisation, e.g. TwinVQ audio
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An improved gain-shape vector quantization is achieved by determining a number of bits to be allocated to a gain adjustment- and shape-quantizer for a plurality of combinations of a current bit rate and a first signal property. The bit allocation is derived by using an average of optimal bit allocations for a training data set. A number of bits to the gain adjustment and the shape quantizers for a plurality of combinations of the bit rate and a first signal are pre-calculated, and a table indicating the number of bits to be allocated to the gain adjustment- and the shape-quantizers for a plurality of combinations of the bit rate and a first signal property is created. In this way, the table can be used for achieving an improved bit allocation.

## Claims

### Claim 1

A method in an encoder for allocating bits to a gain adjustment quantizer and a shape quantizer to be used for encoding a gain shape vector comprising a gain adjustment factor and a shape vector, the method comprising:
determining a current bitrate and a signal bandwidth;
identifying a bit allocation for the gain adjustment quantizer and the shape quantizer for the determined current bitrate and the signal bandwidth by using information mapping bit allocations to the gain adjustment quantizer and the shape quantizer based on bitrate and signal bandwidth; and
applying the identified bit allocation when encoding the gain shape vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein the information mapping bit allocations maps bit allocations to the gain adjustment quantizer and the shape quantizer based further on signal length.

### Claim 3 (depends on 1)

The method of claim 1, wherein the signal bandwidth is fixed and known at the encoder.

### Claim 4 (depends on 1)

The method of claim 1, wherein the encoder is a transform domain audio encoder and the current bitrate and signal bandwidth are for a subband of an input audio signal.

### Claim 5

A method in a decoder for allocating bits to a gain adjustment dequantizer and a shape dequantizer to be used for decoding a gain shape vector comprising a gain adjustment factor and a shape vector, the method comprising:
determining a current bitrate and a signal bandwidth;
identifying a bit allocation for the gain adjustment quantizer and the shape quantizer for the determined current bitrate and the signal bandwidth by using information mapping bit allocations to the gain adjustment quantizer and the shape quantizer based on bitrate and signal bandwidth; and
applying the identified bit allocation when decoding the gain shape vector.

### Claim 6 (depends on 5)

The method of claim 5, wherein the information mapping bit allocations maps bit allocations to the gain adjustment quantizer and the shape quantizer based further on signal length.

### Claim 7 (depends on 5)

The method of claim 5, wherein the signal bandwidth is fixed and known at the decoder.

### Claim 8 (depends on 5)

The method of claim 5, wherein the decoder is a transform domain audio decoder.

### Claim 9

An encoder for allocating bits to a gain adjustment quantizer and a shape quantizer to be used for encoding a gain shape vector, wherein the encoder comprises an adaptive bit sharing entity configured to determine a current bitrate and a signal bandwidth and to identify a bit allocation for the gain adjustment quantizer and the shape quantizer for the determined current bitrate and the signal bandwidth by using information mapping bit allocations to the gain adjustment quantizer and the shape quantizer based on bitrate and signal bandwidth, and a gain adjustment quantizer and a shape quantizer configured to apply the identified bit allocation when encoding the gain shape vector.

### Claim 10 (depends on 9)

The encoder of claim 9, wherein the information mapping bit allocations maps bit allocations to the gain adjustment quantizer and the shape quantizer based further on signal length.

### Claim 11 (depends on 9)

The encoder of claim 9, wherein the signal bandwidth is fixed and known at the encoder.

### Claim 12 (depends on 9)

The encoder of claim 9, wherein the encoder is a transform domain audio encoder.

### Claim 13

A decoder for allocating bits to a gain adjustment dequantizer and a shape dequantizer to be used for decoding a gain shape vector, the decoder comprises an adaptive bit sharing entity configured to determine a current bitrate and a signal bandwidth and to identify a bit allocation for the gain adjustment quantizer and the shape quantizer for the determined current bitrate and the signal bandwidth by using information mapping bit allocations to the gain adjustment quantizer and the shape quantizer based on bitrate and signal bandwidth, and a gain adjustment quantizer and a shape dequantizer configured to apply the identified bit allocation when decoding the gain shape vector.

### Claim 14 (depends on 13)

The decoder of claim 13, wherein the information mapping bit allocations maps bit allocations to the gain adjustment quantizer and the shape quantizer based further on signal length.

### Claim 15 (depends on 13)

The decoder of claim 13, wherein the signal bandwidth is fixed and known at the decoder.

### Claim 16 (depends on 9)

The decoder of claim 9, wherein the decoder is a transform domain audio decoder.
