[Mp4-tech] [H.264] A question about the mbAddrCol calculation

Tan Rui -- Huawei tanrui huawei.com
Fri Aug 4 19:25:09 EDT 2006


Hi, All experts,
When I read the section 8.4.1.2.1 in the H.264 protocol, I find that the calculation about the mbAddrCol is very difficult to understand.
For example, the mbAddrCol1 is calculated as the following:
mbAddrCol1 = 2 * PicWidthInMbs * (CurrMbAddr/PicWidthInMbs) + (CurrMbAddr % PicWidthInMbs) + PicWidthInMbs * (yCol / 8)
I know the above calculation will occur at the Frm-to-Fld condition. I think the first item [ 2 * PicWidthInMbs * (CurrMbAddr/PicWidthInMbs) ]
will get the co-located row number in the co-located frame and the second item [ (CurrMbAddr % PicWidthInMbs) ] will get the column
number. But how about the third item? Why yCol need divide by 8 ? I can not figure it out. Can some one make it clear to me? Thanks.
Tan Rui
2023/08/04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20060804/2afe64dd/attachment.html


More information about the Mp4-tech mailing list