Moving picture coding method and a moving picture decoding method
A moving picture coding apparatus includes a motion estimation unit ( 101 ) for performing motion estimation by fixing the one of two reference pictures as a reference picture indicated by an inputted default reference picture number DefRefNo and a variable length coding unit ( 107 ) for performing variable length coding on coded residual data ERes, a prediction type PredType, a reference picture number RefNo 2 and motion vectors MV 1, MV 2 on a block-by-block basis, and outputting them as coded moving picture data Str.
1. A picture coding apparatus for dividing a current picture to be coded into blocks, selecting two reference pictures from among reference pictures on a block basis, describing information which identifies the selected reference picture, and performing predictive coding onto the block, said apparatus comprising:
a selecting device, for coding a plural-block image unit made up of a plurality of blocks, operable to select one or two common reference pictures to be commonly referred to, from among plural reference pictures, the one or two common reference pictures being selected from among the plural reference pictures and are assigned commonly to each of the plurality of blocks of the plural-block image unit;
in the case where the two common reference pictures are selected to be commonly referred to, as the two selected reference pictures, describing common information which identifies the two common reference pictures in a common information area for the plural-block image unit such that reference picture identification information for the two selected common reference pictures can be omitted for at least one of the plurality of blocks of the plural-block image unit, instead of describing, per block, reference picture identification information which identifies the selected two reference pictures;
in the case where the one common reference picture is selected to be commonly referred to, as one of the two selected reference pictures, describing common information which identifies the one common reference picture in a common information area for the plural-block image unit such that reference picture identification information for the one selected common reference picture can be omitted for at least one of the plurality of blocks of the plural-block image unit, instead of describing, per block, information which identifies the one of the selected two reference pictures, and further describing, per block, reference picture identification information which identifies the other one of the selected two reference pictures;
a generating device operable to generate a predictive image of a current block to be coded included in the plural-block image unit, using the selected two reference pictures; and
a coding device operable to code the current block using the predictive image.
2. The picture coding apparatus according to claim 1 ,
wherein the plural-block image unit is one of a plural picture unit, a picture unit, and a slice unit.