摘要 |
A method for selecting a reference picture is provided to determine reference picture indexes differently according to coding modes of macroblocks, thereby efficiently offering reference picture information used for motion compensation. A reference picture list including plural reference pictures is obtained. An initial reference picture index of the reference pictures is determined based on display order information for the reference pictures. Reference picture index numbers increase for reference pictures having a decreasing display order with respect to a picture including the macroblock. Reference picture numbers increase for reference pictures having an increasing display order with respect to the picture including the macroblock. The reference picture index numbers of the reference pictures having the decreasing display order are larger than the reference picture index numbers of the reference pictures having an increasing display order. The initial reference picture index is selectively corrected to generate a reference picture index determined based on a macroblock level of the macroblock. The selective correction of the initial reference picture index is performed by a selective correction process and a macroblock decode process. In the selective correction process, the determined reference picture index is the initial reference picture index if the macroblock level of the macroblock is a frame, and the determined reference picture index is a correction of the initial reference picture index if the macroblock level of the macroblock is a field. The macroblock is decoded by selecting at least one reference picture from the reference picture list using the determined reference picture index.
|