 bitDepth specifying the bit depth, a variable qP specifying the quantisation parameter value, a variable cO specifying the first coefficient index in the list of scaled transform coefficient values sTCoeff and in the list of transform coefficient values tCoeffLevel, a variable coeffLevel8x8 representing LumaLevel8x8, CbLevel8x8, or CrLevel8x8, a list of scaled transform coefficient values sTCoeff with (256 + MbWidthC * MbHeightC) elements, a list of transform coefficient level values tCoeffLevel with (256 + 2 * MbWidthC MbHeightC) elements. Rec. ITU-T H.264 (01/2012) Outputs of this process are: a modified version of the list sTCoeff, a modified version of the list tCoeffLevel. Depending on tcoeff_level_prediction_flag, the following applies: If oeff_level_prediction_flag is equal to 1, the list sTCoeff is modified by sTCoeff[ cO+k]=0 with <=0..255 (G-133) Otherwise (tcoeff_level_prediction_flag is equal to 0), the list tCoeffLevel is modified by tCoeffLevel[ cO+k]=0 with k = 0..255 (G-134) For each residual 8x8 block indexed by c8x8BlkIdx = 0..3, the following ordered steps are specified: 1. The inverse scanning process for 8x8 transform coefficients and scaling lists as specified in clause 8.5.7 is invoked with coeffLevel8x8[ c8x8BlkIdx ] as the input and the outputs are transform coefficient level values as an 8x8 array C with elements Cij. For this invocation of the process in clause 8.5.7, the current macroblock is treated as field macroblock when fieldMbFlag is equal to 1, and it is treated as frame macroblock when fieldMbFlag is equal to 0. 2. The list tCoeffLevel and the 8x8 array C are modified by tCoeffLevel[ cO + 64 * c8x8BlkIdx i,j=0..7 (G-135) = =tCoeffLevel| [cO+64*c8x8BlkIdx+8*i+j with i,j=0..7 (G-136) 3. The scaling process for residual 8x8 blocks as specified in clause 8.5.13.1 is invoked with bitDepth, qP, and the 8x8 array C as the inputs and the outputs are scaled transform coefficient values as an 8x8 array d with elements 4. The list sTCoeff is modified by sTCoeff| cO + 64 * c8x8BlkIdx+8*i+