# US 2026/0089328 A1 · Decoding method, encoding method and apparatuses

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

- Number: US 2026/0089328 A1
- Document ID: US20260089328A1
- Status: Published application
- Kind: A1
- Application number: 19/404,209
- Filed: 2025-12-01
- Published: 2026-03-26
- Earliest claimed: 2021-11-11
- Assignees: Hangzhou Hikvision Digital Technology Co., Ltd.
- Applicants: Hangzhou Hikvision Digital Technology Co., Ltd.
- Inventors: Liang WEI; Fangdong CHEN; Li WANG
- Web page: https://patentgrep.com/patent/US20260089328A1

## CPC

- H04N 19/124: Quantisation
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/172: the region being a picture, frame or field
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A decoding method includes: analyzing a code stream to obtain one or more picture frames, wherein for each of the one or more picture frames, the picture frame comprises one or more coding units (CUs); determining a plurality of quantization parameter (QP) values for the picture frame, wherein a CU of the one or more CUs comprises a plurality of pixels, each of the plurality of pixels corresponds to a respective QP value in the plurality of QP values, and at least two pixels of the plurality of pixels have different QP values, and for each of the plurality of pixels, the respective QP value corresponding to the pixel is adaptively adjusted based on information of one or more reconstructed pixels surrounding the pixel; and decoding, based on the plurality of QP values, the picture frame.

## Claims

### Claim 1

A decoding method for a picture, performed by a decoding side, and comprising:
analyzing a code stream to obtain one or more picture frames, wherein for each of the one or more picture frames, the picture frame comprises one or more coding units (CUs);
determining a plurality of quantization parameter (QP) values for the picture frame, wherein a CU of the one or more CUs comprises a plurality of pixels, each of the plurality of pixels corresponds to a respective QP value in the plurality of QP values, and at least two pixels of the plurality of pixels have different QP values, and for each of the plurality of pixels, the respective QP value corresponding to the pixel is adaptively adjusted based on information of one or more reconstructed pixels surrounding the pixel; and
decoding, based on the plurality of QP values, the picture frame.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the plurality of QP values for the picture frame comprises:
obtaining a predicted QP value for the pixel; and
determining, based on the predicted QP value for the pixel and derivation information, the respective QP value for the pixel, wherein the derivation information is the information of the one or more reconstructed pixels surrounding the pixel.

### Claim 3 (depends on 2)

The method of claim 2, wherein the predicted QP value for the pixel is a QP value for the CU or a quantization groups (QG) in which the pixel is, or is derived from a QP value for the one or more reconstructed pixels surrounding the pixel,
wherein a method for derivation comprises calculating at least one of a mean, a median, or a mode.

### Claim 4 (depends on 3)

The method of claim 3, wherein the QG is a sub-block of a coding block (CB).

### Claim 5 (depends on 2)

The method of claim 2, wherein the one or more reconstructed pixels are in a square region centered on the pixel, or in a rhombus region centered on the pixel.

### Claim 6 (depends on 2)

The method of claim 2, wherein the information of the one or more reconstructed pixels comprises one or more of: a pixel value, flatness information or texture information, background luminance, or contrast.

### Claim 7 (depends on 2)

The method of claim 2, wherein determining, based on the predicted QP value for the pixel and the derivation information, the respective QP value for the pixel comprises:
determining, based on the information of the one or more reconstructed pixels surrounding the pixel, indication information for the pixel; and
adjusting, based on the indication information and a QP value corresponding to just noticeable distortion, the predicted QP value to determine an adjusted QP value as the respective QP value for the pixel, wherein the QP value corresponding to the just noticeable distortion is a preset value, or is obtained by analyzing a code stream, or is derived from flatness information or texture information, background luminance, and contrast information of a surrounding reconstructed CU.

### Claim 8

