# US 2026/0089350 A1 · Residual and coefficients coding for video coding

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

- Number: US 2026/0089350 A1
- Document ID: US20260089350A1
- Status: Published application
- Kind: A1
- Application number: 19/408,936
- Filed: 2025-12-04
- Published: 2026-03-26
- Earliest claimed: 2021-05-26
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Hong-Jheng JHU; Xiaoyu XIU; Yi-Wen CHEN; Wei CHEN; Che-Wei KUO; Ning YAN; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20260089350A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods, apparatuses, and non-transitory computer-readable storage mediums are provided for video decoding. In one method, a decoder receives a Sequence Parameter Set (SPS) rice adaption enabled flag that indicates whether rice parameter derivation for binarization of abs_remainder and dec_abs_level is initialized at start of each transform unit (TU) with statistics accumulated from previous TUs, and a general constraint information (GCI) rice adaptation enabled flag, in GCI syntax to provide general control of the SPS rice adaptation enabled flag. The abs_remainder is coded with Golomb-rice code and bypass-coded bins in a second pass when remaining number of context-coded bins is greater than or equal to 4 while coding in a first pass, and the dec_abs_level is directly coded in the second pass using the Golomb-Rice code and the bypass-coded bins when remaining number of context-coded bins is less than 4 while coding in the first pass.

## Claims

### Claim 1

A method for video decoding, comprising:
receiving, by a decoder, a Sequence Parameter Set (SPS) rice adaption enabled flag that indicates whether rice parameter derivation for binarization of abs_remainder and dec_abs_level is initialized at start of each transform unit (TU) with statistics accumulated from previous TUs; and
receiving, by the decoder, a general constraint information (GCI) rice adaptation enabled flag, in GCI syntax to provide general control of the SPS rice adaptation enabled flag,
wherein abs_remainder is coded with Golomb-rice code and bypass-coded bins in a second pass in response to determining that remaining number of context-coded bins is greater than or equal to 4 while coding in a first pass; and
wherein dec_abs_level is directly coded in the second pass using Golomb-Rice code and bypass-coded bins in response to determining that the remaining number of the context-coded bins is less than 4 while coding in the first pass.

### Claim 2 (depends on 1)

The method for video decoding of claim 1, further comprising:
in response to determining that a value of the SPS rice adaption enabled flag equals to 1, determining, by the decoder, that the rice parameter derivation for the binarization is initialized at start of each TU with the statistics accumulated from the previous TUs; and
in response to determining that the value of the SPS rice adaption enabled flag equals to 0, determining, by the decoder, that no previous TU state is adopted in the rice parameter derivation.

### Claim 3 (depends on 1)

The method for video decoding of claim 1, further comprising:
in response to determining that a value of the GCI rice adaption enabled flag equals to 1, determining that a value of the SPS rice adaption enabled flag equals to 0.

### Claim 4 (depends on 1)

The method for video decoding of claim 1, wherein a color format of a current block is 4:2:0 or 4:2:2 or 4:4:4.

### Claim 5 (depends on 1)

The method for video decoding of claim 1, wherein a bit depth of a current block is 10, 11, 12, 13, 14, 15 or 16.

### Claim 6

An apparatus for video decoding, comprising:
one or more processors; and
a memory configured to store instructions executable by the one or more processors; wherein the one or more processors, upon execution of the instructions, are configured to perform acts comprising:
receiving, by a decoder, a Sequence Parameter Set (SPS) rice adaption enabled flag that indicates whether rice parameter derivation for binarization of abs_remainder and dec_abs_level is initialized at start of each transform unit (TU) with statistics accumulated from previous TUs; and
receiving, by the decoder, a general constraint information (GCI) rice adaptation enabled flag, in GCI syntax to provide general control of the SPS rice adaptation enabled flag,
wherein abs_remainder is coded with Golomb-rice code and bypass-coded bins in a second pass in response to determining that remaining number of context-coded bins is greater than or equal to 4 while coding in a first pass; and
wherein dec_abs_level is directly coded in the second pass using Golomb-Rice code and bypass-coded bins in response to determining that the remaining number of the context-coded bins is less than 4 while coding in the first pass.

