Patent ID: 8218623

Claim:
A picture coding method for coding, per block, each of moving pictures which are a plurality of pictures, by using a quantization matrix, said method comprising: coding a second quantization matrix when the second quantization matrix other than a default quantization matrix is used to code the plurality of the pictures, and outputting, in a coded stream, the coded second quantization matrix and identification information which is attached to the coded second quantization matrix, the identification information being used for identifying the second quantization matrix; coding a current picture included in the plurality of the pictures by using at least one of the default quantization matrix and the second quantization matrix, and outputting data of the coded current picture in the coded stream; and adding a matrix ID to the data of the coded current picture, the matrix ID being used for identifying a quantization matrix which has been used to code the current picture, wherein the coding steps, the outputting steps, and the adding step are executed by a processor.