CPC H04N 19/70 (2014.11) [H04N 19/105 (2014.11); H04N 19/129 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 26 Claims |
1. A method for decoding video data, comprising:
determining a context for a syntax element associated with a current transform coefficient of a current sub-block of a picture, the current sub-block resulting from a partitioning of a current block of samples according to a split mode selected from a plurality of split modes for splitting a block into at least one of rectangular sub-blocks or square sub-blocks, wherein the context is determined based on an area of said current sub-block, a position of the current transform coefficient within the current sub-block, and transform coefficients in a local template, wherein the local template is a subset of transform coefficients of the current sub-block comprising transform coefficients in a causal neighborhood of the current transform coefficient, wherein, regardless of the position of the current transform coefficient in the current sub-block, a position of at least one of the transform coefficients of the local template with respect to the current transform coefficient depends on the shape of the current sub-block resulting from the partitioning of the current block of samples according to the selected split mode; and
decoding said syntax element based at least on the determined context.
|