### Claim 7 (depends on 6)

The apparatus for video decoding of claim 6, wherein the one or more processors are further configured to perform following acts:
in response to determining that a value of the SPS rice adaption enabled flag equals to 1, determining, by the decoder, that the rice parameter derivation for the binarization is initialized at start of each TU with the statistics accumulated from the previous TUs; and
in response to determining that the value of the SPS rice adaption enabled flag equals to 0, determining, by the decoder, that no previous TU state is adopted in rice parameter derivation.

### Claim 8 (depends on 6)

The apparatus for video decoding of claim 6, wherein the one or more processors are further configured to perform following act:
in response to determining that a value of the GCI rice adaption enabled flag equals to 1, determining that a value of the SPS rice adaption enabled flag equals to 0.

### Claim 9 (depends on 6)

The apparatus for video decoding of claim 6, wherein a color format of a current block is 4:2:0 or 4:2:2 or 4:4:4.

### Claim 10 (depends on 6)

The apparatus for video decoding of claim 6, wherein a bit depth of a current block is 10, 11, 12, 13, 14, 15 or 16.

### Claim 11

A method of storing a bitstream, comprising:
generating the bitstream by performing a method for video encoding; and
storing the bitstream on a non-transitory computer readable storage medium;
wherein the method for video encoding comprises steps of:
signaling, by an encoder, a Sequence Parameter Set (SPS) rice adaption enabled flag that indicates whether rice parameter derivation for binarization of abs_remainder and dec_abs_level is initialized at start of each transform unit (TU) with statistics accumulated from previous TUs; and
signaling, by the encoder, a general constraint information (GCI) rice adaptation enabled flag, in GCI syntax to provide general control of the SPS rice adaptation enabled flag,
wherein abs_remainder is coded with Golomb-rice code and bypass-coded bins in a second pass in response to determining that remaining number of context-coded bins is greater than or equal to 4 while coding in a first pass; and
wherein dec_abs_level is directly coded in the second pass using Golomb-Rice code and bypass-coded bins in response to determining that the remaining number of the context-coded bins is less than 4 while coding in the first pass.

### Claim 12 (depends on 11)

The method of claim 11, wherein a value of the SPS rice adaption enabled flag being equal to 1 specifies that the rice parameter derivation for the binarization is initialized at start of each TU with the statistics accumulated from the previous TUs; and
the value of the SPS rice adaption enabled flag being equal to 0 specifies no previous TU state is adopted in the rice parameter derivation.

### Claim 13 (depends on 11)

The method of claim 11, wherein a value of the GCI rice adaption enabled flag being equal to 1 specifies that a value of the SPS rice adaption enabled flag equals to 0.

### Claim 14 (depends on 11)

The method of claim 11, wherein a color format of a current block is 4:2:0 or 4:2:2 or 4:4:4.

### Claim 15 (depends on 11)

The method of claim 11, wherein a bit depth of a current block is 10, 11, 12, 13, 14, 15 or 16.

### Claim 16 (depends on 1)

A non-transitory computer-readable storage medium storing a bitstream to be decoded by the method for video decoding of claim 1 executed by a processor.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the method for video decoding further comprises:
in response to determining that a value of the SPS rice adaption enabled flag equals to 1, determining, by the decoder, that the rice parameter derivation for the binarization is initialized at start of each TU with the statistics accumulated from the previous TUs; and
in response to determining that the value of the SPS rice adaption enabled flag equals to 0, determining, by the decoder, that no previous TU state is adopted in the rice parameter derivation.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the method for video decoding further comprises:
in response to determining that a value of the GCI rice adaption enabled flag equals to 1, determining that a value of the SPS rice adaption enabled flag equals to 0.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein a color format of a current block is 4:2:0 or 4:2:2 or 4:4:4.

### Claim 20 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein a bit depth of a current block is 10, 11, 12, 13, 14, 15 or 16.
