# US 2026/0075215 A1 · Adaptive prediction cost estimation for video encoding

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

- Number: US 2026/0075215 A1
- Document ID: US20260075215A1
- Status: Published application
- Kind: A1
- Application number: 19/386,937
- Filed: 2025-11-12
- Published: 2026-03-12
- Earliest claimed: 2025-11-12
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Ximin Zhang; Yi-Jen Chiu; Keith W. Rowe
- Web page: https://patentgrep.com/patent/US20260075215A1

## CPC

- H04N 19/156: Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
- H04N 19/124: Quantisation
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/1883: {the unit relating to sub-band structure, e.g. hierarchical level, directional tree, e.g. low-high [LH], high-low [HL], high-high [HH]}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems and methods for adaptive prediction cost estimation in video encoding are provided. The techniques improve early cost estimation and reduce the number of candidates for the later decision stages and final RDO stage. In particular, an adaptive sum of absolute transformed differences (SATD) is determined for each candidate, and, based on the adaptive SATD values, a subset of candidates is selected for mode decision search to determine block partitioning, motion vectors, and encoding modes, The adaptive SATD combines a weighted DC component of the SATD and the AC component of the SATD. The weighting factor is selected from a DC adjustment ratio table based on the spatial variation and the QP for a respective coding tree unit. The techniques improve cost estimation accuracy, reduce encoding complexity, and are hardware-friendly for integration into video codecs such as HEVC, AV1, VVC, and AV2.

## Claims

### Claim 1

A system, comprising:
one or more processors; and
one or more non-transitory computer-readable media storing instructions that, when executed by the one or more processors, cause the one or more processors to:
receive, at an encoder, a portion of an image frame corresponding to a block of pixels within the image frame;
determine spatial variation of the portion of the image frame;
determine a quantization parameter for the portion of the image frame;
select, based on the spatial variation and the quantization parameter, a DC adjustment ratio from a DC adjustment ratio table;
generate a plurality of candidates, each candidate representing a possible encoding option for the portion of the image frame;
determine, based on the DC adjustment ratio, a respective adaptive sum of absolute transformed differences for each of the plurality of candidates; and
select, from the plurality of candidates, a subset of candidates for encoding mode decision search for the portion of the image frame.

### Claim 2 (depends on 1)

The system of claim 1, wherein the portion of the image frame is a coding tree unit.

### Claim 3 (depends on 1)

The system of claim 1, wherein determining the respective adaptive sum of absolute transformed differences for each of the plurality of candidates includes:
determining a DC component of the respective adaptive sum of absolute transformed differences,
determining an AC component of the respective adaptive sum of absolute transformed differences, and
weighting the DC component by the DC adjustment ratio.

### Claim 4 (depends on 3)

The system of claim 3, wherein the one or more non-transitory computer-readable media further store instructions that cause the one or more processors to: rank each of the plurality of candidates based on the respective adaptive sum of absolute transformed differences for each of the plurality of candidates, and wherein selecting the subset of candidates includes selecting subset of candidates based on the rank.

### Claim 5 (depends on 1)

The system of claim 1, wherein determining the spatial variation of the portion of the image frame includes:
dividing the portion of the image frame into a plurality of segments,
determining a respective block sharpness value for each of the plurality of segments, and
identifying a maximum block sharpness of the respective block sharpness values, wherein the spatial variation is the maximum block sharpness.

### Claim 6 (depends on 1)

The system of claim 1, wherein determining the spatial variation of the portion of the image frame includes:
dividing the portion of the image frame into a plurality of segments,
determining a respective block variance value for each of the plurality of segments, and
identifying a maximum block variance of the respective block variance values, wherein the spatial variation is the maximum block variance.

### Claim 7 (depends on 1)

The system of claim 1, wherein determining the quantization parameter for the portion of the image frame includes generating the quantization parameter based on bitrate control.

### Claim 8 (depends on 1)

The system of claim 1, wherein the one or more non-transitory computer-readable media further store instructions that cause the one or more processors to: generate the DC adjustment ratio table using offline training, the offline training comprising analyzing a plurality of video sequences to determine selected DC adjustment ratios for different spatial variations and for different quantization parameter conditions.

### Claim 9 (depends on 8)

