Patent ID: 8208546

Claim:
A method of decoding a bi-predictive macroblock, comprising: obtaining, by a moving picture decoder, a first reference frame picture list and a second reference frame picture list including multiple reference frame pictures respectively; determining, by a moving picture decoder, a reference frame picture index based on display order information for the multiple reference frame pictures, first reference frame picture index numbers of reference frame pictures in the first reference frame picture list being allocated to reference frame pictures having a less display order than that of a picture including the macroblock in reverse order of the display order and the rest of the first reference frame picture index numbers being allocated to reference frame pictures having a greater display order than that of the picture including the macroblock in the display order, and second reference frame picture index numbers of reference frame pictures in the second reference frame picture list being allocated to reference frame pictures having a greater display order than that of the picture including the macroblock in the display order and the rest of the second reference frame picture index numbers being allocated to reference frame pictures having a less display order than that of the picture including the macroblock in reverse order of the display order; obtaining, by the moving picture decoder, first motion vector information and second motion vector information for the macroblock; obtaining, by the moving picture decoder, a first reference field picture index and a second reference field picture index associated with the macroblock; determining, by the moving picture decoder, a first reference frame picture from the first reference frame picture list based on the first reference field picture index divided by 2 and the first reference frame picture index, and determining a second reference frame picture from the second reference frame picture list based on the second reference field picture index divided by 2 and the second reference frame picture index; selecting, by the moving picture decoder, a first reference field picture having a same parity as the macroblock if the first reference field picture index is an even number, and selecting a second reference field picture having a same parity as the macroblock if the second reference field picture index is an even number; and decoding, by the moving picture decoder, the macroblock based on the first and second motion vector information and the selected first and second reference field pictures.