as the inputs and the output is a modified version of tCoeffLevel[ mbAddr ]. C. The variables tQPcb[ mbAddr ] and tQPcr[ mbAddr ] are set equal to cQPcb and cQPcr, respectively. Rec. ITU-T H.264 (01/2012) The transform coefficient scaling and refinement process as specified in clause G.8.5.1 is invoked with refinementFlag equal to 1, fieldMbFlag[ mbAddr mbType[ mbAddr], cTrafo[ mbAddr sTCoeff[ mbAddr ], tCoeffLevel[ mbAddr ], tQPy[ mbAddr], tQPcb[ mbAddr and tQPcr[ mbAddr as the inputs and the outputs are modified versions of sTCoeff| mbAddr ] and tCoeffLevel[ mbAddr ]. For this invocation of the process in clause G.8.5.1, all elements of the arrays LumaLevel4x4, LumaLevel8x8, Intra16x16DCLevel, Intra16x16ACLevel, CbLevel4x4, CbLevel8x8, CbIntra16x16DCLevel, CbIntra16x16ACLevel, CrLevel4x4, CrLevel8x8, CrIntra16x16DCLevel, CrIntra16x16ACLevel, ChromaDCLevel, and ChromaACLevel are inferred to be equal to 0, tcoeff_level_prediction_flag is inferred to be equal to 1, and base_mode_flag is inferred to be equal to 1. NOTE - By the ordered steps specified above, the elements of the arrays tCoeffLevel[ mbAddr ] and sTCoeff| mbAddr that are related to luma transform coefficients are not modified. The array elements that are related to chroma transform coefficients are only modified when the chroma quantisation parameter offsets of the current layer representation with DQId equal to currDQId and the layer representation with DQId equal to (sliceIdc[ mbAddr &127) are different. 3. Depending on mbType[ mbAddr ], the following applies: If mbType[ mbAddr is equal to I_PCM, I_16x16, I_8x8, or I_4x4, the following ordered steps are specified: a. The variable intraPredFlag is derived as follows: If (sliceIdc[ mbAddr & 127) is equal to currDQId or MaxTCoeffLevelPredFlag is equal to 1, intraPredFlag is set equal to 1. Otherwise ((sliceIdc[ mbAddr ] & 127) is not equal to currDQId and MaxTCoeffLevelPredFlag is equal to 0), intraPredFlag is set equal to 0. b. When intraPredFlag is equal to 1, the SVC intra sample prediction and cons