IP Library Granted Patent US 10,666,972
Granted Patent B2
US 10,666,972 · App. 16/126,325 · Granted May 26, 2020

Adaptive switching of color spaces, color sampling rates and/or bit depths

Inventors: Bin Li (Beijing, CN); Jizheng Xu (Beijing, CN); Feng Wu (Beijing, CN)
Assignee: Microsoft Technology Licensing, LLC
H04N19/59H04N19/117H04N19/13H04N19/132H04N19/157H04N19/176H04N19/186H04N19/587H04N19/82H04N19/88H04N19/172H04N19/61H04N19/70
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 10,666,972
App. No.
16/126,325
Granted
May 26, 2020
Kind
B2
Abstract

Innovations in adaptive encoding and decoding for units of a video sequence can improve coding efficiency. For example, some of the innovations relate to encoding/decoding that includes adaptive switching of color spaces between units within a video sequence. Other innovations relate encoding/decoding that includes adaptive switching of color sampling rates between units within a video sequence. Still other innovations relate encoding/decoding that includes adaptive switching of bit depths between units within a video sequence.

Claims (39)

1. One or more computer-readable memory or storage devices storing computer-executable instructions for causing a computing device, when programmed thereby, to perform operations comprising:

receiving encoded data in a bitstream, the encoded data including one or more signals indicating how color spaces, color sampling rates and/or bit depths switch between at least some units of video within a sequence, the color spaces including an RGB-type color space and a YCoCg color space, wherein the one or more signals include a flag value for a given unit of the units of the video, the flag value having been entropy coded using context-adaptive binary arithmetic coding, and wherein the flag value indicates a selection between the RGB-type color space and the YCoCg color space for the given unit; and

decoding the encoded data, including:

entropy decoding the flag value;

switching the color spaces, the color sampling rates and/or the bit depths spatially and/or temporally between the at least some units of the video within the sequence during the decoding; and

selectively performing deblock filtering of previously reconstructed content according to one or more rules, including adjusting strength of the deblock filtering depending on whether primary components of two adjacent blocks have non-zero residual values.

2. The one or more computer-readable memory or storage devices of claim 1 , wherein the units of the video are transform blocks of a given picture of the sequence.

3. The one or more computer-readable memory or storage devices of claim 1 , wherein different color components of the given unit have different bit depths.

4. The one or more computer-readable memory or storage devices of claim 1 , wherein the flag value is signaled as part of a block syntax structure for the given unit when there are residual values for the given unit.

5. The one or more computer-readable memory or storage devices of claim 1 , wherein the switching includes performing color space conversion operations between the YCoCg color space and the RGB-type color space for the given unit.

6. The one or more computer-readable memory or storage devices of claim 5 , wherein the switching further includes performing left shift operations on at least some results of the color space conversion operations.

7. In a computing device that implements a video encoder, a method comprising:

encoding video in a sequence, including:

switching color spaces, color sampling rates and/or bit depths spatially and/or temporally between at least some units of the video within the sequence during the encoding, the color spaces including an RGB-type color space and a YCoCg color space;

setting a flag value for a given unit of the units of the video, the flag value indicating a selection between the RGB-type color space and the YCoCg color space for the given unit;

entropy coding the flag value using context-adaptive binary arithmetic coding; and

selectively performing deblock filtering of previously reconstructed content according to one or more rules, including adjusting strength of the deblock filtering depending on whether primary components of two adjacent blocks have non-zero residual values; and

outputting encoded data in a bitstream, the encoded data including one or more signals indicating how the color spaces, the color sampling rates and/or the bit depths switch between the at least some units of the video within the sequence, wherein the one or more signals include the flag value for the given unit.

8. The method of claim 7 , wherein the encoding further includes selecting between:

for lossy coding, using color space conversion operations to switch between the RGB-type color space and the YCoCg color space; and

for lossless coding, using invertible color space conversion operations to switch between the RGB-type color space and the YCoCg color space.

9. The method of claim 7 , wherein the flag value is signaled as part of a block syntax structure for the given unit when there are residual values for the given unit.

10. The method of claim 7 , wherein the units of the video are transform blocks of a given picture of the sequence.

11. The method of claim 7 , wherein different color components of the given unit have different bit depths.

12. The method of claim 7 , wherein the switching includes performing color space conversion operations between the RGB-type color space and the YCoCg color space for the given unit.

13. The method of claim 12 , wherein the switching further includes performing right shift operations on at least some results of the color space conversion operations.

14. The method of claim 12 , wherein the encoding further includes:

performing prediction operations for the given unit.

15. A computer system comprising one or more processors and memory, wherein the computer system implements a video decoder configured to perform operations comprising:

receiving encoded data in a bitstream, the encoded data including one or more signals indicating how color spaces, color sampling rates and/or bit depths switch between at least some units of video within a sequence, the color spaces including an RGB-type color space and a YCoCg color space, wherein the one or more signals include a flag value for a given unit of the units of the video, the flag value having been entropy coded using context-adaptive binary arithmetic coding, and wherein the flag value indicates a selection between the RGB-type color space and the YCoCg color space for the given unit; and

decoding the encoded data, including:

entropy decoding the flag value;

switching the color spaces, the color sampling rates and/or the bit depths spatially and/or temporally between the at least some units of the video within the sequence during the decoding; and

selectively performing deblock filtering of previously reconstructed content according to one or more rules, including adjusting strength of the deblock filtering depending on whether primary components of two adjacent blocks have non-zero residual values.

16. The computer system of claim 15 , wherein the units of the video are transform blocks of a given picture of the sequence.

17. The computer system of claim 15 , wherein different color components of the given unit have different bit depths.

18. The computer system of claim 15 , wherein the flag value is signaled as part of a block syntax structure for the given unit when there are residual values for the given unit.

19. The computer system of claim 15 , wherein the switching includes performing color space conversion operations between the YCoCg color space and the RGB-type color space for the given unit.

20. The computer system of claim 19 , wherein the switching further includes performing left shift operations on at least some results of the color space conversion operations.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 8, 2019
From: LI, BIN; XU, JIZHENG; WU, FENG
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 048283/0614 →
Continuity (2)
Continuation 15029242
Related Publication 20190098335A1 · Mar 28, 2019
Cited By (2)
US 12,289,467 US 12,375,668