Patent ID: 9591311
Date: 2017-03-07
CPC Classifications: H04N

Claim:
1. A coding and decoding apparatus for coding a first control parameter for controlling coding of a first image and decoding a second control parameter for controlling decoding of a second image, the coding and decoding apparatus comprising: processing circuitry; and a memory, wherein the processing circuitry performs the following: determining a first context for a first current block in the first image, from among a plurality of first contexts stored in the memory; and performing arithmetic coding on the first control parameter for the first current block to generate a first bitstream, using the determined first context, wherein the determining of a first context includes: determining a first signal type under which the first control parameter for the first current block is classified; determining the first context by using both of coded first control parameters for a first left block and a first upper block, when the first signal type is a first type, the first left block being a neighboring block to the left of the first current block, and the first upper block being a neighboring block on top of the first current block; and determining the first context by using a predetermined first fixed value, without using any of the coded first control parameters for the first left block and the first upper block, when the first signal type is a second type different from the first type, wherein the first control parameter determined as the first type belongs to the first current block having a size larger than or equal to a size of a first block to which the first control parameter determined as the second type belongs, wherein one of a first split flag and a first skip flag is classified under the first type, the first split flag indicating whether or not the first current block is partitioned into a plurality of blocks, and the first skip flag indicating whether or not the first current block is to be skipped, wherein a first difference parameter is classified under the second type, the first difference parameter indicating a difference between a first motion vector and a first motion vector predictor of the first current block, wherein the processing circuitry further performs the following: determining a second context for a second current block in the second image, from among a plurality of second contexts stored in the memory; and performing arithmetic decoding on a second bitstream corresponding to the second current block, using the determined second context to obtain the second control parameter for the second current block, wherein the determining of a second context includes: determining a second signal type under which the second control parameter for the second current block is classified; determining the second context by using both of decoded second control parameters for a second left block and a second upper block, when the second signal type is a third type, the second left block being a neighboring block to the left of the second current block, and the second upper block being a neighboring block on top of the second current block; and determining the second context by using a predetermined second fixed value, without using any of the decoded second control parameters for the second left block and the second upper block, when the second signal type is a fourth type different from the third type, wherein the second control parameter determined as the third type belongs to the second current block having a size larger than or equal to a size of a second block to which the second control parameter determined as the fourth type belongs, wherein one of a second split flag and a second skip flag is classified under the third type, the second split flag indicating whether or not the second current block is partitioned into a plurality of blocks, and the second skip flag indicating whether or not the second current block is to be skipped, and wherein a second difference parameter is classified under the fourth type, the second difference parameter indicating a difference between a second motion vector and a second motion vector predictor of the second current block.