 and refIdxILPredL1, and the 4x4x2 arrays mvILPredL0 and mvILPredL1 are derived as follows: If base_mode_flag is equal to 1 or any syntax element motion_prediction_flag_IX[mbPartIdx ] with X being replaced by 0 and 1 and mbPartIdx = 0..3 is equal to 1, the derivation process for inter-layer predictors for macroblock type, sub-macroblock type, reference indices, and motion vectors as specified in clause G.8.6.1 is invoked with fieldMbFlag, refLayerFieldMbFlag refLayerMbType, refLayerSubMbType, refLayerPredFlagL0 refLayerPredFlagL1, refLayerRefIdxL0, refLayerRefIdxL1, refLayerMvL0, refLayerMvL1, refPicList0 (when available), and refPicList1 (when available) as the inputs and the outputs are the variable mbTypeILPred, the list subMbTypeILPred, the 2x2 arrays refIdxILPredL0 and refIdxILPredL1, and the 4x4x2 arrays mvILPredL0 and mvILPredL1. Rec. ITU-T H.264 (01/2012) Otherwise (base_mode_flag is equal to 0 and all syntax elements motion_prediction_flag_IX| mbPartIdx ] with X being replaced by 0 and 1 and mbPartIdx = 0..3 are equal to 0), mbTypeILPred is marked as not available, all elements subMbTypeILPred[ mbPartIdx ] with mbPartIdx = 0..3 of the list subMbTypeILPred are marked as not available, all elements of the 2x2 arrays refIdxILPredL0 and refIdxILPredL1 are set equal to -1, and all elements of the 4x4x2 arrays mvILPredL0 and mvILPredL1 are set equal to 0. Depending on base_mode_flag, mb_type, SpatialResolutionChangeFlag, refLayerMbType[ CurrMbAddr ], CodedBlockPatternLuma and CodedBlockPatternChroma, the variable mbType is derived as follows: If base_mode_flag is equal to 1, the following applies: If SpatialResolutionChangeFlag is equal to 0, refLayerMbType[ CurrMbAddr ] is equal to I_PCM, CodedBlockPatternLuma is equal to 0, and CodedBlockPatternChroma is equal to 0, mbType is set equal to I PCM. Otherwise (SpatialResolutionChangeFlag is equal to 1, refLayerMbType[ CurrMbAddr ] is not equal to I PCM, CodedBlockPatternLuma is not equal to 0, or CodedBlockPatternChroma is not equal to 0), mbType is set equal to