CPC H04N 19/12 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/60 (2014.11)] | 20 Claims |
1. A method comprising:
obtaining a first coding mode having a first index,
wherein when a value of the first index is 0, the first index indicates that the first coding mode is disabled and when the value of the first index is not 0, the first index indicates a non-separable 2D transform in a set of non-separable 2D transforms for transforming a residual block;
obtaining a second coding mode, the second coding mode having a second index indicating a separable 2D transform in a set of separable 2D transforms for transforming the residual block, when the second coding mode is enabled,
wherein the second index indicates a horizontal transform and a vertical transform to form the separable 2D transform, and
wherein enabling the second coding mode depends on the value of the first index of the first coding mode; and
decoding the residual block according to either the first coding mode when the first coding mode is enabled, or the second coding mode when the second coding mode is enabled.
|