| CPC H04N 19/70 (2014.11) [H04N 19/105 (2014.11); H04N 19/117 (2014.11); H04N 19/132 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/30 (2014.11); H04N 19/50 (2014.11); H04N 19/80 (2014.11)] | 17 Claims |

|
1. A method of processing video data, comprising:
determining, during a conversion between a current chroma video block of a current video unit of a video region of a video and a bitstream of the video, that a scaling process is applied on chroma residual samples of the current chroma video block; and
performing the conversion by applying the scaling process on the chroma residual samples based on at least one scaling factor,
wherein in the scaling process, the chroma residual samples are scaled before being used to reconstruct the current chroma video block, and
wherein the at least one scaling factor is derived based on a variable which is derived using specific luma samples by an offset-based average operation, and the variable is calculated depending on a color format of the video;
wherein, for a luma video block of the current video unit of the video region, at least one of the following is performed:
1) a forward mapping process for the luma video block, in which prediction samples of the luma video block are converted from an original domain to a reshaped domain; or
2) an inverse mapping process, which is an inverse operation of the forward mapping process, in which reconstructed samples of the luma video block in the reshaped domain are converted to the original domain;
wherein a second piecewise linear model is used to map the prediction samples of the luma video block into particular values during the forward mapping process;
wherein model information of a coding tool for the current video unit is included in the bitstream, wherein the coding tool includes at least one of the scaling process, forward, mapping process, or inverse mapping process,
wherein in response to the video region comprising one or more video units including the current video unit, each of the one or more video units share the same model information of the coding tool for the current video unit,
wherein the one or more video units correspond to one or more slices, one or more tile groups, one or more coding tree units, or one or more coding units, and
wherein the video region is a picture.
|