component. NOTE 1 - When separate_colour_plane_flag is equal to 1, all residual blocks are considered to be associated with the luma component for purposes of the decoding process of each coded picture (prior to the final assignment of the decoded picture to a particular luma or chroma picture array according to the value of colour r_plane_id) Outputs of this process are residual sample values as 8x8 array r with elements Iij. The variables bitDepth and qP are derived as follows: If the input array C relates to a luma residual block, bitDepth is set equal to BitDepthy and qP is set equal to QP'. Otherwise (the input array C relates to a chroma residual block), bitDepth is set equal to BitDepthc and qP is set equal to QP'c. NOTE 2 - When separate_colour_plane_flag is equal to 1, all residual blocks are considered to be associated with the luma component for purposes of the decoding process of each colour component of a picture. Depending on the value of TransformBypassModeFlag, the following applies: If TransformBypassModeFlag is equal to 1, the output r is derived as [j = c;jwith i,j=0..7 (8-355) Otherwise (TransformBypassModeFlag is equal to 0), the following ordered steps are specified: 1. The scaling process for residual 8x8 blocks as specified in clause 8.5.13.1 is invoked with bitDepth, qP, and C as the inputs and the output is assigned to the 8x8 array d of scaled transform coefficients with elements dij. 2. The transformation process for residual 8x8 blocks as specified in clause 8.5.13.2 is invoked with bitDepth and d as the inputs and the output is assigned to the 8x8 array r of residual sample values with elements Iij. 8.5.13.1 Scaling process for residual 8x8 blocks Inputs of this process are: the variables bitDepth and qP, an 8x8 array C with elements Cij which is either an array relating to a residual block of luma component or an array relating to a residual block of a chroma component. Output of this process is an 8x8 array of scaled transform coefficients d with elements dij. The bitstream shall n