摘要 |
<p>PROBLEM TO BE SOLVED: To provide an image encoder and an image encoding program, with which encoding efficiency by bidirectional prediction is improved.SOLUTION: A storage section stores a reference image obtained by decoding encoded data of an encoded input image for each frame. A prediction section performs intra-frame prediction, forward prediction or bidirectional prediction by using the reference image stored in the storage section and generates a predicted image block corresponding to an input image block being a part of the input image. When a code amount control section is to perform bidirectional prediction with a decoded image of the predicted image block generated by bidirectional prediction by the prediction section as the reference image, it determines a code amount on the predicted image block to be predicted according to data on motion interpolation of the reference image whose motion interpolation is predicted and decoded in the bidirectional prediction that is previously performed.</p> |