Transform size interactions with coding tools
Methods and apparatus for implementing Discrete Trigonometric transforms are based on maximum transform size. In one embodiment, matrix-based intra prediction is enabled for coding unit sizes up to a specified size, regardless of the maximum transform size. In another embodiment, low-frequency non-separable transforms are used to improve coding gain. Syntax in a bitstream can be used to indicate a coding tool that is used.
1. A method for video encoding, comprising:
enabling, for a block, a matrix-based intra prediction (MIP) regardless of a maximum transform block size;
dividing the block into multiple transform blocks of the maximum transform block size when a size of the block is larger than the maximum transform block size;
performing matrix-based intra prediction of each block of the maximum transform block size to obtain a prediction; and
encoding the block based on the prediction.
2. The method of claim 1 , wherein the maximum transform block size is 32×32.
3. The method of claim 1 , wherein the block size is 64×64, 64×32, or 32×64.
4. A non-transitory computer readable medium containing data content generated according to the method of claim 1 for playback using a processor.
5. The method of claim 1 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises encoding a MIP flag regardless of the maximum transform block size and encoding a MIP mode in a case where the MIP flag equals one.
6. The method of claim 1 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises enabling, for the block, the matrix-based intra prediction in a case where the block size is larger than the maximum transform block size.
7. An apparatus comprising at least one memory and one or more processors and coupled to the memory, wherein the one or more processors are configured to perform:
enabling, for a block, a matrix-based intra prediction (MIP) regardless of a maximum transform block size;
dividing the block into multiple transform blocks of the maximum transform block size when a size of the block is larger than the maximum transform block size;
performing matrix-based intra prediction of each block of the maximum transform block size to obtain a prediction; and
encoding the block based on the prediction.
8. The apparatus of claim 7 , wherein the maximum transform block size is 32×32.
9. The apparatus of claim 7 , wherein the block size is 64×64, 64×32, or 32×64.
10. The apparatus of claim 7 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises encoding a MIP flag regardless of the maximum transform block size and encoding a MIP mode in a case where the MIP flag equals one.
11. The apparatus of claim 7 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises enabling, for the block, the matrix-based intra prediction in a case where the block size is larger than the maximum transform block size.
12. A method for video decoding, comprising:
enabling, for a block, a matrix-based intra prediction (MIP) regardless of a maximum transform block size;
dividing the block into multiple transform blocks of the maximum transform block size when a size of the block is larger than the maximum transform block size;
performing matrix-based intra prediction of each block of the maximum transform block size to obtain a prediction; and
decoding the block based on the prediction.
13. The method of claim 12 , wherein the maximum transform block size is 32×32.
14. The method of claim 12 , wherein the block size is 64×64, 64×32, or 32×64.
15. The method of claim 12 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises decoding a MIP flag regardless of the maximum transform block size and decoding a MIP mode in a case where the MIP flag equals one.
16. The method of claim 12 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises enabling, for the block, the matrix-based intra prediction in a case where the block size is larger than the maximum transform block size.
17. An apparatus comprising at least one memory and one or more processors and coupled to the memory, wherein the one or more processors are configured to perform:
enabling, for a block, a matrix-based intra prediction (MIP) regardless of a maximum transform block size;
dividing the block into multiple transform blocks of the maximum transform block size when a size of the block is larger than the maximum transform block size;
performing matrix-based intra prediction of each block of the maximum transform block size to obtain a prediction; and
decoding the block based on the prediction.
18. A device comprising:
the apparatus according to claim 17 ; and
at least one of (i) an antenna configured to receive a signal, the signal including the block, (ii) a band limiter configured to limit the received signal to a band of frequencies that includes the block, or (iii) a display configured to display an output representative of a video block.
19. The apparatus of claim 17 , wherein the maximum transform block size is 32×32.
20. The apparatus of claim 17 , wherein the block size is 64×64, 64×32, or 32×64.
21. The apparatus of claim 17 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises decoding a MIP flag regardless of the maximum transform block size and decoding a MIP mode in a case where the MIP flag equal one.
22. The apparatus of claim 17 , wherein enabling, for the block, the matrix-based intra prediction (MIP) regardless of the maximum transform block size comprises enabling, for the block, the matrix-based intra prediction in a case where the block size is larger than the maximum transform block size.