# US 2014/0348221 A1 · Encoding video data using reversible integer approximations of orthonormal transforms

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

- Number: US 2014/0348221 A1
- Document ID: US20140348221A1
- Status: Published application
- Kind: A1
- Application number: 14/262,626
- Filed: 2014-04-25
- Published: 2014-11-27
- Earliest claimed: 2013-04-25
- Assignees: Mozilla Corporation
- Inventors: Timothy B. Terriberry
- Web page: https://patentgrep.com/patent/US20140348221A1

## CPC

- G06F 17/147: {Discrete orthonormal transforms, e.g. discrete cosine transform, discrete sine transform, and variations therefrom, e.g. modified discrete cosine transform, integer transforms approximating the discrete cosine transform (G06F17/145 takes precedence)}
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/63: using sub-band based transform, e.g. wavelets
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An apparatus and method for lossless encoding of video data is provided, including a reversible transform, connected to a plurality of inputs, having a same plurality of orthonormal outputs, wherein the reversible transform comprises rotations combined with internally cancelled scalings that are connected to said orthonormal outputs.

## Claims

### Claim 1

A method for lossless encoding of data, comprising:
receiving the data; and
applying a reversible transform having orthonormal outputs to the received data,
wherein the reversible transform combines rotations with internally cancelled scalings to achieve said orthonormal outputs.

### Claim 2 (depends on 1)

The method of claim 1 wherein the data comprises image data.

### Claim 3 (depends on 1)

The method of claim 1 wherein the data comprises video data.

### Claim 4 (depends on 1)

The method of claim 1 wherein:
the transform is a 4-point Discrete Cosine Transform (DCT) having four inputs and four orthonormal outputs;
two of the inputs are connected to a butterfly-type first transform stage having two outputs, which are scaled by ½ and connected to a second transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 5 (depends on 1)

The method of claim 1 wherein:
the transform is an 8-point Discrete Cosine Transform (DCT) having eight inputs and eight orthonormal outputs;
a first two of the inputs are connected to a butterfly-type first transform stage, the outputs of which are scaled by ½ and connected to a second transform stage;
a second two of the inputs are connected to the second transform stage, the outputs of which are scaled by ½ and connected to a third transform stage;
a third two of the inputs are connected to the third transform stage, the outputs of which are scaled by ½ and connected to a fourth transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 6 (depends on 1)

The method of claim 1 wherein:
the transform is an 2n point Discrete Cosine Transform (DCT) having 2n inputs and 2n orthonormal outputs, where n is an integer;
each pair of the 2n inputs are connected to a respective transform stage, the outputs from all but the last of which are scaled by a factor of ½ and connected to at least one further transform stage that collectively cancels the factor; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 7 (depends on 1)

The method of claim 1 wherein:
the transform is a 4-point Walsh-Hadamard Transform (WHT) having four inputs and four orthonormal outputs;
two of the inputs are connected to a butterfly-type first transform stage having two outputs, which are scaled by ½ and connected to a second transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 8 (depends on 1)

The method of claim 1 wherein the transform is a Haar Wavelet Transform.

### Claim 9 (depends on 1)

The method of claim 1 wherein:
the transform is a 2n point reversible transform having 2n inputs and 2n orthonormal outputs, where n is an integer;
each pair of the 2n inputs are connected to a respective transform stage, the outputs from all but the last of which are scaled by an asymmetrical factor and connected to at least one further transform stage that collectively cancels the asymmetrical factor; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 10

An apparatus for lossless encoding of data, comprising:
a plurality of inputs for receiving the data; and
a reversible transform, connected to the inputs, having a same plurality of orthonormal outputs,
wherein the reversible transform comprises rotations combined with internally cancelled scalings that are connected to said orthonormal outputs.

### Claim 11 (depends on 10)

The apparatus of claim 10 wherein the data comprises image data.

### Claim 12 (depends on 10)

The apparatus of claim 10 wherein the data comprises video data.

### Claim 13 (depends on 10)

The apparatus of claim 10 wherein:
the transform is a 4-point Discrete Cosine Transform (DCT) having four inputs and four orthonormal outputs;
two of the inputs are connected to a butterfly-type first transform stage having two outputs, which are scaled by ½ and connected to a second transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 14 (depends on 10)

The apparatus of claim 10 wherein:
the transform is an 8-point Discrete Cosine Transform (DCT) having eight inputs and eight orthonormal outputs;
a first two of the inputs are connected to a butterfly-type first transform stage, the outputs of which are scaled by ½ and connected to a second transform stage;
a second two of the inputs are connected to the second transform stage, the outputs of which are scaled by ½ and connected to a third transform stage;
a third two of the inputs are connected to the third transform stage, the outputs of which are scaled by ½ and connected to a fourth transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 15 (depends on 10)

The apparatus of claim 10 wherein:
the transform is an 2n point Discrete Cosine Transform (DCT) having 2n inputs and 2n orthonormal outputs, where n is an integer;
each pair of the 2n inputs are connected to a respective transform stage, the outputs from all but the last of which are scaled by a factor of ½ and connected to at least one further transform stage that collectively cancels the factor; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 16 (depends on 10)

The apparatus of claim 10 wherein:
the transform is at least a 4-point Walsh-Hadamard Transform (WHT) having four inputs and four orthonormal outputs;
two of the inputs are connected to a butterfly-type first transform stage having two outputs, which are scaled by ½ and connected to a second transform stage having two outputs; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 17 (depends on 10)

The apparatus of claim 10 wherein the transform is a Haar Wavelet Transform.

### Claim 18 (depends on 10)

The apparatus of claim 10 wherein:
the transform is a 2n point reversible transform having 2n inputs and 2n orthonormal outputs, where n is an integer;
each pair of the 2n inputs are connected to a respective transform stage, the outputs from all but the last of which are scaled by an asymmetrical factor and connected to at least one further transform stage that collectively cancels the asymmetrical factor; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.

### Claim 19

A computer program product for lossless encoding of data, comprising a non-transitory computer-readable medium having a computer-readable program code embodied therein to be executed by one or more processors, the program code including instructions to:
receive the data; and
apply a reversible transform having orthonormal outputs to the received data,
wherein the reversible transform combines rotations with internally cancelled scalings to achieve said orthonormal outputs.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein:
the transform is a 2n point reversible transform having 2n inputs and 2n orthonormal outputs, where n is an integer;
each pair of the 2n inputs are connected to a respective transform stage, the outputs from all but the last of which are scaled by an asymmetrical factor and connected to at least one further transform stage that collectively cancels the asymmetrical factor; and
the outputs of the transform stages comprise the orthonormal outputs of the transform.
