| CPC H04N 19/12 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/197 (2014.11); H04N 19/60 (2014.11); H04N 19/85 (2014.11)] | 10 Claims |

|
1. A method of processing video data, comprising:
performing a conversion between a current video block of a video and a bitstream of the video,
wherein when the current video block is coded using a colour transform mode, the conversion comprises applying an inverse colour transform on the current video block according to a rule,
wherein the rule specifies that a clipping operation is applied to an input of the inverse colour transform,
wherein the clipping operation is based on a sum of a bit depth of the current video block and K, wherein K=1,
wherein the clipping operation is denoted f(a, b, x), wherein x is a value to be clipped, a is a lower bound of the clipping operation, and b is an upper bound of the clipping operation, and wherein a and b are integers, and
wherein f(a, b, x)=(x<a ? a:(x>b ? b:x)), and wherein a=−(1<<(BitDepth+K)).
|