bAddr is derived by refMbAddr = ( refMbY bS) bS * RefLayerPicWidthInMbs + (refMbY % bS) + refMbX (G-82) When refMbAddr is available, for X being replaced by sliceIdc, fieldMbFlag, cTrafo, baseModeFlag, mbType, subMbType, mvCnt, tQPy, tQPcb (when ChromaArrayType is not equal to 0), tQPcr (when ChromaArrayType Rec. ITU-T H.264 (01/2012) is not equal to 0), ipred4x4, ipred8x8, ipred16x16, ipredChroma (when ChromaArrayType is equal to 1 or 2), predFlagL0, predFlagL1, refIdxL0, refIdxL1, mvL0, mvL1, tCoeffLevel, and sTCoeff and with currArray representing the array X of the collective term currentVars and refLayerArray representing the array X of the collective term refLayerVars the array element currArray[ mbAddr ], which can be a scalar or an array, is set equal to the array element refLayerArray[ refMbAddr ]. For X being replaced by rSL and cSL and with currArray representing the array X of the collective term currentVars and refLayerArray representing the array X of the collective term refLayerVars, the array currArray is modified by currArray[ X, y ] = refLayerArray[ xOffset, yOffset ] (G-83) with X = Max( 0, xOffset)..Min( PicWidthInSamples, RefLayerPicWidthInSamples + xOffset ) 1 and y = Max( 0, yOffset ) Min( PicHeightInSamples, RefLayerPicHeightInSamples yOffset ) 1 When ChromaArrayType is not equal to 0, for X being replaced by rSCb, rSCr, cSCb, and cScr and with currArray representing the array X of the collective term currentVars and refLayerArray representing the array X of the collective term refLayerVars, the array currArray is modified by currArray[ X, y ] = refLayerArray[ X - xOffsetC, y-yOffsetC (G-84) with X = Max(0,xOffsetC)..Min(PicWidthInSamplesc, RefLayerPicWidthInSamplesc xOffsetC) - 1 and y = Max(0,yOffsetC)..Min(PicHeightInSamplesc,I RefLayerPicHeightInSamplesc yOffsetC ) - 1 G.8.1.3 Layer representation decoding processes Clause G.8.1.3.1 specifies the base decoding process for layer representations without resolution change. Clause G.8.1.3.2 specifies the base decoding process for layer rep