# US 2026/0303837 A1 · Decoding method and apparatus, coding method and apparatus, device, medium, and program product

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

- Number: US 2026/0303837 A1
- Document ID: US20260303837A1
- Status: Published application
- Kind: A1
- Application number: 19/694,748
- Filed: 2026-06-01
- Published: 2026-10-01
- Earliest claimed: 2024-10-31
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Xiaozhong XU
- Web page: https://patentgrep.com/patent/US20260303837A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/182: the unit being a pixel
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This application provide a coding method. The coding method includes: coding a video frame, to obtain an original bitstream of the video frame; performing predictive coding on each pixel in the video frame to obtain residual information of the pixel, and the residual information of the pixel being configured for representing a difference between original pixel information and prediction information of the pixel; determining, from the video frame, a target pixel whose residual information satisfies a residual condition; identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame; coding the detail picture, to obtain a detail bitstream of the video frame; and transmitting the original bitstream and the detail bitstream of the video frame to a decoder side for joint picture decoding.

## Claims

### Claim 1

A coding method performed by a computer device, the method comprising:
coding a video frame, to obtain an original bitstream of the video frame;
performing predictive coding on each pixel in the video frame to obtain residual information of the pixel, and the residual information of the pixel being configured for representing a difference between original pixel information and prediction information of the pixel;
determining, from the video frame, a target pixel whose residual information satisfies a residual condition;
identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame;
coding the detail picture, to obtain a detail bitstream of the video frame; and
transmitting the original bitstream and the detail bitstream of the video frame to a decoder side for joint picture decoding.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
comparing the residual information of each pixel in the video frame with a residual threshold, to obtain a residual comparison result of each pixel; and
determining, from the video frame based on the residual comparison result of each pixel, a pixel whose residual information is greater than the residual threshold as the target pixel.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
obtaining N luminance intervals arranged in an ascending order of luminance values, and a residual threshold matching each luminance interval, N being a positive integer;
obtaining a luminance value of each pixel in the video frame, and determining a target luminance interval to which the luminance value of each pixel belongs; and
comparing residual information of each pixel in the video frame with a residual threshold matching the target luminance interval, and determining a pixel for which the residual information is greater than the corresponding residual threshold as the target pixel.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the determining a target luminance interval to which the luminance value of each pixel belongs comprises:
comparing the luminance value of each pixel in the video frame with luminance values comprised in the N luminance intervals, and determining the target luminance interval to which the luminance value of each pixel belongs.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the determining a target luminance interval to which the luminance value of each pixel belongs comprises:
obtaining an average luminance value of a region adjacent to each pixel in the video frame, the average luminance value being obtained by performing an averaging operation on luminance values of all pixels within the region adjacent to the pixel; and
comparing the average luminance value of the region adjacent to each pixel in the video frame with the luminance values comprised in the N luminance intervals, and determining a target luminance interval to which the average luminance value of the region adjacent to each pixel belongs, the target luminance interval to which the average luminance value of the region adjacent to the pixel belongs being used as the target luminance interval to which the luminance value of the pixel belongs.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
obtaining M value intervals arranged in an ascending order of values, and a residual threshold matching each value interval, a maximum value in the M value intervals being a sum of Q first preset values, a minimum value being a sum of Q second preset values, and M and Q being positive integers;
obtaining residual information of each pixel in Q pixels adjacent to any pixel in the video frame, marking non-zero residual information among the residual information of the Q pixels as a first preset value, and marking zero residual information among the residual information of the Q pixels as a second preset value;
performing an addition operation on the marked first preset values in the Q pixels, to obtain a preset value addition result;
determining, based on the preset value addition result, a target value interval to which any pixel belongs; and
determining any pixel as the target pixel if the residual information of any pixel is greater than a residual threshold matching the target value interval.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
performing picture reconstruction on the original bitstream, to obtain a reconstructed picture corresponding to the video frame;
performing picture enhancement processing on the reconstructed picture to obtain an enhanced reconstructed picture; and
performing a difference operation on the enhanced reconstructed picture and the reconstructed picture, to obtain a difference picture, the difference picture comprising a target pixel whose residual information satisfies a residual condition.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame comprises:
performing region partitioning on the video frame, to obtain at least two first regions corresponding to the video frame; and
identifying one of the at least two first region that comprises the target pixel as the specified region in the video frame.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the identifying one of the at least two first region that comprises the target pixel as a specified region in the video frame comprises:
performing region partitioning on any first region comprising the target pixel, to obtain at least two second regions corresponding to the first region, a region area size of the second region being less than a region area size of the first region; and
identifying one of the at least two second region that comprises the target pixel as the specified region in the video frame.

### Claim 10

A computer device, comprising:
a processor adapted to execute a computer program; and
a computer-readable storage medium, the computer-readable storage medium having a computer program stored therein, and the computer program, when executed by the processor, causing the computer device to implement a coding method including:
coding a video frame, to obtain an original bitstream of the video frame;
performing predictive coding on each pixel in the video frame to obtain residual information of the pixel, and the residual information of the pixel being configured for representing a difference between original pixel information and prediction information of the pixel;
determining, from the video frame, a target pixel whose residual information satisfies a residual condition;
identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame;
coding the detail picture, to obtain a detail bitstream of the video frame; and
transmitting the original bitstream and the detail bitstream of the video frame to a decoder side for joint picture decoding.

