l to 0), tQPcr[ mbAddr ] (when ChromaArrayType is not equal to 0), the 2x2 arrays refIdxILPredL0 and refIdxILPredL1, and the 4x4x2 arrays mvILPredL0 and mvILPredL1. 3. The SVC derivation process for motion vector components and reference indices as specified in clause G.8.4.1 is invoked with sliceIdc, fieldMbFlag, mbType, subMbType, predFlagL0, predFlagL1, refIdxL0, refIdxL1, mvL0, mvL1, mvCnt, refIdxILPredL0, refIdxILPredL1, mvILPredL0, and mvILPredL1 as the inputs and the outputs are modified versions of the arrays predFlagL0, predFlagL1, refIdxL0, refIdxL1, mvL0, mvL1, and mvCnt. 4. The variable intraResamplingFlag is derived as follows: If any of the following conditions are true, intraResamplingFlag is set equal to 1: mbType[ mbAddr ] is equal to I_BL, RestrictedSpatialResolutionChangeFlag is equal to 0, MbaffFrameFlag is equal to 0, RefLayerMbaffFrameFlag is equal to 0, and base_mode_flag is equal to 1. Otherwise, intraResamplingFlag is set equal to 0. 5. When intraResamplingFlag is equal to 1, the resampling process for intra samples as specified in clause G.8.6.2 is invoked with fieldMbFlag[ mbAddr ], refLayerSliceIdc, refLayerFieldMbFlag, refLayerMbType, refSL, CSL, and, when ChromaArrayType is not equal to 0, refS, refScr, cSCb, and cScp as the inputs and the outputs are a modified version of the array cSL and, when ChromaArrayType is not equal to 0, modified versions of the array cSCb, and cScr. 6. Depending on mbType[ mbAddr ], the following applies: If mbType[ mbAddr ] is equal to I PCM, I 16x16, I 8x8, or I_4x4, the SVC derivation process for intra prediction modes as specified in clause G.8.3.1 is invoked with sliceIdc, fieldMbFlag, baseModeFlag, mbType, ipred4x4, ipred8x8, ipred16x16, and, when ChromaArrayType is equal to 1 or 2, ipredChroma as the inputs and the outputs are modified versions of ipred4x4, ipred8x8, ipred16x16, and, when ChromaArrayType is equal to 1 or 2, ipredChroma. Otherwise, if mbType[ mbAddr ] is not equal to I BL and residual_prediction_flag is equal to 1, the resampling pro