IP Library Granted Patent US 12,375,668
Granted Patent B2
US 12,375,668 · App. 18/434,538 · Granted Jul 29, 2025

Adjusting quantization/scaling and inverse quantization/scaling when switching color spaces

Inventors: Bin Li (Beijing, CN); Jizheng Xu (Beijing, CN); Gary J. Sullivan (Bellevue, WA)
Assignee: Microsoft Technology Licensing, LLC
H04N19/124H04N9/64H04N19/136H04N19/174H04N19/176H04N19/186
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,375,668
App. No.
18/434,538
Granted
Jul 29, 2025
Kind
B2
Abstract

Innovations in adaptive encoding and decoding for units of a video sequence can improve coding efficiency when switching between color spaces during encoding and decoding. For example, some of the innovations relate to adjustment of quantization or scaling when an encoder switches color spaces between units within a video sequence during encoding. Other innovations relate to adjustment of inverse quantization or scaling when a decoder switches color spaces between units within a video sequence during decoding.

Claims (34)

1. A computer system comprising one or more processing units and memory wherein the computer system implements a video decoder configured to perform operations comprising:

receiving encoded data, as part of a bitstream, for a picture of a video sequence; and

decoding the encoded data to reconstruct the picture, including:

determining a color space for a given unit of the picture, including selecting, based on a signal in the encoded data, between a first color space and a second color space, the first color space being RGB and the second color space being YCoCg, wherein the color space for the given unit is determined to be the second color space;

adjusting intermediate quantization parameter (“QP”) values for color components of the second color space according to per component color space adjustment factors, the per component color space adjustment factors adjusting the intermediate QP values for the color components of the second color space by rule for Y, Co, and Cg components, respectively, the per component color space adjustment factors depending on the second color space without signaling of syntax elements that indicate the per component color space adjustment factors; and

decoding the given unit based at least in part on the adjusted intermediate QP values.

2. The computer system of claim 1 , wherein the given unit is a coding unit.

3. The computer system of claim 1 , wherein the bitstream includes one or more syntax elements that indicate the intermediate QP values before adjustment according to the per component color space adjustment factors.

4. The computer system of claim 3 , wherein the one or more syntax elements that indicate the intermediate QP values before adjustment are signaled at picture level and/or slice level.

5. The computer system of claim 1 , wherein the per component color space adjustment factors are −5, −3, and −5 for Y, Co, and Cg components, respectively.

6. The computer system of claim 1 , wherein the per component color space adjustment factors are different between at least some of the color components of the second color space.

7. The computer system of claim 1 , wherein the decoding the encoded data to reconstruct the picture further includes:

clipping at least one of the intermediate QP values to be in a range defined between a minimum allowed value and a maximum allowed value.

8. One or more non-transitory computer-readable media storing encoded data, as part of a bitstream, for a picture of a video sequence, the encoded data being organized to facilitate decoding the encoded data to reconstruct the picture, with a computer-implemented video decoder, by operations comprising:

determining a color space for a given unit of the picture, including selecting, based on a signal in the encoded data, between a first color space and a second color space, the first color space being RGB and the second color space being YCoCg, wherein the color space for the given unit is determined to be the second color space;

adjusting intermediate quantization parameter (“QP”) values for color components of the second color space according to per component color space adjustment factors, the per component color space adjustment factors adjusting the intermediate QP values for the color components of the second color space by rule for Y, Co, and Cg components, respectively, the per component color space adjustment factors depending on the second color space without signaling of syntax elements that indicate the per component color space adjustment factors; and

decoding the given unit based at least in part on the adjusted intermediate QP values.

9. The one or more computer-readable media of claim 8 , wherein the given unit is a coding unit.

10. The one or more computer-readable media of claim 8 , wherein the bitstream includes one or more syntax elements that indicate the intermediate QP values before adjustment according to the per component color space adjustment factors.

11. The one or more computer-readable media of claim 10 , wherein the one or more syntax elements that indicate the intermediate QP values before adjustment are signaled at picture level and/or slice level.

12. The one or more computer-readable media of claim 8 , wherein the per component color space adjustment factors are −5, −3, and −5 for Y, Co, and Cg components, respectively.

13. The one or more computer-readable media of claim 8 , wherein the per component color space adjustment factors are different between at least some of the color components of the second color space.

14. In a computer system that implements a video encoder, a method comprising:

encoding a picture of a video sequence to produce encoded data, including:

determining a color space for a given unit of the picture, including selecting between a first color space and a second color space, the first color space being RGB and the second color space being YCoCg, wherein the color space for the given unit is determined to be the second color space;

adjusting intermediate quantization parameter (“QP”) values for color components of the second color space according to per component color space adjustment factors, the per component color space adjustment factors adjusting the intermediate QP values for the color components of the second color space by rule for Y, Co, and Cg components, respectively, the per component color space adjustment factors depending on the second color space without signaling of syntax elements that indicate the per component color space adjustment factors; and

encoding the given unit based at least in part on the adjusted intermediate QP values; and

outputting the encoded data as part of a bitstream, the encoded data including a signal that indicates the color space for the given unit.

15. The method of claim 14 , wherein the given unit is a coding unit.

16. The method of claim 14 , wherein the bitstream includes one or more syntax elements that indicate the intermediate QP values before adjustment according to the per component color space adjustment factors.

17. The method of claim 16 , wherein the one or more syntax elements that indicate the intermediate QP values before adjustment are signaled at picture level and/or slice level.

18. The method of claim 14 , wherein the per component color space adjustment factors are −5, −3, and −5 for Y, Co, and Cg components, respectively.

19. The method of claim 14 , wherein the per component color space adjustment factors are different between at least some of the color components of the second color space.

