CPC H04N 19/70 (2014.11) [H04N 19/13 (2014.11); H04N 19/176 (2014.11); H04N 19/60 (2014.11)] | 27 Claims |
1. A method of decoding video data, the method comprising:
setting a context index variable to a first value, wherein the first value for the context index variable is associated with a first context;
context decoding a first bin for a syntax element indicating a transform using the first context;
determining a new value for the context index variable based on a value of the first bin wherein determining the new value for the context index variable based on the first bin comprises:
in response to the first bin being equal to a first integer, keeping the context index variable at the first value, wherein the context associated with the new value is the same as the context associated with the first value, wherein the first integer equals one of 0 or 1;
context decoding a second bin for the syntax element indicating the transform using a context associated with the new value, wherein the context associated with the new value is one of multiple contexts from a set of available contexts for the second bin;
determining an inverse transform from a set of inverse transform candidates based on the first bin and the second bin; and
applying the inverse transform to a set of coefficients to determine a block of residual data.
|