An encoding method for a picture, performed by an encoding side, and comprising:
dividing a picture frame into one or more coding units (CUs);
determining a plurality of quantization parameter (QP) values for the picture frame, wherein a CU of the one or more CUs comprises a plurality of pixels, each of the plurality of pixels corresponds to a respective QP value in the plurality of QP values, and at least two pixels of the plurality of pixels have different QP values, and for each of the plurality of pixels, the respective QP value corresponding to the pixel is adaptively adjusted based on information of one or more reconstructed pixels surrounding the pixel; and
encoding, based on the plurality of QP values, the picture frame.

### Claim 9

A video coding system, comprising:
an encoding device; and
a decoding device, wherein the encoding device is communicatively connected to the decoding device,
wherein the encoding device is configured to:
divide a picture frame into one or more coding units (CUs);
determine a plurality of quantization parameter (QP) values for the picture frame; and
encode, based on the plurality of QP values, the picture frame;
wherein the decoding device is configured to:
analyze a code stream to obtain one or more picture frames, wherein the one or more picture frames comprise the picture frame that comprises the one or more CUs;
determine a plurality of QP values for the picture frame; and
decode, based on the plurality of QP values, the picture frame;
wherein a CU of the one or more CUs comprises a plurality of pixels, each of the plurality of pixels corresponds to a respective QP value in the plurality of QP values, and at least two pixels of the plurality of pixels have different QP values, and for each of the plurality of pixels, the respective QP value corresponding to the pixel is adaptively adjusted based on information of one or more reconstructed pixels surrounding the pixel.

### Claim 10 (depends on 9)

The video coding system of claim 9, wherein determining the plurality of QP values for the picture frame comprises:
obtaining a predicted QP value for the pixel; and
determining, based on the predicted QP value for the pixel and derivation information, the respective QP value for the pixel, wherein the derivation information is the information of the one or more reconstructed pixels surrounding the pixel.

### Claim 11 (depends on 10)

The video coding system of claim 10, wherein the predicted QP value for the pixel is a QP value for the CU or a quantization groups (QG) in which the pixel is, or is derived from a QP value for the one or more reconstructed pixels surrounding the pixel,
wherein a method for derivation comprises calculating at least one of a mean, a median, or a mode.

### Claim 12 (depends on 11)

The video coding system of claim 11, wherein the QG is a sub-block of a coding block (CB).

### Claim 13 (depends on 10)

The video coding system of claim 10, wherein the one or more reconstructed pixels are in a square region centered on the pixel, or in a rhombus region centered on the pixel.

### Claim 14 (depends on 10)

The video coding system of claim 10, wherein the information of the one or more reconstructed pixels comprises one or more of: a pixel value, flatness information or texture information, background luminance, or contrast.

### Claim 15 (depends on 10)

The video coding system of claim 10, wherein determining, based on the predicted QP value for the pixel and the derivation information, the respective QP value for the pixel comprises:
determining, based on the information of the one or more reconstructed pixels surrounding the pixel, indication information for the pixel; and
adjusting, based on the indication information and a QP value corresponding to just noticeable distortion, the predicted QP value to determine an adjusted QP value as the respective QP value for the pixel, wherein the QP value corresponding to the just noticeable distortion is a preset value, or is obtained by analyzing a code stream, or is derived from flatness information or texture information, background luminance, and contrast information of a surrounding reconstructed CU.

### Claim 16 (depends on 1)

An electronic device, comprising at least one processor and at least one memory for storing computer instructions, wherein the computer instructions, when executed by the at least one processor, cause the at least one processor to perform the method of claim 1.

### Claim 17 (depends on 8)

An electronic device, comprising at least one processor and at least one memory for storing computer instructions, wherein the computer instructions, when executed by the at least one processor, cause the at least one processor to perform the method of claim 8.

### Claim 18 (depends on 1)

A non-transitory computer-readable storage medium, storing computer programs or instructions thereon, wherein the computer programs or instructions, when executed by an electronic device, cause the electronic device to perform the method of claim 1.

### Claim 19 (depends on 8)

A non-transitory computer-readable storage medium, storing computer programs or instructions thereon, wherein the computer programs or instructions, when executed by an electronic device, cause the electronic device to perform the method of claim 8.