The system of claim 8, wherein generating the DC adjustment ratio table further comprises:
encoding each of a set coding tree units using a selected constant quantization parameter,
selecting, for each of the set of coding tree units, a selected adjustment ratio,
dividing the DC adjustment ratios into N zones,
determining an average spatial variation of the coding tree units in each of the N zones, and
determining threshold values for each of the N zones.

### Claim 10 (depends on 9)

The system of claim 9, wherein generating the DC adjustment ratio table further comprises, for each selected constant quantization parameter, and for the average spatial variation of the coding tree units in each of the N zones, adding the selected adjustment ratio for each of the set of coding tree units to the DC adjustment ratio table.

### Claim 11

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause the one or more processors to:
receive, at an encoder, a portion of an image frame corresponding to a block of pixels within the image frame;
determine spatial variation of the portion of the image frame;
determine a quantization parameter for the portion of the image frame;
select, based on the spatial variation and the quantization parameter, a DC adjustment ratio from a DC adjustment ratio table;
generate a plurality of candidates, each candidate representing a possible encoding option for the portion of the image frame;
determine, based on the DC adjustment ratio, a respective adaptive sum of absolute transformed differences for each of the plurality of candidates; and
select, from the plurality of candidates, a subset of candidates for encoding mode decision search for the portion of the image frame.

### Claim 12 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein determining the respective adaptive sum of absolute transformed differences for each of the plurality of candidates includes:
determining a DC component of the respective adaptive sum of absolute transformed differences,
determining an AC component of the respective adaptive sum of absolute transformed differences, and
weighting the DC component by the DC adjustment ratio.

### Claim 13 (depends on 12)

The one or more non-transitory computer-readable media of claim 12, wherein the instructions further cause the one or more processors to: rank each of the plurality of candidates based on the respective adaptive sum of absolute transformed differences for each of the plurality of candidates, and wherein selecting the subset of candidates includes selecting subset of candidates based on the rank.

### Claim 14 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein determining the spatial variation of the portion of the image frame includes:
dividing the portion of the image frame into a plurality of segments,
determining a respective block sharpness value for each of the plurality of segments, and
identifying a maximum block sharpness of the respective block sharpness values, wherein the spatial variation is the maximum block sharpness.

### Claim 15 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein determining the spatial variation of the portion of the image frame includes:
dividing the portion of the image frame into a plurality of segments,
determining a respective block variance value for each of the plurality of segments, and
identifying a maximum block variance of the respective block variance values, wherein the spatial variation is the maximum block variance.

### Claim 16 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein determining the quantization parameter for the portion of the image frame includes generating the quantization parameter based on bitrate control.

### Claim 17 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein the instructions further cause the one or more processors to: generate the DC adjustment ratio table using offline training, the offline training comprising analyzing a plurality of video sequences to determine selected DC adjustment ratios for different spatial variations and for different quantization parameter conditions.

### Claim 18 (depends on 17)

The one or more non-transitory computer-readable media of claim 17, wherein generating the DC adjustment ratio table further comprises:
encoding each of a set coding tree units using a selected constant quantization parameter,
selecting, for each of the set of coding tree units, a selected adjustment ratio,
dividing the DC adjustment ratios into N zones,
determining an average spatial variation of the coding tree units in each of the N zones, and
determining threshold values for each of the N zones.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein generating the DC adjustment ratio table further comprises, for each selected constant quantization parameter, and for the average spatial variation of the coding tree units in each of the N zones, adding the selected adjustment ratio for each of the set of coding tree units to the DC adjustment ratio table.

### Claim 20

A computer-implemented method, comprising:
receiving, at an encoder, a portion of an image frame corresponding to a block of pixels within the image frame;
determining spatial variation of the portion of the image frame;
determining a quantization parameter for the portion of the image frame;
selecting, based on the spatial variation and the quantization parameter, a DC adjustment ratio from a DC adjustment ratio table;
generating a plurality of candidates, each candidate representing a possible encoding option for the portion of the image frame;
determining, based on the DC adjustment ratio, a respective adaptive sum of absolute transformed differences for each of the plurality of candidates; and
selecting, from the plurality of candidates, a subset of candidates for encoding mode decision search for the portion of the image frame.
