CPC H04N 19/33 (2014.11) [H04N 19/12 (2014.11); H04N 19/124 (2014.11); H04N 19/136 (2014.11); H04N 19/157 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/30 (2014.11); H04N 19/50 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11); H04N 19/11 (2014.11)] | 19 Claims |
1. A method of processing video data, comprising:
performing a first conversion between a first video block of a video and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies that whether to apply a transform skip mode to the first video block is determined by a coding condition of the first video block,
wherein the format rule specifies that when a syntax element indicative of applicability of the transform skip mode is omitted from the bitstream, the transform skip mode is determined to be enabled due to the coding condition of the first video block indicating that a differential coding mode is used on the first video block;
wherein the transform skip mode includes, skipping applying a forward transform to at least one coefficient prior to encoding into the bitstream, or during decoding, skipping applying an inverse transform to at least one coefficient prior to decoding from the bitstream,
wherein the method further comprises: performing a second conversion between a video transform block of a video with a K×L transform block size and a bitstream of the video, wherein, in response to the K×L video transform block containing more than 32×32 positions, only matrix elements of a scaling matrix within a top-left 32×32 region of the K×L video transform block are kept and remaining matrix elements of the scaling matrix are zeroing-out,
wherein the second conversion is performed using the scaling matrix, wherein the scaling matrix is used to scale at least one coefficient of the K×L video transform block, and
wherein a secondary transform matrix is applied to an S×T top left portion of the K×L video transform block and a flat scaling matrix or an explicit scaling matrix is applied to the K×L video transform block as the scaling matrix, wherein S, T, K and L are integers and K is greater than or equal to S, L is greater than or equal to T, and wherein matrix element values of the default scaling matrix are equal to 16.
|