ficient values sTCoeff, a list of scaled transform coefficient values sTCoeff with (256 + 2 * MbWidthC * MbHeightC) elements. Outputs of this process are residual sample values as a 16x16 array mbRes with elements mbRes[ X, y ]. For each residual 4x4 block indexed by c4x4BlkIdx = 0..15, the following ordered steps are specified: 1. The 4x4 array d with elements dij is derived by: dij = sTCoeff[ cO + 16 * c4x4BlkIdx + 4*i+j] with i,j=0..3 (G-184) 2. The transformation process for residual 4x4 blocks as specified in clause 8.5.12.2 is invoked with bitDepth and the 4x4 array d as the inputs and the outputs are residual sample values as a 4x4 array r with elements Iij. The inverse 4x4 luma block scanning process as specified in clause 6.4.3 is invoked with c4x4BlkIdx as the input and the output is assigned to xP, yP). 4. The elements mbRes[ X, y ] of the 16x16 array mbRes with X = xP. (xP + 3) and y = yP..(yP + 3) are derived by Rec. ITU-T H.264 (01/2012) Res[xP+j,yP+i]=rj with i, j 0..3 (G-185) G.8.5.3.2 Construction process for chroma residuals Inputs to this process are: a variable cTrafo specifying the transform type, a list of scaled transform coefficient values sTCoeff with (256 + 2 * MbWidthC* MbHeightC) elements. Outputs of this process are residual chroma sample values as two (MbWidthC)x(MbHeightC) arrays mbRescb and mbRescr with elements mbRescb[ X, y ] and mbRescr[ X, y ], respectively. For both chroma components indexed by iCbCr=0..1 and for CX being replaced by Cb for iCbCr equal to 0 and Cr for iCbCr equal to 1, the following applies: If ChromaArrayType is equal to 1 or 2, the following applies: If cTrafo is equal to T PCM, the construction process for chroma residuals of I PCM macroblocks as specified in clause G.8.5.3.2.1 is invoked with iCbCr and sTCoeff as the inputs and the output is the (MbWidthC)x(MbHeightC) array mbRescx of residual chroma sample values. Otherwise (cTrafo is not equal to T_PCM), the construction process for chroma residuals with ChromaArrayType equal to 1 or 2 as specified in cl