# US 2024/0205433 A1 · Truncation error signaling and adaptive dither for lossy bandwidth compression

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

- Number: US 2024/0205433 A1
- Document ID: US20240205433A1
- Status: Published application
- Kind: A1
- Application number: 18/066,087
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Hyung Joon KIM; Wei-Jung CHIEN; Cheng-Teh HSIEH; Marta KARCZEWICZ; Natan JACOBSON; Tao WANG; Clara Ka Wah SUNG; Andrew Edmund TURNER
- Web page: https://patentgrep.com/patent/US20240205433A1

## CPC

- H04N 19/34: Scalability techniques involving progressive bit-plane based encoding of the enhancement layer, e.g. fine granular scalability [FGS]
- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- H04N 19/124: Quantisation
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/60: using transform coding
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

This disclosure provides systems, devices, apparatus, and methods, including computer programs encoded on storage media, for truncation error signaling and adaptive dither for lossy bandwidth compression. A processor may perform a truncation process for data, where the data is associated with display processing, image processing, or the data processing, where the truncation process for the data results in truncated data. The processor may compute a set of truncation error values associated with the truncation process for the truncated data. The processor may generate a set of residual samples for the truncated data. The processor may generate a bitstream based on the set of residual samples for the truncated data and the set of truncation error values associated with the truncation process.

## Claims

### Claim 1

An apparatus for data processing, comprising:
a memory; and
at least one processor coupled to the memory and, based at least in part on information stored in the memory, the at least one processor is configured to:
perform a truncation process for data, wherein the data is associated with display processing, image processing, or the data processing, wherein the truncation process for the data results in truncated data;
compute a set of truncation error values associated with the truncation process for the truncated data;
generate a set of residual samples for the truncated data; and
generate a bitstream based on the set of residual samples for the truncated data and the set of truncation error values associated with the truncation process.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the at least one processor is further configured to:
transmit or store the generated bitstream.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein to transmit the generated bitstream, the at least one processor is configured to transmit the generated bitstream from an encoding device to a decoding device, or wherein to store the generated bitstream, the at least one processor is configured to store the generated bitstream in the memory or a second memory, a cache, or a buffer associated with the encoding device.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein to perform the truncation process for the data, the at least one processor is configured to perform at least one bit shift operation on a sample of the data based on a quantization parameter.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein to compute the set of truncation error values associated with the truncation process for the truncated data, the at least one processor is configured to compute an average truncation error value based on a sum of truncation errors for a group of samples associated with one or more of the data, a shift, a bias, or at least one bit shift operation.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein to compute the set of truncation error values associated with the truncation process for the truncated data, the at least one processor is configured to compute an average truncation error value based on a sum of truncation errors for samples in a region within a group of samples associated with one or more of the data, a shift, a bias, or at least one bit shift operation.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein to compute the set of truncation error values associated with the truncation process for the truncated data, the at least one processor is configured to compute an average truncation error value, wherein to compute the average truncation error value, the at least one processor is configured to:
compute a first average truncation error value based on at least one of a quantization parameter, a first value, and a first at least one bit shift operation;
compute a second average truncation error value based on a sum of truncation errors for a group of samples associated with one or more of the data, a bias, a shift, or a second at least one bit shift operation; and
select a lesser of the first average truncation error value or the second average truncation error value to serve as the average truncation error value.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein to compute the set of truncation error values associated with the truncation process for the truncated data, the at least one processor is configured to compute an average truncation error value based on a sum of truncation errors for a group of samples associated with one or more of the data, a shift, a bias, a quantization parameter factor, or at least one bit shift operation.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein to compute the average truncation error value, the at least one processor is configured to compute the average truncation error value based on the sum of the truncation errors for the group of samples, the shift, the bias, the quantization parameter factor, and the at least one bit shift operation if a quantization parameter is greater than a threshold quantization parameter.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the set of truncation error values for the truncation process in the bitstream includes an average truncation error value for each region within a group of samples associated with the data.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein to generate the set of residual samples for the truncated data, the at least one processor is configured to encode the set of residual samples for the truncated data.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein to encode the set of residual samples for the truncated data, the at least one processor is configured to entropy encode the set of residual samples for the truncated data.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein to compute the set of truncation error values, the at least one processor is configured to:
compute at least one representative value that collectively represents the set of truncation error values.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a wireless communication device, further comprising at least one of an antenna or a transceiver coupled to the at least one processor, wherein the at least one processor is further configured to:
obtain the data via at least one of the antenna or the transceiver.

