| CPC H04N 19/59 (2014.11) [H04N 19/117 (2014.11); H04N 19/13 (2014.11); H04N 19/132 (2014.11); H04N 19/157 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/587 (2014.11); H04N 19/82 (2014.11); H04N 19/88 (2014.11); H04N 19/172 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |

|
1. In a computer system 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, wherein the switching 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; 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.
|