.5.11.1 is invoked with BitDepthc and the (nW)x(nH) array C as the inputs and the outputs are DC values for all residual 4x4 chroma blocks as a (nW)x(nH) array f with elements fij. 3. Depending on ChromaArrayType, the (nW)x(nH) array dcC with elements dcCij is derived as follows: If ChromaArrayType is equal to 1, withi=0..(nH-1),j=0..(nW - (G-192) Otherwise (ChromaArrayType is equal to 2), Ci=(fij+(1<<5))>> 6 with i i=0..(nH-1),j=0..(nW - 1) (G-193) The bitstream shall not contain data that result in any element dcCii of dcC with 0..(nH 1) and 0..(nW - 1) that exceeds the range of integer values from -2(7 BitDepthC) to BitDepthC) 1, inclusive. NOTE - For the layer representation with dependency_id equal to 0 and quality_id equal to 0, successive invocations of clause G.8.5.1.2 (as part of an invocation of clause G.8.5.1) and this clause yield an array dcC that is identical to the array dcC that would be obtained by an invocation of clause 8.5.11. However, the intermediate values Cii and fij with i = 0..(nH-1) - and j = 0..(nW - 1) that are derived in this clause can exceed the range of integer values from For each residual 4x4 chroma block indexed by c4x4BlkIdx = (numB 1), the following ordered steps are specified. 1. The 4x4 array d with elements dij is derived as follows: The element doo is derived by: doo = dcCkl = with k = c4x4BlkIdx / 2 and 1 = c4x4BlkIdx % 2 (G-194) The elements di with i, j = 0..3 and jj0 are derived by: dij = sTCoeff[ cO + 16 * c4x4BlkIdx + (G-195) 2. The transformation process for residual 4x4 blocks as specified in clause 8.5.12.2 is invoked with BitDepthc and the 4x4 array d as the inputs and the outputs are residual chroma sample values as a 4x4 array r with elements Iij. 3. The chroma location xP, yP) is derived by: =4* c4x4BlkIdx % 2 ) (G-196) yP=4*(c4x4BlkIdx / (G-197) 4. The elements mbRes[ x, y ] of the (MbWidthC)x(MbHeightC) array mbRes with X = xP..(xP + 3) and y = yP..(yP + 3) are derived by: mbRes[xP+j,yP+i]= Iij with i,j=0..3 = (G-198) G.8.5.4 Sample array accumulation proce