# US 2021/0176460 A1 · Techniques for comparing the compression efficiency of encoding configurations

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

- Number: US 2021/0176460 A1
- Document ID: US20210176460A1
- Status: Published application
- Kind: A1
- Application number: 16/737,654
- Filed: 2020-01-08
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Netflix, Inc.
- Applicants: Netflix, Inc.
- Inventors: Aditya MAVLANKAR
- Web page: https://patentgrep.com/patent/US20210176460A1

## CPC

- G06F 40/146: Coding or compression of tree-structured data
- H04N 19/124: Quantisation
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/154: Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion (use of rate-distortion criteria H04N19/147)
- H04N 19/172: the region being a picture, frame or field
- H04N 19/192: the adaptation method, adaptation tool or adaptation type being iterative or recursive
- G06T 2207/30168: Image quality inspection
- G06T 2207/30176: Document
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In various embodiments, a codec comparison application independently encodes each source image included in a set of source images using a first encoding configuration to generate a first set of encoded images. The codec comparison application also independently encodes each source image included in the set of source images using a second encoding configuration to generate a second set of encoded images. For each encoded image in the first set of encoded images and each encoded image in the second set of encoded images, a visual quality score for a reconstructed source image derived from the encoded image falls within a tolerance of a target visual quality score. Subsequently, the codec comparison application computes a bitrate change based on a first total file size for the first set of encoded image and a second total file size for the second set of encoded images

## Claims

### Claim 1

A computer-implemented method for analyzing encoding configurations, the method comprising:
for each source image included in a plurality of source images, encoding the source image using a first encoding configuration to generate a first encoded image, wherein the first encoded image is included in a first plurality of encoded images, and wherein a visual quality score for a reconstructed source image derived from the first encoded image falls within a tolerance of a target visual quality score;
for each source image included in the plurality of source images, encoding the source image using a second encoding configuration to generate a second encoded image, wherein the second encoded image is included in a second plurality of encoded images, and wherein a visual quality score for a reconstructed source image derived from the second encoded image falls within a tolerance of the target visual quality score;
computing a first total file size for the first plurality of encoded images and a second total file size for the second plurality of encoded images; and
computing a bitrate change based on the first total file size and the second total file size.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the first encoding configuration specifies a first encoder that is included in a first codec, and the second encoding configuration specifies a second encoder that is included in a second codec that is different than the first codec.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the first encoding configuration specifies a first encoder and a first value for a configuration parameter that is associated with the first encoder, the second encoding configuration specifies the first encoder and a second value for the first configuration parameter, and wherein the first value is not equal to the second value.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the first encoding configuration specifies a first encoder that implements one of an AVIF, JPEG, JPEG 2000, WebP, or HEIC compression algorithm.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the first encoding configuration specifies a first encoder and at least one of a profile level, an analysis level, a search level, a psycho-visual option, a performance option, or a tuning option.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein computing the bitrate change comprises computing a percentage change between the first total file size and the second total file size.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the target quality score comprises a PSNR, a value for a VMAF metric, or a value for a BRISQUE metric.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein each encoded image included in the first plurality of encoded images is encoded at a different value for an encoding parameter.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein encoding a first source image included in the plurality of source images using the first encoding configuration comprises:
determining a first value for an encoding parameter based on the first source image, an encoder, and a search interval associated with an encoding parameter; and
causing the encoder to encode the first source image at the first value for the encoding parameter.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein encoding a second source image included in the plurality of source images using the first encoding configuration comprises:
determining a second value for the encoding parameter based on the second source image, the encoder, and the search interval; and
causing the encoder to encode the second source image at the second value for the encoding parameter.

### Claim 11

One or more non-transitory computer readable media including instructions that, when executed by one or more processors, cause the one or more processors to analyze encoding configurations by performing the steps of:
generating a first plurality of encoded images based on a plurality of source images and a first encoding configuration, wherein each encoded image included in the first plurality of encoded images is associated with a different visual quality level that falls within a tolerance of a target visual quality level;
generating a second plurality of encoded images based on the plurality of source images and a second encoding configuration, wherein each encoded image included in the second plurality of encoded images is associated with a different visual quality level that falls within a tolerance of the target visual quality level;
computing a first total file size for the first plurality of encoded images and a second total file size for the second plurality of encoded images; and
computing a bitrate change based on the first total file size and the second total file size.

### Claim 12 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the first encoding configuration specifies a first encoder and a first value for a first configuration parameter that is associated with the first encoder, and the second encoding configuration specifies a second encoder and a second value for a second configuration parameter that is associated with the second encoder.

### Claim 13 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the first encoding configuration specifies a first encoder and a first value for a configuration parameter that is associated with the first encoder, the second encoding configuration specifies the first encoder and a second value for the first configuration parameter, and wherein the first value is not equal to the second value.

### Claim 14 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the first encoding configuration specifies a first encoder that implements one of an AVIF, JPEG, JPEG 2000, WebP, or HEIC compression algorithm.

### Claim 15 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the first encoding configuration specifies a first encoder and at least one of a profile level, an analysis level, a search level, a psycho-visual option, a performance option, or a tuning option.

### Claim 16 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the first encoding configuration specifies a first codec, the second encoding configuration specifies a second codec, and the bitrate change quantifies a difference in compression efficiency when encoding images via the first codec relative to encoding the images via the second codec while maintaining the target visual quality score.

### Claim 17 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein the target visual quality level comprises a PSNR, a value for a VMAF metric, or a value for a BRISQUE metric.

### Claim 18 (depends on 11)

The one or more non-transitory computer readable media of claim 11, wherein generating the first plurality of encoded images comprises:
determining a first value for an encoding parameter based on a first source image included in the plurality of source images, an encoder specified via the first encoding configuration, and a search interval associated with the encoding parameter; and
causing the encoder to encode the first source image at the first value for the encoding parameter to generate a first encoded image that is included in the first plurality of encoded images.

### Claim 19 (depends on 18)

The one or more non-transitory computer readable media of claim 18, wherein generating the first plurality of encoded images further comprises:
determining a second value for the encoding parameter based on a second source image included in the plurality of source images, the encoder, and the search interval; and
causing the encoder to encode the second source image at the second value for the encoding parameter to generate a second encoded image that is included in the first plurality of encoded images.

### Claim 20

A system, comprising:
one or more memories storing instructions; and
one or more processors that are coupled to the one or more memories and, when executing the instructions, are configured to:
generate a first plurality of encoded images based on a plurality of source images, a first encoding configuration, a first search interval associated with a first encoding parameter, and a target visual quality level;
generate a second plurality of encoded images based on the plurality of source images, a second encoding configuration, a second search interval associated with a second encoding parameter, and the target visual quality level;
compute a first total file size for the first plurality of encoded images and a second total file size for the second plurality of encoded images; and
compute a bitrate change based on the first total file size and the second total file size.
