croblock, a variable cTrafo specifying the transform type for the current macroblock, a variable baseModeFlag specifying the syntax element base_mode_fla of the current macroblock, a variable mbType specifying the macroblock type of the current macroblock, a list subMbType with 4 elements specifying the sub-macroblock types of the current macroblock, a variable mvCnt specifying an initialisation value for the motion vector count of the current macroblock, a variable tQPy specifying the luma quantisation parameter for the current macroblock, when ChromaArrayType is not equal to 0, two variables tQPcb and tQPc specifying the chroma quantisation parameters for the current macroblock, two 2x2 arrays refIdxILPredL0 and refIdxILPredL1 specifying inter-layer predictors for the reference indices of the current macroblock, two 4x4x2 arrays mvILPredL0 and mvILPredL1 specifying inter-layer predictors for the motion vector components of the current macroblock. Inside this clause, the arrays sliceIdc, fieldMbFlag, cTrafo, mbType, subMbType, tQPy, predFlagL0, predFlagL1, refIdxL0, refIdxL1, mvL0, mvL1, tCoeffLevel, and sTCoeff that are collectively referred to as refLayerVars are referred to as refLayerSliceIdc, refLayerFieldMbFlag, refLayerCTrafo, refLayerMbType, refLayerSubMbType, refLayerQPy, refLayerPredFlagLO, refLayerPredFlagL1, refLayerRefIdxL0, refLayerRefIdxL1, refLayerMvL0, refLayerMvL1, refLayerTCoeffLevel, and refLayerSTCoeff, respectively. The variable sliceIdc is set equal to((first_mb_in_slice<<7)+DQId) The variable baseModeFlag is set equal to base_mode_flag. The variable fieldMbFlag is derived as follows: If field_pic_flag is equal to 1, fieldMbFlag is set equal to 1. Otherwise, if SpatialResolutionChangeFlag is equal to 0 and slice_skip_flag is equal to 1, fieldMbFlag is set equal to refLayerFieldMbFlag[ CurrMbAddr ]. Otherwise, fieldMbFlag is set equal to mb_field_decoding_flag The derivation process for macroblock type, sub-macroblock type, and inter-layer predictors for reference indices and motion vectors