Image coding method, image decoding method, memory managing method, image coding apparatus, image decoding apparatus, memory managing apparatus, and image coding and decoding apparatus
With an image coding method which allows reduction of processing loads, when pictures included in a video signal are classified into layers so as to belong to their respective layers, a picture that belongs to the second layer that is located in a range restricted according to the first layer to which a current picture to be coded that is one of the pictures belongs, is referred to as a reference picture for the current picture, and the current picture is coded based on the reference picture.
1. An image coding method for coding a video signal using a processor, said image coding method comprising:
classifying a plurality of images included in the video signal into layers, each of the plurality of images belonging to a corresponding one of the layers, the layers including a first layer and a second layer higher than the first layer, where (i) when an image belonging to the first layer is coded, the image belonging to the first layer is not able to refer to another image belonging to the second layer and (ii) when an image belonging to the second layer is coded, the image belonging to the second layer is able to refer to another image belonging to the first layer;
coding (i) a first image and (ii) a second image, the second image preceding the first image in coding order and belonging to the first layer;
coding a third image, the third image belonging to the second layer, and the third image following the first image in the coding order,
wherein in a case that the first image is a specified image to prohibit the third image from referring to the second image, the third image is coded without referring to the second image preceding the first image in the coding order, and
wherein in a case that the first image is not the specified image to prohibit the third image from referring to the second image, the third image is able to be coded by referring to the second image preceding the first image in the coding order.