IP Library › Granted Patent US 12,418,653
Granted Patent B2
US 12,418,653 · App. 18/198,253 · Granted Sep 16, 2025

Method for video encoding with residual and coefficients coding, computing device and non-transitory computer-readable storage medium

Inventors: Hong-Jheng Jhu (San Diego, CA); Xiaoyu Xiu (San Diego, CA); Yi-Wen Chen (San Diego, CA); Wei Chen (San Diego, CA); Che-Wei Kuo (Beijing, CN); Xianglin Wang (San Diego, CA); Bing Yu (Beijing, CN)
Assignee: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
H04N19/13H04N19/124H04N19/46
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,418,653
App. No.
18/198,253
Granted
Sep 16, 2025
Kind
B2
Abstract

Method for video encoding with residual and coefficients cording, computer device, and non-transitory computer-readable storage medium are provided. An encoder may receive a video input. The encoder may obtain a quantization parameter based on the video input. The encoder may derive a rice parameter based on at least one predefined threshold, a coding bit-depth, and the quantization parameter. The encoder may entropy encode a video bitstream based on the rice parameter.

Claims (50)

1. A method for video encoding, comprising:

receiving, by an encoder, a video input;

obtaining, by the encoder, a quantization parameter based on the video input;

in response to determining, by the encoder, that a transform_skip_flag is equal to 1 and a sh_ts_residual_coding_disabled_flag is equal to 0, deriving, by the encoder, a rice parameter based on at least one predefined threshold, a coding bit-depth, and the quantization parameter; and

entropy encoding, by the encoder, a video bitstream based on the rice parameter.

2. The method of claim 1 , wherein in response to determining, by the encoder, that the transform_skip_flag is equal to 1 and the sh_ts_residual_coding_disabled_flag is equal to 0, deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

in response to determining, by the encoder, that an extended_precision_processing_flag is equal to 1, the transform_skip_flag is equal to 1, and the sh_ts_residual_coding_disabled_flag is equal to 0, deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter.

3. The method of claim 2 , wherein the at least one predefined threshold comprises a first predefined threshold that equals 8 and a second predefined threshold that equals to 18 or 19.

4. The method of claim 1 , wherein deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving, by the encoder, a first value based on the coding bit-depth minus a first predefined threshold, wherein the at least one predefined threshold comprises the first predefined threshold and a second predefined threshold;

deriving, by the encoder, a second value based on a difference between the second predefined threshold and the quantization parameter divided by a predefined number; and

deriving, by the encoder, the rice parameter based on clipping the second value based on a minimum value and the first value.

5. The method of claim 1 , wherein deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving, by the encoder, a first value based on based on a difference between the at least one predefined threshold, the coding bit-depth, and the quantization parameter divided by a predefined number; and

deriving, by the encoder, the rice parameter based on clipping the first value based on a minimum value and a maximum value.

6. The method of claim 1 , wherein deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving, by the encoder, a first value based on the coding bit-depth minus a first predefined threshold, wherein the at least one predefined threshold comprises the first predefined threshold and a second predefined threshold;

deriving, by the encoder, a second value based on a difference between the second predefined threshold, the coding bit-depth, and the quantization parameter divided by a predefined number;

and

deriving, by the encoder, the rice parameter based on clipping the second value based on a minimum value and the first value.

7. The method of claim 1 , wherein deriving, by the encoder, the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving, by the encoder, a first value based on a difference between the at least one predefined threshold and the quantization parameter divided by a predefined number; and

deriving, by the encoder, the rice parameter based on clipping the first value based on a minimum value and a maximum value.

8. The method of claim 7 , wherein the minimum value is equal to 1 and the maximum value is equal to 8.

9. A computing device, comprising:

one or more processors; and

a non-transitory computer-readable storage medium storing instructions executable by the one or more processors, wherein the one or more processors are configured to perform acts comprising:

receiving a video input;

obtaining a quantization parameter based on the video input;

in response to determining that a transform_skip_flag is equal to 1 and a sh_ts_residual_coding_disabled_flag is equal to 0, deriving a rice parameter based on at least one predefined threshold, a coding bit-depth, and the quantization parameter; and

entropy encoding a video bitstream based on the rice parameter.

10. The computing device of claim 9 , wherein in response to determining that the transform_skip_flag is equal to 1 and the sh_ts_residual_coding_disabled_flag is equal to 0, deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

in response to determining that an extended_precision_processing_flag is equal to 1, the transform_skip_flag is equal to 1, and the sh_ts_residual_coding_disabled_flag is equal to 0, deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter;

wherein the at least one predefined threshold comprises a first predefined threshold that equals 8 and a second predefined threshold that equals to 18 or 19.

11. The computing device of claim 9 , wherein deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving a first value based on the coding bit-depth minus a first predefined threshold, wherein the at least one predefined threshold comprises the first predefined threshold and a second predefined threshold;

deriving a second value based on a difference between the second predefined threshold and the quantization parameter divided by a predefined number; and

deriving the rice parameter based on clipping the second value based on a minimum value and the first value.

12. The computing device of claim 9 , wherein deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving a first value based on based on a difference between the at least one predefined threshold, the coding bit-depth, and the quantization parameter divided by a predefined number; and

deriving the rice parameter based on clipping the first value based on a minimum value and a maximum value.

13. The computing device of claim 9 , wherein deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving a first value based on the coding bit-depth minus a first predefined threshold, wherein the at least one predefined threshold comprises the first predefined threshold and a second predefined threshold;

deriving a second value based on a difference between the second predefined threshold, the coding bit-depth, and the quantization parameter divided by a predefined number;

and

deriving the rice parameter based on clipping the second value based on a minimum value and the first value.

14. The computing device of claim 9 , wherein deriving the rice parameter based on the at least one predefined threshold, the coding bit-depth, and the quantization parameter comprises:

deriving a first value based on a difference between the at least one predefined threshold and the quantization parameter divided by a predefined number; and

deriving the rice parameter based on clipping the first value based on a minimum value and a maximum value;

wherein the minimum value is equal to 1 and the maximum value is equal to 8.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 16, 2023
From: JHU, HONG-JHENG; XIU, XIAOYU; CHEN, YI-WEN; CHEN, WEI; KUO, CHE-WEI; WANG, XIANGLIN; YU, BING
To: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 063660/0966 →
Continuity (3)
Continuation PCTUS2021059636 · Nov 17, 2021
Provisional Application 63115595 · Nov 18, 2020
Related Publication 20230291906A1 · Sep 14, 2023
References Cited (8)
US 20150016537A1 · Karczewicz · 2015 [cited by examiner]
US 20180020241A1 · Li · 2018 [cited by examiner]
US 20200260080A1 · Choi et al. · 2020 [cited by applicant]
Extended European Search Report of EP Application No. 21895481.6 dated Sep. 16, 2024, (7p). [cited by applicant]
Kim, Seung-Hwan et al., Non-RCE2: Rice parameter initialization for higher bit depth coding, Joint Collaborative Team on Video Coding (JCT-VC), of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG11, Document: JCTVC-00327, 15… [cited by applicant]
Bross, Benjamin, 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, Document: T2001-v1, 20th Meeting by teleconference Oct. 7… [cited by applicant]
International Search Report in PCT Application No. PCT/US2021/059636 dated Mar. 2, 2022 with English translation, (4p). [cited by applicant]
Tomonori Hashimoto et al., ‘AHG12: 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/WG 11 20th Meeting: by teleconference, JVET-T0085, Oct… [cited by applicant]