IP Library Granted Patent US 11,451,778
Granted Patent B2
US 11,451,778 · App. 17/164,964 · Granted Sep 20, 2022

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,451,778
App. No.
17/164,964
Granted
Sep 20, 2022
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 (37)

1. 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:

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 one or more computer-readable memory or storage devices of claim 1 , wherein the given unit is a coding unit.

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

5. The one or more computer-readable memory or storage devices 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 one or more computer-readable memory or storage devices 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 one or more computer-readable memory or storage devices 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 being organized to facilitate decoding by a video decoder performing operations, the video decoder being implemented using memory and one or more processing units, the operations comprising:

receiving the encoded data; 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.

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. The one or more computer-readable memory or storage devices of claim 8 , 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.

15. A computing device comprising:

a video encoder configured to perform operations comprising encoding a picture of a video sequence to produce encoded data, the operations 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

one or more buffers configured to store 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.

16. The computing device of claim 15 , wherein the given unit is a coding unit.

17. The computing device of claim 15 , 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.

18. The computing device of claim 17 , wherein the one or more syntax elements are signaled at picture level and/or slice level.

19. The computing device of claim 17 , 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 computing device of claim 15 , 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 Feb 5, 2021
From: LI, BIN; XU, JIZHENG; SULLIVAN, GARY J.
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 055161/0190 →
Continuity (4)
Continuation 16774547 · Jan 28, 2020
Continuation 16126240 · Sep 10, 2018
Continuation 15029223
Related Publication 20210168366A1 · Jun 3, 2021