to 0, all (256 + 2 * MbWidthC * MbHeightC) elements of the lists sTCoeff and tCoeffLevel are set equal to 0. The refinement process for luma transform coefficients as specified in clause G.8.5.1.1 is invoked with iYCbCr set equal to 0, fieldMbFlag, cTrafo, sTCoeff, tCoeffLevel, and qP'/Y as the inputs and the outputs are modified versions of the lists sTCoeff and tCoeffLevel. When ChromaArrayType is not equal to 0, the refinement process for chroma transform coefficients as specified in clause G.8.5.1.2 is invoked with fieldMbFlag, cTrafo, sTCoeff, tCoeffLevel, qP'Cb, and qP'c as the inputs and the outputs are modified versions of the lists sTCoeff and tCoeffLevel. G.8.5.1.1 Refinement process for luma transform coefficients or chroma transform coefficients with ChromaArrayType equal to 3 Inputs to this process are: a variable iYCbCr specifying the colour component, a variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, a variable cTrafo specifying the transform type, a list of scaled transform coefficient values sTCoeff with (256 + 2 * MbWidthC * MbHeightC) elements, a list of transform coefficient level values tCoeffLevel with (256 + 2 * MbWidthC * MbHeightC) elements, when iYCbCr is equal to 0, the luma quantisation parameter qP'/, when iYCbCr is greater than 0, the chroma quantisation parameters qP'cb and qP'cr. Outputs of this process are: a modified version of the list sTCoeff, a modified version of the list tCoeffLevel. When iYCbCr is not present as input to this clause, it is inferred to be equal to 0. Depending on iYCbCr, the variables bitDepth, qP, cO, coeffLevel4x4, coeffLevel8x8, coeffDCLevel, and coeffACLevel are derived as follows: Rec. ITU-T H.264 (01/2012) If iYCbCr is equal to 0, bitDepth is set equal to BitDepthy, qP is set equal to qP'y, cO is set equal to 0, coeffLevel4x4 is set equal to LumaLevel4x4, coeffLevel8x8 is set equal to LumaLevel8x8, coeffDCLevel is set equal to Intra16x16DCLevel, and coeffACLevel is set equal to Intral6x16ACLevel. Otherwi