[Mp4-tech] H.264 Doubt related to MBAFF
Sumit JOHAR
sumit.johar st.com
Wed Aug 3 20:40:53 ESTEDT 2005
Hi All,
I have a doubt regarding MBAFF mode when used with encoder
in H264.
The reconstructed values for each Macroblock-Pair are stored
in enc_picture->imgY (for luma, where enc_picture is current
storable picture type). So when a Macroblock-pair is FIELD
coded then the values stored inside the upper MB of the
MB-pair belongs to the TOP field for that MB-pair and lower MB
contains BOTTOM field values for that MB-pair.
enc_picture->imgY is also used for fetching neighboring Pixel
values for intra prediction. These values are rearranged in
MbaffPostProc() function after coding the complete picture.
So my doubt here is that since enc_picture->imgY is also used
for fetching the neighboring Pixel values then in the case
when current MB-pair is FRAME coded, and if the neighboring
MB-pair is FIELD coded then we will be fetching field-ordered
pixel values as neighboring values.
Is my understanding right?
Thanks in advance
Sumit
More information about the Mp4-tech
mailing list