IP Library › Granted Patent US 12,647,565
Granted Patent B2
US 12,647,565 · App. 18/566,062 · Granted Jun 2, 2026

Quantization level binarization in video coding

Inventors: Yue Yu (Palo Alto, CA); Haoping Yu (Palo Alto, CA)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/124H04N19/14H04N19/18
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 12,647,565
App. No.
18/566,062
Granted
Jun 2, 2026
Kind
B2
Abstract

A method for encoding a picture of a video including a current transform unit is disclosed. A coefficient of each position in the current transform unit is quantized by a processor to generate quantization levels of the current transform unit. A value of a Rice parameter of a current position in the current transform unit for Golomb-Rice binarization is determined by the processor based on a value of a history variable for a previous transform unit preceding the current transform unit. The value of the history variable is determined based on at least one of a bit depth or a bit rate for encoding the picture. The quantization level of the current position is converted by the processor into a binary representation using Golomb-Rice binarization with the value of the Rice parameter. The binary representation of the current position is compressed by the processor into a bitstream.

Claims (39)

1 . A method for encoding a picture of a video, the picture comprising a current transform unit, the method comprising:

quantizing, by a processor, a coefficient of each position in the current transform unit to generate quantization levels of the current transform unit;

determining, by the processor, a value of a Rice parameter of a current position in the current transform unit for Golomb-Rice binarization based on a value of a history variable for a previous transform unit preceding the current transform unit, wherein the value of the history variable is determined based on at least one of a bit depth or a bit rate for encoding the picture;

converting, by the processor, the quantization level of the current position into a binary representation using Golomb-Rice binarization with the value of the Rice parameter; and

compressing, by the processor, the binary representation of the current position into a bitstream;

wherein the method further comprises:

determining the value of the history variable based on a value of an offset and a first, non-zero, Golomb-Rice coded quantization level of the quantization levels of the previous transform unit.

2 . The method of claim 1 , further comprising:

obtaining the value of the offset based on the at least one of the bit depth or the bit rate for encoding the picture.

3 . The method of claim 2 , wherein the value of the offset is a non-zero integer.

4 . The method of claim 3 , wherein the bit depth is 16 bits, and the value of the offset is 2.

5 . The method of claim 1 , wherein at least one of neighboring positions of the current position is outside of the current transform unit.

6 . The method of claim 1 , wherein the binary representation of the current position comprises a bypass-coded bin in regular residual coding (RRC).

7 . The method of claim 1 , wherein converting the quantization level of the current position comprises converting an absolute level of the quantization level of the current position into the binary representation.

8 . A method for decoding a picture of a video, the picture comprising a current transform unit, the method comprising:

decompressing, by a processor, a bitstream to obtain a binary representation of a current position in the current transform unit, and a value of a Rice parameter of the current position for Golomb-Rice binarization, wherein the value of the Rice parameter is determined based on a value of a history variable for a previous transform unit preceding the current transform unit, and the value of the history variable is determined based on at least one of a bit depth or a bit rate for decoding the picture;

converting, by the processor, the binary representation into a quantization level of the current position using Golomb-Rice binarization with the value of the Rice parameter; and

dequantizing, by the processor, the quantization level of the current position to generate a coefficient of the current position;

wherein the value of the history variable is determined based on a value of an offset and a first, non-zero, Golomb-Rice coded quantization level of the quantization levels of the previous transform unit.

9 . The method of claim 8 , further comprising:

obtaining the value of the offset based on the at least one of the bit depth or the bit rate for decoding the picture.

10 . The method of claim 9 , wherein the value of the offset is a non-zero integer.

11 . The method of claim 10 , wherein the bit depth is 16 bits, and the value of the offset is 2.

12 . The method of claim 8 , wherein at least one of neighboring positions of the current position is outside of the current transform unit.

13 . The method of claim 8 , wherein the binary representation of the current position comprises a bypass-coded bin in regular residual coding (RRC).

14 . The method of claim 8 , wherein converting the binary representation comprises converting the binary representation into an absolute level of the quantization level of the current position.

15 . A non-transitory computer-readable storage medium storing a bitstream and a computer program, wherein when executed by a processor, the computer program causes the processor to generate the bitstream by executing a method for encoding a picture of a video, the picture comprising a current transform unit, the method comprising:

quantizing a coefficient of each position in the current transform unit to generate quantization levels of the current transform unit;

