t sTCoeff is modified by sTCoeff[cO+32*i+16*j]+=dij with i=0..(nH-1),j=0..(nW-1) (G-162) For each residual 4x4 chroma block indexed by c4x4BlkIdx = 0. .(numB - 1), the following ordered steps are specified: 1. The variable c4x4List, which is a list of 16 entries, is derived by ist[k]=((k==0)? : ChromaACLevel[ iCbCr ][ c4x4BlkIdx ][ k - 1]) with k = 0..15 (G-163) 2. The inverse scanning process for 4x4 transform coefficients and scaling lists as specified in clause 8.5.6 is invoked with c4x4List as the input and the outputs are chroma transform coefficient level values as a 4x4 array e with elements eij. During the process in clause 8.5.6, 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. 3. The list tCoeffLevel and the 4x4 array e are modified by tCoeffLevel[ cO + 16 * c4x4BlkIdx + eij with 1ijj00.3andi+j>0 (G-164) eij=tCoeffLevel[cO+16*c4x4BlkIdx+4*i+j] with hi,j=0..3 andi+j>0 (G-165) 4. The scaling process for residual 4x4 blocks as specified in clause 8.5.12.1 is invoked with BitDepthc, qP, and the 4x4 array e as the inputs and the outputs are scaled chroma transform coefficient values as a 4x4 array d of with elements dij. During the process in clause 8.5.12.1, the array e is treated as relating to a chroma residual block. Rec. ITU-T H.264 (01/2012) 5. The list sTCoeff is modified by sTCoeff| cO + 16 * c4x4BlkIdx+4*i+j]+= dij withi,j=0..3andi+j>0 (G-166) NOTE 1 - The elements tCoeffLevel[ cO + 16* c4x4BlkIdx ] and sTCoeff[ cO + 16* c4x4BlkIdx ] are not modified during the process for a residual 4x4 chroma block with index c4x4BlkIdx. The bitstream shall not contain data that result in any element sTCoeff] cO + 16* b+k] with b = 0.. (numB - and k = 1..15 that exceeds the range of integer values from -2 7 BitDepthC) to 2 (7 + BitDepthC) 1, inclusive. The bitstream shall not contain data that result in any element tCoeffLevel[ b+k] with b = 0. (numB - 1) and k = 1..15 that exceeds the range of integer values