Patent ID: 9578323
Date: 2017-02-21
CPC Classifications: H04N

Claim:
1. A moving picture decoding apparatus which decodes an input bit stream of a moving picture, wherein the input bit stream of the moving picture is generated by: generating, on a picture-by-picture basis, either of (i) first information indicating that a target picture, which is one of an I picture, a P picture, and B picture, can be a reference picture to be referred to when coding at least one of P pictures following the target picture or coding at least one of B pictures following the target picture and (ii) second information indicating that the target picture cannot be a reference picture to be referred to when coding each of P pictures following the target picture or coding each of B pictures following the target picture; generating, on a picture-by-picture basis, (iii) third information indicating a plurality of candidate reference pictures, each of the candidate reference pictures being a candidate for a reference picture selected from among pictures for which only the first information is attached, when coding a target P picture or coding a target B picture; generating an assignment rule information of an adaptive assignment method indicating a rule to assign reference picture indices to the candidate reference pictures between a default assignment method of assigning reference picture indices to the candidate reference pictures according to an initialized rule and an adaptive assignment method of assigning reference picture indices to the candidate reference pictures by changing reference picture indices assigned by the default assignment method; generating, on a block-by-block basis, (iv) fourth information indicating one specified reference picture to be referred to when performing predictive coding on a target block included in the target P picture or indicating one or two specified reference pictures to be referred to when performing predictive coding on a target block included in the target B picture; coding, on a block-by-block basis, the target block by using the one specified reference picture when performing predictive coding on the target block included in the target P picture or by using the one or two specified reference pictures to be referred to when performing predictive coding on the target block included in the target B picture to generate coded block data; and adding the first information, the second information, the third information, an assignment rule information of the adaptive assignment method and the fourth information to the coded block data, said moving picture decoding apparatus comprising: a first and second information extracting unit operable to extract, from the input bit stream on a picture-by-picture basis, either of (i) first information indicating that a target picture, which is one of an I picture, a P picture, and B picture, can be a reference picture to be referred to when decoding at least one of P pictures following the target picture or decoding at least one of B pictures following the target picture and (ii) second information indicating that the target picture cannot be a reference picture to be referred to when decoding each of P pictures following the target picture or decoding each of B pictures following the target picture; a third information extracting unit operable to extract from the input bit stream on a picture-by-picture basis, (iii) third information indicating a plurality of candidate reference pictures, each of the candidate reference pictures being a candidate for a reference picture selected from among pictures for which only the first information is attached, when decoding a target P picture or decoding a target B picture; a fourth information extracting unit operable to extract from the input bit stream on a block-by-block basis, (iv) fourth information indicating one specified reference picture to be referred to when performing predictive decoding on a target block included in the target P picture or indicating one or two specified reference pictures to be referred to when performing predictive decoding on a target block included in the target B picture; a storing unit operable to store, on a picture-by-picture basis, the target picture into a memory as a candidate reference picture only when the first information is extracted by the first and second information extracting unit; a reference picture index assigning unit operable to assign reference picture indices to the candidate reference pictures between a default assignment method of assigning reference picture indices to the candidate reference pictures according to an initialized rule and an adaptive assignment method of assigning reference picture indices to the candidate reference pictures by changing reference picture indices assigned by the default assignment method, based on an assignment rule information of the adaptive assignment method extracted from the input bit stream; and a decoding unit operable to decode, on a block-by-block basis, the target block by using the one specified reference picture corresponding to the fourth information when performing predictive decoding on the target block included in the target P picture or by using the one or two specified reference pictures to be referred to corresponding to the fourth information when performing predictive decoding on the target block included in the target B picture, wherein, when the target picture is a P picture and the target block included in the target P picture is predictively decoded, one specified reference picture is specified on a block-by-block basis, from among a plurality of candidate reference pictures which are stored in the memory, and the target block is predictively decoded with reference to the one specified reference picture, and when the target picture is a B picture and the target block included in the target B picture is predictively decoded with reference to one or two specified reference pictures, the one or two specified reference pictures are specified, on a block-by-block basis, from among a plurality of candidate reference pictures which are stored in the memory, and the target block is predictively decoded with reference to the one or two specified reference pictures.