# US 2023/0421173 A1 · Huffman Packing for Delta Compression

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

- Number: US 2023/0421173 A1
- Document ID: US20230421173A1
- Status: Published application
- Kind: A1
- Application number: 17/850,546
- Filed: 2022-06-27
- Published: 2023-12-28
- Earliest claimed: 2022-06-27
- Assignees: ATI Technologies ULC
- Applicants: ATI Technologies ULC
- Inventors: Yaser ElSayed; Angel Serah; Jing Xie
- Web page: https://patentgrep.com/patent/US20230421173A1

## CPC

- H03M 7/3015: {Structural details of digital delta-sigma modulators}
- H03M 7/4037: {Prefix coding}
- H03M 7/6011: {Encoder aspects}
- H03M 7/6029: {Pipelining}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Huffman packing for delta compression is described. In accordance with the described techniques, delta values between neighboring elements of a data block are generated using delta compression. The delta values are transformed according to a transformation algorithm. The transformed delta values are packed using Huffman encoding to generate compressed data that corresponds to the data block.

## Claims

### Claim 1

A method comprising:
generating delta values between neighboring elements of a data block using delta compression;
transforming the delta values according to a transformation algorithm; and
packing the transformed delta values using Huffman encoding to generate compressed data that corresponds to the data block.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the delta values represents a difference between neighboring elements of the data block.

### Claim 3 (depends on 1)

The method of claim 1, wherein transforming the delta values is based on whether a respective delta value is positive or negative.

### Claim 4 (depends on 1)

The method of claim 1, wherein a sign bit of a respective delta value indicates whether the respective delta value is positive or negative.

### Claim 5 (depends on 4)

The method of claim 4, wherein the sign bit is positioned at a leftmost bit location of the respective delta value, and wherein transforming the respective delta value moves the sign bit from the leftmost bit location to a different bit location of a transformed delta value.

### Claim 6 (depends on 4)

The method of claim 4, wherein transforming the delta values shifts at least a subset of bits of the respective delta value of a transformed delta value.

### Claim 7 (depends on 4)

The method of claim 4, wherein transforming the delta values flips bits other than the sign bit of the respective delta value if the respective delta value is negative.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the delta values is an 8-bit string, and wherein transforming the delta values divides the 8-bit string of each of the delta values into two 4-bit strings.

### Claim 9 (depends on 8)

The method of claim 8, wherein packing the transformed delta values using Huffman encoding is based on a frequency of the 4-bit strings of the transformed delta values.

### Claim 10

A method comprising:
generating delta values between neighboring elements of a data block using delta compression; and
prior to packing the delta values transforming the delta values by:
determining, for each delta value, whether the delta value is positive or negative based on a sign bit of the delta value;
if the delta value is negative, moving the sign bit of the delta value to a different bit location, flipping other bits of the delta value, and shifting a subset of the bits of the delta value; or
if the delta value is positive, moving the sign bit of the delta value to the different bit location and shifting the subset of the bits of the delta value without flipping the other bits of the delta value.

### Claim 11 (depends on 10)

The method of claim 10, further comprising packing the transformed delta values using Huffman encoding to generate compressed data that corresponds to the data block.

### Claim 12 (depends on 10)

The method of claim 10, wherein the delta compression comprises delta color compression.

### Claim 13 (depends on 10)

The method of claim 10, wherein each of the delta values are 8 bits and include a bit 0 location, a bit 1 location, a bit 2 location, a bit 3 location, a bit 4 location, a bit 5 location, a bit 6 location, a bit 7 location, and wherein the sign bit is positioned at the bit 7 location, and wherein transforming the delta values comprises moving the sign bit of each of the delta values from the bit 7 location to the bit 4 location.

### Claim 14 (depends on 13)

The method of claim 13, wherein shifting the subset of the bits of the delta value comprises shifting the bit location 4, the bit location 5, and the bit location 6 to the bit location 5, the bit location 6, and the bit location 7, respectively.

### Claim 15

A system comprising:
a delta compression core to generate delta values between neighboring elements of a data block;
a transform core to transform each of the delta values; and
a Huffman packing core to pack the transformed delta values using Huffman encoding to generate compressed data that corresponds to the data block.

### Claim 16 (depends on 15)

The system of claim 15, further comprising a decoder to decompress the compressed data.

### Claim 17 (depends on 15)

The system of claim 15, wherein each of the delta values represents a difference between neighboring elements of the data block.

### Claim 18 (depends on 15)

The system of claim 15, wherein the transform core transforms each of the delta values based on a sign bit of the delta value, wherein the sign bit of the delta value indicates whether the delta value is positive or negative.

### Claim 19 (depends on 15)

The system of claim 15, wherein each of the delta values is an 8-bit string, and wherein the transform core divides the 8-bit string of each of the delta values into two 4-bit strings.

### Claim 20 (depends on 19)

The system of claim 19, wherein the Huffman packing core encodes each of the 4-bit strings with a symbol from a limited set of symbols, wherein the symbol is selected based on a frequency of the 4-bit strings of the transformed delta values.
