signment process for luma transform coefficient values or chroma transform coefficient values with ChromaArrayType equal to 3 for I_PCM macroblocks Inputs to this process are: a variable iYCbCr specifying the colour component, a list of scaled transform coefficient values sTCoeff with (256 + MbWidthC MbHeightC) elements, a list of transform coefficient level values tCoeffLevel with (256 + 2 * MbWidthC* MbHeightC) elements. Outputs of this process are: a modified version of the list sTCoeff, a modified version of the list tCoeffLevel. When base_mode_flag is equal to 0, the following ordered steps are specified: 1. Depending on iYCbCr, the variables cO, cListOffset and pcmSample are derived by iYCbCr*256 cListOffset ( iYCbCr == 0) ? 0 : (iYCbCr 256) (G-124) pcmSample = ( iYCbCr == 0) ? pcm_sample_luma pcm_sample_chroma] (G-125) The lists tCoeffLevel and sTCoeff are modified by tCoeffLevel[ CO with k = 0..255 (G-126) sTCoeff| = pcmSample[ cListOffset + k with k=0..255 (G-127) G.8.5.1.1.2 Refinement process for transform coefficients of residual 4x4 blocks Inputs to this process are: a variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, a variable bitDepth specifying the bit depth, a variable qP specifying the quantisation parameter value, Rec. ITU-T H.264 (01/2012) a variable cO specifying the first coefficient index in the list of scaled transform coefficient values sTCoeff and in the list of transform coefficient values tCoeffLevel, a variable coeffLevel4x4 representing LumaLevel4x4, CbLevel4x4, or CrLevel4x4, 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. Outputs of this process are: a modified version of the list sTCoeff, a modified version of the list tCoeffLevel. Depending on tcoeff_level_prediction_flag, the following applies: If seff_level_prediction_flag is equal to 1, the list sTCoeff is modified by sTCoeff|