METHOD AND APPARATUS FOR ADVANCED CABAC CONTEXT ADAPTATION FOR LAST COEFFICIENT CODING
Coding of the last coded coefficient position is performed by basing the coding of they coordinate of the position of the last coded coefficient on the x coordinate value of the last coded coefficient. This enables the context adaptive coding of the last coded coefficient parameter much more efficient. In an embodiment, a partial transform is used to code a block of image values. The partial transform enables further efficiencies in coding of the last coded coefficient.
1 . A method for coding a block of transformed coefficients, comprising:
transforming a block of image values to obtain transformed coefficients;
entropy coding two coordinates defining a position in the block of a last non-zero transformed coefficient determined by a scanning of the transformed coefficients,
wherein the entropy coding of one coordinate (y) of said two coordinates depends on the value of the other coordinate (x).
2 . The method of claim 1 , wherein entropy coding said one coordinate (y) uses contexts which depend on the other coordinate (x).
3 . The method of any preceding claim, further comprising:
splitting each of the two coordinates up into a prefix and a suffix; and,
inferring the value of the prefix of the y coordinate from the x coordinate.
4 . The method of any preceding claim, wherein an adaptive set of orthogonal transforms include a partial transform used to transform the block of image values.
5 . An apparatus for coding a set of transformed coefficients, comprising:
a transform circuit operating on a block of image values to obtain transformed coefficients;
an entropy coder that generates a code representing a position of a last coded coefficient from the transformed coefficients,
wherein the position of the last coded coefficient is provided by two coordinates (x,y) characterized in that said entropy coding of a y coordinate depends on the value of an x coordinate.
6 . The apparatus of claim 5 , wherein entropy coding said one coordinate (y) uses contexts which depend on the other coordinate (x).
7 . The apparatus of claim 5 or 6 , wherein said entropy coder splits each of the two coordinates up into a prefix and a suffix; and infers the value of the prefix of the y coordinate from the x coordinate.
8 . A method for decoding a set of transformed coefficients, comprising:
entropy decoding the transformed coefficients to generate a position of a last coded coefficient,
wherein the position of the last coded coefficient is provided by two coordinates (x,y) characterized in that said entropy decoding of a y coordinate depends on the value of an x coordinate;
inverse transforming transformed coefficients to obtain a block of image values.
9 . The method of claim 8 , wherein entropy coding said one coordinate (y) uses contexts which depend on the other coordinate (x).
10 . The method of claim 8 or 9 , further comprising:
splitting each of the two coordinates up into a prefix and a suffix; and,
inferring the value of the prefix of the y coordinate from the x coordinate.
11 . An apparatus for decoding a set of transformed coefficients, comprising:
an entropy decoder that operates on a code representing a position of a last coded coefficient from the transformed coefficients,
wherein the position of the last coded coefficient is provided by two coordinates (x,y) characterized in that said entropy coding of a y coordinate depends on the value of an x coordinate;
an inverse transform circuit operating on transformed coefficients to obtain a block of image values.
12 . The apparatus of claim 11 , wherein entropy coding said one coordinate (y) uses contexts which depend on the other coordinate (x).
13 . The apparatus of claim 11 or 12 , wherein said entropy decoder splits each of the two coordinates up into a prefix and a suffix; and infers the value of the prefix of the y coordinate from the x coordinate.
14 . A non-transitory computer readable storage medium having stored thereon instructions for decoding a set of transformed coefficients according to the method of any one of claims 8 to 10 , or for encoding a set of transformed coefficients according to the method of any one of claims 1 to 3 .
15 . A non-transitory computer readable storage medium having stored thereon a bitstream according to the method of any one of claims 8 to 10 .