rMbAddr mbAddrCol6 8*(CurrMbAddr%2)+4*(yCol / 8) Fld To Frm mbAddrCol7 (2*yCol)% 16 Frm_To_Fld CurrMbAddr CurrMbAddr One_To_One Let mbTypeCol be the syntax element mb_type of the macroblock with address mbAddrCol inside the picture colPic and, when mbTypeCol is equal to P_8x8, P_8x8ref0, or B_8x8, let subMbTypeCol be the syntax element list sub_mb_type of the macroblock with address mbAddrCol inside the picture colPic. Let mbPartIdxCol be the macroblock partition index of the co-located partition and subMbPartIdxCol the sub-macroblock partition index of the co-located sub-macroblock partition. The derivation process for macroblock and sub-macroblock partition indices as specified in clause 6.4.13.4 is invoked with the luma location ( xCol, yM), the macroblock type mbTypeCol, and, when mbTypeColisequalto P_8x8,P_8x8ref0,orB_8x8, the list of sub-macroblock Rec. ITU-T H.264 (01/2012) types subMbTypeCol as the inputs and the outputs are the macroblock partition index mbPartIdxCol and the sub-macroblock partition index subMbPartIdxCol. The motion vector mvCol and the reference index refldxCol are derived as follows: If the macroblock mbAddrCol is coded in an Intra macroblock prediction mode, both components of mvCol are set equal to 0 and refldxCol is set equal to -1. Otherwise (the macroblock mbAddrCol is not coded in an Intra macroblock prediction mode), the prediction utilization flags predFlagL0Col and predFlagL1Col are set equal to PredFlagL0[ mbPartIdxCol ] and PredFlagL1[ mbPartIdxCol ], respectively, which are the prediction utilization flags that have been assigned to the macroblock partition mbAddrCol\mbPartIdxCol inside the picture colPic, and the following applies: If predFlagL0Col is equal to 1, the motion vector mvCol and the reference index refldxCol are set equal to MvL0[ mbPartIdxCol ][ subMbPartIdxCol ] and RefIdxL0[ mbPartIdxCol ], respectively, which are the motion vector mvL0 and the reference index refIdxL0 that have been assigned to the (sub-)macroblock partition mbAddrCol\mbPartIdxCol\subMbPart