 as specified in clause G.8.1.5.1.1 is invoked with fieldMbFlag, refLayerFieldMbFlag, refLayerMbType, refLayerSubMbType, refLayerPredFlagLO, refLayerPredFlagL1, refLayerRefIdxL0, refLayerRefIdxL1, refLayerMvL0, refLayerMvL1, refPicList0 (when available), and refPicList1 (when available) as the inputs and the outputs are the variable mbType, the list subMbType, the 2x2 arrays refIdxILPredL0 and refIdxILPredL1, and the 4x4x2 arrays mvILPredL0 and mvILPredL1. The derivation process for quantisation parameters and transform type as specified in clause G.8.1.5.1.2 is invoked with mbType, subMbType, refLayerMbType, refLayerCTrafo, refLayerQPy, refLayerTCoeffLevel, and refLayerSTCoeff as the inputs and the outputs are cTrafo, tQPy, and, when ChromaArrayType is not equal to 0, tQPCb and tQPcr. The variable mvCnt is set equal to 0. Rec. ITU-T H.264 (01/2012) When quality_id is greater than 0, the bitstream shall not contain data that result in (refLayerSliceIdc[ CurrMbAddr ] & 127) not equal to (DQId - 1). When no_inter_layer_pred_flag is equal to 0, SpatialResolutionChangeFlag is equal to 0, and fieldMbFlag is not equal to refLayerFieldMbRef[ CurrMbAddr ], the following constraints shall be obeyed: a) The bitstream shall not contain data that result in base_mode_flag equal to 1, or any motion_prediction_flag_IX[mbPartIdx ] with X being replaced by 0 and 1 and mbPartIdx = 0..3 equal to 1. When residual_prediction_flag is equal to 1, refLayerMbType[ CurrMbAddr ] is not equal to I PCM, I_16x16, I 8x8, I 4x4, or I BL, and mbType is not equal to I_PCM, I_16x16, I_8x8, I_4x4, or I_BL, the following applies: If tcoeff_level_prediction_flag is equal to 0, the bitstream shall not contain data that result in any element refLayerSTCoeff[ CurrMbAddr ][ i] not equal to 0 for i = 0..(255 * MbWidthC * MbHeightC). Otherwise (tcoeff_level_prediction_flag is equal to 1), the bitstream shall not contain data that result in element refLayerTCoeffLevel[ CurrMbAddr ][ not equal i =0..(255+2*) MbWidthC * MbHeightC). G.8.1.5.1.1 Derivation proc