CPC H04N 19/60 (2014.11) [H04N 19/129 (2014.11); H04N 19/13 (2014.11); H04N 19/184 (2014.11); H04N 19/88 (2014.11)] | 20 Claims |
1. An apparatus for decoding a transform block of transform coefficients, the apparatus comprising:
a processor configured to execute instructions to:
obtain a transform type of a transform used for decoding the transform block, the transform being used to perform an inverse transformation operation;
select, based on the transform type, a template for entropy-decoding values related to the transform coefficients,
the template indicating, for a current value of the values to be decoded, relative positions of already coded values with respect to the current value,
the relative positions being one of Cartesian coordinates or scan positions in a scan order, and
the template used for determining a probability distribution for entropy decoding the current value;
determine, using the template, a context for selecting the probability distribution for entropy decoding the current value of the values; and
entropy decode, from a compressed bitstream, the current value using the probability distribution.
|