20. The method of claim 14 , wherein the per component color space adjustment factors depend on energy amplification for the respective color components of the second color space in inverse color space conversion operations.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 25, 2024
From: LI, BIN; XU, JIZHENG; SULLIVAN, GARY J.
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 067222/0518 →
Continuity (6)
Continuation 17887143 · Aug 12, 2022
Continuation 17164964 · Feb 2, 2021
Continuation 16774547 · Jan 28, 2020
Continuation 16126240 · Sep 10, 2018
Continuation 15029223
Related Publication 20240214571A1 · Jun 27, 2024
References Cited (43)
US 6198552B1 · Nagae · 2001 [cited by examiner]
US 6262812B1 · Chan · 2001 [cited by examiner]
US 7209145B2 · Stevens · 2007 [cited by examiner]
US 7675660B2 · Hoshino · 2010 [cited by examiner]
US 10171833B2 · Li et al. · 2019 [cited by applicant]
US 10666972B2 · Li et al. · 2020 [cited by applicant]
US 11166042B2 · Li et al. · 2021 [cited by applicant]
US 11632569B2 · Li et al. · 2023 [cited by applicant]
US 11683522B2 · Li et al. · 2023 [cited by applicant]
US 20100046628A1 · Bhaskaran et al. · 2010 [cited by applicant]
US 20140198846A1 · Guo et al. · 2014 [cited by applicant]
US 20140355689A1 · Tourapis · 2014 [cited by applicant]
US 20220217408A1 · Zhu et al. · 2022 [cited by applicant]
RU 2010133959 · 2012 [cited by applicant]
Corrected Notice of Allowability dated Dec. 6, 2023, from U.S. Appl. No. 17/887,143, 2 pp. [cited by applicant]
Notice of Allowance dated Nov. 9, 2023, from U.S. Appl. No. 17/887,143, 5 pp. [cited by applicant]
Notice of Allowance dated Feb. 14, 2024, from U.S. Appl. No. 18/177,633, 10 pp. [cited by applicant]
Notice of Allowance dated Feb. 21, 2024, from U.S. Appl. No. 18/141,874, 10 pp. [cited by applicant]
Office Action dated Nov. 15, 2023, from U.S. Appl. No. 18/141,874, 7 pp. [cited by applicant]
Chen et al., “Description of screen content coding technology proposal by NCTU and ITRI International,” JCTVC-Q0032, 26 pp. (Mar. 2014). [cited by applicant]
Communication pursuant to Rules 70(2) and 70a(2) EPC and reference to Rule 39(1) EPC dated Nov. 11, 2019, from European Patent Application No. 19179997.2, 2 pp. [cited by applicant]
Communication under Rule 71(3) EPC dated Jul. 10, 2017, from European Patent Application No. 14886682.5, 5 pp. [cited by applicant]
Communication under Rule 71(3) EPC dated Nov. 19, 2019, from European Patent Application No. 14885039.9, 5 pp. [cited by applicant]
Decision to Grant dated Jun. 5, 2018, from Japanese Patent Application No. 2016-559227, 6 pp. [cited by applicant]
Decision to Grant dated Jul. 11, 2019, from Euroepan Patent Application No. 14884978.9, 2 pp. [cited by applicant]
Decision to Grant dated Mar. 26, 2020, from European Patent Application No. 14885039.9, 2 pp. [cited by applicant]
Decision to Grant dated Aug. 20, 2020, from European Patent Application No. 19179997.2, 2 pp. [cited by applicant]
Examiner's Report dated Feb. 17, 2020, from Canadian Patent Application No. 2,939,434, 4 pp. [cited by applicant]
ITU-T Recommendation H.263, “Video Coding for Low Bit Rate Communication,” 226 pp. (Jan. 2005). [cited by applicant]
Notice of Acceptance dated Sep. 10, 2020, from New Zealand Patent Application No. 723358, 2 pp. [cited by applicant]
Notice of Allowance dated Jun. 7, 2018, from U.S. Appl. No. 15/029,243, 5 pp. [cited by applicant]
Notice of Allowance dated Nov. 25, 2020, from Canadian Patent Application No. 2,939,434, 1 p. [cited by applicant]
Notice of Allowance dated May 15, 2024, from U.S. Appl. No. 18/177,633, 10 pp. [cited by applicant]
Notice of Allowance dated Oct. 29, 2024, from U.S. Appl. No. 18/142,430, 9 pp. [cited by applicant]
Notice of Allowance dated Dec. 20, 2024, from U.S. Appl. No. 18/142,430, 13 pp. [cited by applicant]
Notice of Allowance dated May 28, 2020, from Chilean Patent Application No. 2184-2016, 10 pp. [cited by applicant]
Notice of Allowance dated Jun. 10, 2020, from Indonesian Patent Application No. P00201605889, 4 pp. [cited by applicant]
Notice of Allowance dated Dec. 7, 2018, from Mexican Patent Application No. MX/a/2016/011297, 2 pp. [cited by applicant]
Corrected Notice of Allowability dated Sep. 25, 2018, from U.S. Appl. No. 15/029,243, 4 pp. [cited by applicant]
Office Action dated Jun. 5, 2024, from U.S. Appl. No. 18/142,430, 12 pp. [cited by applicant]
Office Action dated Feb. 17, 2025, from Thailand Patent Application No. 1601005073, 10 pp. [cited by applicant]
SMPTE Standard, “Proposed SMPTE Standard for Television: VC-1 Compressed Video Bitstream Format and Decoding Process,” SMPTE 421M-2006, 500 pp. (Aug. 2005). [cited by applicant]
Office Action dated Jun. 18, 2025, from U.S. Appl. No. 18/671,795, 8 pp. [cited by applicant]