CPC H04N 19/176 (2014.11) [H04N 19/124 (2014.11); H04N 19/13 (2014.11); H04N 19/157 (2014.11); H04N 19/159 (2014.11); H04N 19/196 (2014.11); H04N 19/21 (2014.11); H04N 19/463 (2014.11); H04N 19/593 (2014.11); H04N 19/61 (2014.11)] | 3 Claims |
1. A non-transitory computer-readable medium storing thereon a computer program for decoding a control parameter for controlling decoding of an image, the computer program being executed by a processor, causing the processor to perform operations including:
determining a context for a current block in the image, from among a plurality of contexts; and
performing arithmetic decoding on a bitstream corresponding to the current block, using the determined context to obtain the control parameter for the current block,
wherein the determining further includes:
determining a signal type under which the control parameter for the current block is classified;
determining the context by using both of decoded control parameters for a left block and an upper block, when the signal type is a first type, the left block being a neighboring block to the left of the current block, and the upper block being a neighboring block on top of the current block; and
determining the context by using a predetermined fixed value, without using any decoded control parameters for the left block and the upper block, when the signal type is a second type different from first type,
wherein a skip flag is classified under the first type, the skip flag indicating whether or not the current block is to be skipped, and
wherein a reference picture index is classified under the second type, the reference picture index indicating a reference picture used to predict the current block.
|