### Claim 15

An apparatus for data processing, comprising:
a memory; and
at least one processor coupled to the memory and, based at least in part on information stored in the memory, the at least one processor is configured to:
obtain a bitstream associated with a set of residual samples for truncated data and a set of truncation error values for a truncation process, wherein the bitstream corresponds to data associated with display processing, image processing, or the data processing;
parse, from the bitstream, the set of residual samples for the truncated data and the set of truncation error values to obtain a set of parsed residual samples for the truncated data; and
reconstruct the truncated data based on the set of parsed residual samples and the set of truncation error values, wherein the reconstruction of the truncated data results in untruncated data.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein to parse the set of residual samples for the truncated data and the set of truncation error values, the at least one processor is configured to entropy decode the set of residual samples for the truncated data.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the at least one processor is further configured to:
transmit, store, or process the untruncated data.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein to transmit the untruncated data, the at least one processor is configured to transmit the untruncated data from a decoding device to a display, or wherein to store the untruncated data, the at least one processor is configured to store the untruncated data in the memory or a second memory, a cache, or a buffer associated with the decoding device, or wherein to process the untruncated data, the at least one processor is configured to process the untruncated data at the decoding device.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the at least one processor is further configured to:
perform, prior to the at least one processor being configured to reconstruct the truncated data, a dither process for the truncated data based on the set of truncation error values, wherein to reconstruct the truncated data, the at least one processor is configured to reconstruct the truncated data further based on the dither process.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein to perform the dither process, the at least one processor is configured to determine a dither strength parameter from a look-up table (LUT) based on a truncation error value associated with the set of truncation error values and a quantization parameter, wherein the LUT comprises a plurality of dither strength parameters for a plurality of truncation error values and a plurality of quantization parameters.

### Claim 21 (depends on 19)

The apparatus of claim 19, wherein to perform the dither process, the at least one processor is configured to obtain a dither strength parameter, wherein the dither strength parameter is a first value if a truncation error value associated with the set of truncation error values is a first error value, wherein the dither strength parameter is a second value if the truncation error value is a second error value, wherein the first value is greater than the second value, wherein the first error value is greater than the second error value.

### Claim 22 (depends on 19)

The apparatus of claim 19, wherein to perform the dither process, the at least one processor is configured to compute at least one dither matrix.

### Claim 23 (depends on 22)

The apparatus of claim 22, wherein the at least one dither matrix comprises a scaled dither matrix and a base dither matrix.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein to compute the scaled dither matrix, the at least one processor is configured to compute the scaled dither matrix based on one or more of the base dither matrix, a dither strength parameter, at least one value associated with the base dither matrix and the dither strength parameter, or at least one bit shift operation.

### Claim 25 (depends on 24)

The apparatus of claim 24, wherein the dither strength parameter is symmetric or asymmetric with respect to a truncation error value.

### Claim 26 (depends on 23)

The apparatus of claim 23, wherein to perform the dither process, the at least one processor is configured to rotate the base dither matrix.

### Claim 27 (depends on 19)

The apparatus of claim 19, wherein to perform the dither process, the at least one processor is configured to compute a dither strength parameter based on one or more of a truncation error value associated with the set of truncation error values, a quantization parameter, or at least one additional parameter.

### Claim 28 (depends on 15)

The apparatus of claim 15, wherein the apparatus is a wireless communication device, further comprising at least one of an antenna or a transceiver coupled to the at least one processor, wherein to obtain the bitstream, the at least one processor is configured to receive the bitstream via at least one of the antenna or the transceiver.

### Claim 29

A method of data processing, comprising:
performing a truncation process for data, wherein the data is associated with display processing, image processing, or the data processing, wherein the truncation process for the data results in truncated data;
computing a set of truncation error values associated with the truncation process for the truncated data;
generating a set of residual samples for the truncated data; and
generating a bitstream based on the set of residual samples for the truncated data and the set of truncation error values associated with the truncation process.

### Claim 30

A method of data processing, comprising:
obtaining a bitstream associated with a set of residual samples for truncated data and a set of truncation error values for a truncation process, wherein the bitstream corresponds to data associated with display processing, image processing, or the data processing;
parsing, from the bitstream, the set of residual samples for the truncated data and the set of truncation error values to obtain a set of parsed residual samples for the truncated data; and
reconstructing the truncated data based on the set of parsed residual samples and the set of truncation error values, wherein the reconstruction of the truncated data results in untruncated data.
