CPC H04N 19/13 (2014.11) [H04N 19/136 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/70 (2014.11)] | 12 Claims |
1. An encoder, comprising:
circuitry; and
memory connected to the circuitry,
wherein the circuitry, in operation:
encodes an image;
when encoding the image:
binarizes coefficient information of the image;
controls whether to apply arithmetic encoding to a binary data string which is obtained by binarizing the coefficient information; and
outputs a bitstream including the binary data string to which arithmetic encoding has been applied or no arithmetic encoding has been applied; and
when binarizing the coefficient information:
binarizes the coefficient information according to a first syntax structure when arithmetic encoding is to be applied to the binary data string and a determined condition is not satisfied;
binarizes the coefficient information according to a second syntax structure different from the first syntax structure when arithmetic encoding is to be applied to the binary data string and the determined condition is satisfied; and
binarizes the coefficient information according to the second syntax structure when no arithmetic encoding is to be applied to the binary data string.
|