### Claim 11 (depends on 10)

The computer device according to claim 10, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
comparing the residual information of each pixel in the video frame with a residual threshold, to obtain a residual comparison result of each pixel; and
determining, from the video frame based on the residual comparison result of each pixel, a pixel whose residual information is greater than the residual threshold as the target pixel.

### Claim 12 (depends on 10)

The computer device according to claim 10, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
obtaining N luminance intervals arranged in an ascending order of luminance values, and a residual threshold matching each luminance interval, N being a positive integer;
obtaining a luminance value of each pixel in the video frame, and determining a target luminance interval to which the luminance value of each pixel belongs; and
comparing residual information of each pixel in the video frame with a residual threshold matching the target luminance interval, and determining a pixel for which the residual information is greater than the corresponding residual threshold as the target pixel.

### Claim 13 (depends on 12)

The computer device according to claim 12, wherein the determining a target luminance interval to which the luminance value of each pixel belongs comprises:
comparing the luminance value of each pixel in the video frame with luminance values comprised in the N luminance intervals, and determining the target luminance interval to which the luminance value of each pixel belongs.

### Claim 14 (depends on 12)

The computer device according to claim 12, wherein the determining a target luminance interval to which the luminance value of each pixel belongs comprises:
obtaining an average luminance value of a region adjacent to each pixel in the video frame, the average luminance value being obtained by performing an averaging operation on luminance values of all pixels within the region adjacent to the pixel; and
comparing the average luminance value of the region adjacent to each pixel in the video frame with the luminance values comprised in the N luminance intervals, and determining a target luminance interval to which the average luminance value of the region adjacent to each pixel belongs, the target luminance interval to which the average luminance value of the region adjacent to the pixel belongs being used as the target luminance interval to which the luminance value of the pixel belongs.

### Claim 15 (depends on 10)

The computer device according to claim 10, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
obtaining M value intervals arranged in an ascending order of values, and a residual threshold matching each value interval, a maximum value in the M value intervals being a sum of Q first preset values, a minimum value being a sum of Q second preset values, and M and Q being positive integers;
obtaining residual information of each pixel in Q pixels adjacent to any pixel in the video frame, marking non-zero residual information among the residual information of the Q pixels as a first preset value, and marking zero residual information among the residual information of the Q pixels as a second preset value;
performing an addition operation on the marked first preset values in the Q pixels, to obtain a preset value addition result;
determining, based on the preset value addition result, a target value interval to which any pixel belongs; and
determining any pixel as the target pixel if the residual information of any pixel is greater than a residual threshold matching the target value interval.

### Claim 16 (depends on 10)

The computer device according to claim 10, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
performing picture reconstruction on the original bitstream, to obtain a reconstructed picture corresponding to the video frame;
performing picture enhancement processing on the reconstructed picture to obtain an enhanced reconstructed picture; and
performing a difference operation on the enhanced reconstructed picture and the reconstructed picture, to obtain a difference picture, the difference picture comprising a target pixel whose residual information satisfies a residual condition.

### Claim 17 (depends on 10)

The computer device according to claim 10, wherein the identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame comprises:
performing region partitioning on the video frame, to obtain at least two first regions corresponding to the video frame; and
identifying one of the at least two first region that comprises the target pixel as the specified region in the video frame.

### Claim 18 (depends on 17)

The computer device according to claim 17, wherein the identifying one of the at least two first region that comprises the target pixel as a specified region in the video frame comprises:
performing region partitioning on any first region comprising the target pixel, to obtain at least two second regions corresponding to the first region, a region area size of the second region being less than a region area size of the first region; and
identifying one of the at least two second region that comprises the target pixel as the specified region in the video frame.

### Claim 19

A non-transitory computer-readable storage medium having a computer program stored therein, and the computer program, when executed by a processor of a computer device, causing the computer device to perform a coding method including:
coding a video frame, to obtain an original bitstream of the video frame;
performing predictive coding on each pixel in the video frame to obtain residual information of the pixel, and the residual information of the pixel being configured for representing a difference between original pixel information and prediction information of the pixel;
determining, from the video frame, a target pixel whose residual information satisfies a residual condition;
identifying a specified region in the video frame according to a position of the target pixel in the video frame, to obtain a detail picture of the video frame;
coding the detail picture, to obtain a detail bitstream of the video frame; and
transmitting the original bitstream and the detail bitstream of the video frame to a decoder side for joint picture decoding.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein the determining, from the video frame, a target pixel whose residual information satisfies a residual condition comprises:
obtaining N luminance intervals arranged in an ascending order of luminance values, and a residual threshold matching each luminance interval, N being a positive integer;
obtaining a luminance value of each pixel in the video frame, and determining a target luminance interval to which the luminance value of each pixel belongs; and
comparing residual information of each pixel in the video frame with a residual threshold matching the target luminance interval, and determining a pixel for which the residual information is greater than the corresponding residual threshold as the target pixel.