determining a value of a Rice parameter of a current position in the current transform unit for Golomb-Rice binarization based on a value of a history variable for a previous transform unit preceding the current transform unit, wherein the value of the history variable is determined based on at least one of a bit depth or a bit rate for encoding the picture;

converting the quantization level of the current position into a binary representation using Golomb-Rice binarization with the value of the Rice parameter; and

compressing the binary representation of the current position into the bitstream;

wherein the method further comprises:

determining the value of the history variable based on a value of an offset and a first, non-zero, Golomb-Rice coded quantization level of the quantization levels of the previous transform unit.

16 . The non-transitory computer-readable storage medium of claim 15 , wherein the method further comprises:

obtaining the value of the offset based on the at least one of the bit depth or the bit rate for encoding the picture.

17 . The non-transitory computer-readable storage medium of claim 16 , wherein the value of the offset is a non-zero integer.

18 . The non-transitory computer-readable storage medium of claim 17 , wherein the bit depth is 16 bits, and the value of the offset is 2.

19 . The non-transitory computer-readable storage medium of claim 15 , wherein at least one of neighboring positions of the current position is outside of the current transform unit.

20 . The non-transitory computer-readable storage medium of claim 15 , wherein the binary representation of the current position comprises a bypass-coded bin in regular residual coding (RRC).

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 3, 2024
From: INNOPEAK TECHNOLOGY, INC.
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 066994/0119 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 7, 2023
From: YU, YUE; YU, HAOPING
To: INNOPEAK TECHNOLOGY, INC.
Reel/Frame 065801/0927 →
Continuity (2)
Provisional Application 63196618 · Jun 3, 2021
Related Publication 20240297997A1 · Sep 5, 2024
References Cited (21)
US 20130300591A1 · Marpe · 2013 [cited by examiner]
US 20150016537A1 · Karczewicz · 2015 [cited by examiner]
US 20170034511A1 · Yamazaki et al. · 2017 [cited by applicant]
US 20170214940A1 · Chien et al. · 2017 [cited by applicant]
US 20200260080A1 · Choi et al. · 2020 [cited by applicant]
US 20220191529A1 · Rusanovskyy · 2022 [cited by examiner]
US 20220337812A1 · Rusanovskyy · 2022 [cited by examiner]
WIPO, International Search Report and Written Opinion for International Application No. PCT/US2022/031838, Oct. 11, 2022. [cited by applicant]
Bross et al., “Versatile Video Coding Editorial Refinements on Draft 10,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, JVET-T2001-v2, Oct. 2020. [cited by applicant]
“Series H: Audiovisual and Multimedia Systems; Infrastructure of audiovisual services—Coding of moving video: High efficiency video coding,” Telecommunication Standardization Sector of ITU (ITU-T), H.265, Jun. 2019. [cited by applicant]
Wang et al., “AHG8: a full-bypass mode in residual coding for high bit depth and high bit rate extensions,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, JVET-V0122-v1, Apr. 2021. [cited by applicant]
Sarwer et al., “AHG8: CABAC-bypass alignment for high bit-depth coding,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, JVET-V0059-v1, Apr. 2021. [cited by applicant]
Wang et al., “AHG8: a combination of JVET-V0059 option 2 and JVET-V0122 for high bit depth and high bit rate extensions,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, JVET-V0178-v1, Apr. … [cited by applicant]
Rusanovskyy et al., “CE-related: On history-enhanced method of Rice parameter derivation for regular residual coding (RRC) at high bit depths,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29… [cited by applicant]
Browne et al., “CE: Summary Report on Entropy Coding for High Bit Depth and High Bit Rate Coding,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, JVET-V0022, Apr. 2021. [cited by applicant]
Rusanovskyy et al., “CE-1.1 and CE-1.2: On the Rice parameter derivation for high bit-depth coding,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, Document: JVET-U0064, Jan. 2021. [cited by applicant]
Rusanovskyy et al., “CE Related: On signaling and encoder optimization for Rice parameter derivation,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, Document: JVET-U0070, Jan. 2021. [cited by applicant]
EPO, Extended European Search Report for EP Application No. 22816801.9, Mar. 28, 2025. [cited by applicant]
CNIPA, First Office Action for CN Application No. 202411948814.8, Oct. 31, 2025. [cited by applicant]
Browne et al., “Algorithm description for Versatile Video Coding and Test Model 15 (VTM15),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, Document: JVET-X2002-v1, Oct. 2021. [cited by applicant]
CNIPA, Second Office Action for CN Application No. 202411948814.8, Jan. 9, 2026. [cited by applicant]