macroblock is a field or a frame macroblock, 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, the chroma quantisation parameters qP'Cb and qP'cr. Outputs of this process are: a modified version of the list sTCoeff, Rec. ITU-T H.264 (01/2012) a modified version of the list tCoeffLevel. The variables nW, nH, numB, cO, and qP are derived by nW = MbWidthC / (G-149) nH = MbHeightC (G-150) numB = nW nH (G-151) cO = 256+(iCbCr*MbWidthC*MbHeightC) (G-152) = iCbCr==0)qP'cb : qPcr) (G-153) Depending on tcoeff_level_prediction_flag, the following applies: If coeff_level_prediction_flag is equal to 1, the list sTCoeff is modified by sTCoeff[ cO+k]=0 with 0..(MbWidthC * MbHeightC - 1) (G-154) Otherwise (tcoeff_level_prediction_flag is equal to 0), the list tCoeffLevel is modified by tCoeffLevel[ cO+k]=0 with :=0..(MbWidthC*MbHeightC - 1) (G-155) For the chroma DC transform coefficients of all residual 4x4 chroma blocks, the following ordered steps are specified: 1. Depending on ChromaArrayType, the (nW)x(nH) array C with elements Cij is derived as follows: If ChromaArrayType is equal to 1, Cij = =ChromaDCLevel[ iCbCr ][ 2*i+j] withi=0..(nH-1),j=0..(nW- - 1) (G-156) Otherwise (ChromaArrayType is equal to 2), Cij = ChromaDCLevel[ iCbCr ][ scan422ChromaDC[2*i+j]] withi=0.(nH-1),j=0..(nW-1), = - and scan422ChromaDC 5, 3, 6, 4, 7 } (G-157) 2. The list tCoeffLevel and the (nW)x(nH) array C are modified by tCoeffLevel[cO+32*i+16*j]+=Cij with i 0..(nH - 1), j=0..(nW - 1) (G-158) Cij =tCoeffLevel[cO+32*i+16*j with i = 0..(nH - 1), j=0..(nW - 1) (G-159) The variable qPDC is derived by qPDC = (ChromaArrayType == 1) ? qP : (qP + ) (G-160) The (nW)x(nH) array d with elements dii representing scaled chroma DC transform coefficient values for all residual 4x4 chroma blocks is derived by dij=cij* (LevelScale4x4( qPDC % 6, 0, 0) qPDc/6) with i = 0..(nH-1), - = ..(nW - 1) (G-161) 5. The lis