Adaptive switching of color spaces, color sampling rates and/or bit depths
AssigneeMicrosoft Technology Licensing, LLC
InventorsBin Li, Jizheng Xu, Feng Wu
Life of this patent
Estimating the term…
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.
Claims24
A computing device comprising:
- one or more buffers configured to store video in a sequence;
- and
- a video encoder or image encoder configured to perform operations comprising:
- encoding the video in the 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, wherein the encoder is configured to:
- for lossy coding, use color space conversion operations to switch between the RGB-type color space and the YCoCg color space;
- and
- for lossless coding, use invertible color space conversion operations and an increased intermediate bit depth to switch between the RGB-type color space and the YCoCg color space;
- 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.
-4. (canceled)
-9. (canceled)
-15. (canceled)
-29. (canceled)
-34. (canceled)
In a computing device with a video decoder or image decoder, a method 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 and 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.
One or more computer-readable media storing computer-executable instructions for causing a computing device, when programmed thereby, to perform operations 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, wherein the encoding includes:
- 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 and an increased intermediate bit depth to switch between the RGB-type color space and the YCoCg color space;
- 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.
Dependencies are inferred from the claim text.