IP Library Granted Patent US 11,943,440
Granted Patent B2
US 11,943,440 · App. 17/887,143 · Granted Mar 26, 2024

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 11,943,440
App. No.
17/887,143
Granted
Mar 26, 2024
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. In a computer system that implements a video decoder, a method 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 method of claim 1 , wherein the given unit is a coding unit.

3. The method 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 method of claim 3 , wherein the one or more syntax elements are signaled at picture level and/or slice level.

5. The method 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 method 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 method 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 computer-readable memory or storage devices storing encoded data, as part of a bitstream, for a picture of a video sequence, the encoded data having been produced by a video encoder performing operations, the video encoder being implemented using memory and one or more processing units, the operations comprising:

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, the encoded data including a signal that indicates the color space for the given unit.

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

10. The one or more computer-readable memory or storage devices 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 memory or storage devices of claim 10 , wherein the one or more syntax elements are signaled at picture level and/or slice level.

12. The one or more computer-readable memory or storage devices 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 memory or storage devices 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. One or more computer-readable memory or storage devices having stored thereon computer-executable instructions for causing a computing device, when programmed thereby, to perform operations 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

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

15. The one or more computer-readable memory or storage devices of claim 14 , wherein the given unit is a coding unit.

16. The one or more computer-readable memory or storage devices 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 one or more computer-readable memory or storage devices of claim 16 , wherein the one or more syntax elements are signaled at picture level and/or slice level.

18. The one or more computer-readable memory or storage devices 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 one or more computer-readable memory or storage devices 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 one or more computer-readable memory or storage devices 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 Dec 13, 2022
From: LI, BIN; XU, JIZHENG; SULLIVAN, GARY J.
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 062074/0261 →
Continuity (5)
Continuation 17164964 · Feb 2, 2021
Continuation 16774547 · Jan 28, 2020
Continuation 16126240 · Sep 10, 2018
Continuation 15029223
Related Publication 20220394263A1 · Dec 8, 2022