ough j) of this clause apply 3. mvCntInc is set equal to (mvCntInc + 1). For X being replaced by 0 and 1, the arrays refIdxLX, predFlagLX, and mvLX are modified by applying the following ordered steps: 1. When subMbPartIdx is equal to 0, the arrays refldxLX and predFlagLX are modified by refIdxLX| CurrMbAddr ][ mbPartIdx] = refIdxPredLX (G-96) predFlagLX[ CurrMbAddr ][mbPartIdx]=((refldxPredLX<0)?:1) (G-97) 2. The array mvLX is modified by mvLX[ CurrMbAddr ][ mbPartIdx ][ subMbPartIdx ][ C = mvPredLX[ with C = 0..1 (G-98) 3. When predFlagLX[ CurrMbAddr ][ mbPartIdx ] is equal to 1, base_mode_flag is equal to 0, isDirectFlag is equal to 0, and mbType[ CurrMbAddr ] is not equal to P_Skip, the array mvLX is modified by Rec. ITU-T H.264 (01/2012) mvLX[ CurrMbAddr ][ mbPartIdx ][ subMbPartIdx ][ mvd_1X[ mbPartIdx subMbPartIdx (c) with c = 0..1 (G-99) The array mvCnt is modified as follows: If mbPartIdx is equal to 0 and subMbPartIdx is equal to 0, mvCnt CurrMbAddr ] is set equal to myCntInc. Otherwise (mbPartIdx is greater than 0 or subMbPartIdx is greater than 0), the array mvCnt is modified by mvCnt[ CurrMbAddr ] +=mvCntInc (G-100) G.8.4.1.2 SVC derivation process for luma motion vectors and reference indices for B_Skip, B_Direct_16x16, and B_Direct_8x8 in NAL units with nal_unit_type equal to 20 Inputs to this process are: a variable mbPartIdx specifying the current macroblock partition, a one-dimensional array fieldMbFlag with PicSizeInMbs elements specifying which macroblocks of the current layer representation are coded as field macroblocks and which macroblocks are coded as frame macroblocks, a one-dimensional array mbType with PicSizeInMbs elements specifying macroblock types for the macroblocks of the current layer representation, a (PicSizeInMbs)x4 array subMbType specifying sub-macroblock types for the macroblocks of the current layer representation, two (PicSizeInMbs)x4 arrays predFlagL0 and predFlagL1 specifying prediction utilization flags for the macroblocks of the current layer representation, two (Pic