Patent attributes
A moving picture coding apparatus for performing inter-picture predictive coding for pictures constituting a moving picture is provided with a coding unit for performing predictive error coding for image data; a decoding unit for performing predictive error decoding for an output from the coding unit; a reference picture memory for holding output data from the decoding unit; and a motion vector detection unit for detecting motion vectors on the basis of the decoded image data stored in the memory. When coding a B picture as a target picture, information indicating whether or not the target picture should be used as a reference picture when coding another picture is added as header information. Therefore, in a decoding apparatus for decoding a bit stream Bs outputted from the moving picture coding apparatus, management of a memory for holding the reference picture can be facilitated on the basis of the header information.