refQPcb, and refQPcr as the inputs and the output is a modified version of tCoeffLevel[ mbAddr ]. The transform coefficient scaling and refinement process as specified in clause G.8.5.1 is invoked with refinementFlag set equal to resPredFlag, fieldMbFlag[ mbAddr mbType[ mbAddr ], cTrafo[ mbAddr ], sTCoeff[ mbAddr ], tCoeffLevel[ mbA [mbAddr ], and, when ChromaArrayType is not equal to 0, tQPcb[ mbAddr and tQPcr[ mbAddr ] as the inputs and the outputs are modified versions of sTCoeff[ mbAddr ] and tCoeffLevel[ mbAddr ]. When resPredFlag is equal to 0, the sample array re-initialisation process as specified in clause G.8.5.5 is invoked with fieldMbFlag[ mbAddr ], rSL, and, when ChromaArrayType is not equal to 0, rScb and rScr as the inputs and the outputs are a modified versions of rSL and, when ChromaArrayType is not equal to 0, modified versions of rScb and rSCr. When resPredFlag is equal to 0, the sample array re-initialisation process as specified in clause G.8.5.5 is invoked with fieldMbFlag[ mbAddr ], CSL, and, when ChromaArrayType is not equal to 0, cScb and cScr as the inputs and the outputs are a modified versions of cSL and, when ChromaArrayType is not equal to 0, modified versions of cScb cScr. 8. The variable MvCnt for the macroblock mbAddr is set equal to mvCnt[ mbAddr]. G.8.1.5.3 Base decoding process for macroblocks in slices with resolution change Inputs to this process are: a variable currDQId specifying the current layer representation, a variable mbAddr specifying the current macroblock inside the current layer representation, a set of arrays collectively referred to as refLayerVars, a set of arrays collectively referred to as currentVars, when CroppingChangeFlag is equal to 1 and (slice_type % 5) is less than 2, the reference picture list refPicListO, when CroppingChangeFlag is equal to 1 and (slice_type % 5) is equal to 1, the reference picture list refPicList1. Output of this process is the modified set of arrays collectively referred to as currentVars This process modifies the variables assig