IP Library Granted Patent US 11,595,690
Granted Patent B2
US 11,595,690 · App. 17/507,067 · Granted Feb 28, 2023

Methods and apparatus for simplification of coding residual blocks

Inventor: Shih-Ta Hsiang (Hsinchu, TW)
Assignee: HFI INNOVATION INC.
H04N19/61H04N19/105H04N19/176H04N19/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,595,690
App. No.
17/507,067
Granted
Feb 28, 2023
Kind
B2
Abstract

Method and apparatus for encoding and decoding prediction residues in a video coding system also disclosed. At the decoder side, a Rice parameter for the target transform coefficient is determined based on a local sum of absolute levels of neighboring transform coefficients of the target transform coefficient. A dependent quantization state is determined and a zero-position variable is determined based on the dependent quantization state and the Rice parameter. One or more coded bits associated with a first syntax element for the target transform coefficient in a transform block are parsed and decoded using one or more codes including a Golomb-Rice code with the Rice parameter, where the first syntax element corresponds to a modified absolute level value of the target transform coefficient. An absolute level value of the target transform coefficient is derived according to the zero-position variable and the first syntax element.

Claims (42)

1. A method for encoding transform coefficients corresponding to prediction residues in a video coding system, the method comprising:

receiving quantized transform coefficients for a transform block to be coded;

determining a Rice parameter for a target transform coefficient in the transform block based on a local sum of absolute levels of neighboring transform coefficients of the target transform coefficient;

determining a dependent quantization state;

determining a zero-position variable based on the dependent quantization state and the Rice parameter;

determining, based on the zero-position variable and an absolute level value of the target transform coefficient, a value of a first syntax element corresponding to a modified absolute level value of the target transform coefficient; and

generating a video bitstream comprising one or more coded bits for the first syntax element, wherein said one or more coded bits are generated by binarizing the first syntax element using one or more codes comprising a Golomb-Rice code with the Rice parameter,

wherein if the absolute level value of the target transform coefficient is equal to 0, the value of the first syntax element is set equal to the zero-position variable.

2. The method of claim 1 , wherein the zero-position variable is derived according to one or more formulas with inputs comprising the dependent quantization state and the Rice parameter.

3. The method of claim 2 , wherein the dependent quantization state has 4 possible states and said one or more formulas comprise: if the dependent quantization state corresponds to first two possible states, the zero-position variable is set to be (1<<(the Rice parameter)) and “<<” corresponds to an arithmetic left-shift operation.

4. The method of claim 3 , wherein said one or more formulas comprise: if the dependent quantization state corresponds to second two possible states, the zero-position variable is set to be (2<<(the Rice parameter)).

5. The method of claim 4 , wherein the first two possible states have values of 0 and 1 and the second two possible states have values of 2 and 3.

6. The method of claim 1 , wherein the zero-position variable is determined conditionally based on the dependent quantization state and the Rice parameter.

7. An apparatus for encoding transform coefficients corresponding to prediction residues in a video coding system, the apparatus comprising one or more electronic circuits or processors arranged to:

receive quantized transform coefficients for a transform block to be coded;

determine a Rice parameter for a target transform coefficient in the transform block based on a local sum of absolute levels of neighboring transform coefficients of the target transform coefficient;

determine a dependent quantization state;

determine a zero-position variable based on the dependent quantization state and the Rice parameter;

determine, based on the zero-position variable and an absolute level value of the target transform coefficient, a first syntax element corresponding to a modified absolute level value of the target transform coefficient; and

generate a video bitstream comprising one or more coded bits for the first syntax element, wherein said one or more coded bits are generated by binarizing the first syntax element using one or more codes comprising a Golomb-Rice code with the Rice parameter,

wherein if the absolute level value of the target transform coefficient is equal to 0, the value of the first syntax element is set equal to the zero-position variable.

8. A method for decoding transform coefficients corresponding to prediction residues in a video coding system, the method comprising:

determining a Rice parameter for a target transform coefficient based on a local sum of absolute levels of neighboring transform coefficients of the target transform coefficient;

determining a dependent quantization state;

determining a zero-position variable based on the dependent quantization state and the Rice parameter; and

parsing and decoding, from a video bitstream, one or more coded bits associated with a first syntax element for the target transform coefficient in a transform block using one or more codes comprising a Golomb-Rice code with the Rice parameter, wherein the first syntax element corresponds to a modified absolute level value of the target transform coefficient;

deriving an absolute level value of the target transform coefficient according to the zero-position variable and the first syntax element,

wherein if the first syntax element have a value equal to the zero-position variable, the absolute level value of the target transform coefficient is set to 0.

9. The method of claim 8 , wherein the zero-position variable is derived according to one or more formulas with inputs comprising the dependent quantization state and the Rice parameter.

10. The method of claim 9 , wherein the dependent quantization state has 4 possible states and said one or more formulas comprise: if the dependent quantization state corresponds to first two possible states, the zero-position variable is set to be (1<<(the Rice parameter)) and “<<” corresponds to an arithmetic left-shift operation.

11. The method of claim 10 , wherein said one or more formulas comprise: if the dependent quantization state corresponds to second two possible states, the zero-position variable is set to be (2<<(the Rice parameter)).

12. The method of claim 11 , wherein the first two possible states have values of 0 and 1 and the second two possible states have values of 2 and 3.

13. The method of claim 8 , wherein the zero-position variable is determined conditionally based on the dependent quantization state and the Rice parameter.

14. The method of claim 8 , wherein if the first syntax element have a value smaller than the zero-position variable, the absolute level value of the target transform coefficient is set to (the first syntax element+1).

15. The method of claim 8 , wherein if the first syntax element have a value greater than the zero-position variable, the absolute level value of the target transform coefficient is set to the first syntax element.

16. An apparatus for decoding transform coefficients corresponding to prediction residues in a video coding system, the apparatus comprising one or more electronic circuits or processors arranged to:

determine a Rice parameter for a target transform coefficient based on a local sum of absolute levels of neighboring transform coefficients of the target transform coefficient;

determine a dependent quantization state;

determine a zero-position variable based on the dependent quantization state and the Rice parameter; and

parse and decode, from a video bitstream, one or more coded bits associated with a first syntax element for the target transform coefficient in a transform block using one or more codes comprising a Golomb-Rice code with the Rice parameter, wherein the first syntax element corresponds to a modified absolute level value of the target transform coefficient;

derive an absolute level value of the target transform coefficient according to the zero-position variable and the first syntax element,

wherein if the first syntax element have a value equal to the zero-position variable, the absolute level value of the target transform coefficient is set to 0.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2022
From: MEDIATEK INC.
To: HFI INNOVATION INC.
Reel/Frame 059339/0015 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 21, 2021
From: HSIANG, SHIH-TA
To: MEDIATEK INC.
Reel/Frame 057865/0326 →