1), the variables refMbAddr and yM are derived by refMbAddr = refMbAddrTop + (yF (G-332) = ( yRef%(2*refMbH))> 1 (G-333) Depending on chromaFlag, RefLayerChromaArrayType, and refLayerCTrafo[ refMbAddr ], the following applies: If (chromaFlag is equal to 0 or RefLayerChromaArrayType is equal to 3) and refLayerCTrafo[refMbAddr ] is equal to T_8x8, the variable refTransBlkIdc is derived by: refTransBlkIdc=1+2*(4*refMbAddr+2*(yM/8)+(xM/8)) = (G-334) Otherwise ((chromaFlag is equal to 1 and RefLayerChromaArrayType is not equal to 3) or refLayerCTrafo[ refMbAddr ] is not equal to T_8x8), the variable refTransBlkIdc is derived by refTransBlkIdc =2*( 16 refMbAddr yM/4) + 4)) (G-335) G.8.6.3.3 Interpolation process for residual prediction Inputs to this process are: a variable chromaFlag specifying whether the luma or a chroma component is subject to the resampling process, two variables mbW and mbH specifying the width and height, respectively, of a macroblock for the considered colour component, a variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, a variable botFieldFlag specifying whether a top or a bottom field is subject to the resampling process (when RefLayerFrameMbsOnlyFlag is equal to 0 or frame_mbs_only_flag is equal to 0), a variable fldPrdInFrmMbFlag specifying whether field prediction for a frame macroblock is applied, a variable yBorder specifying the vertical border for the output sample array predSamples, Rec. ITU-T H.264 (01/2012) two variables refArrayW and refArrayH specifying the width and height, respectively, of the array of reference layer sample values and the array of transform block identifications, a (refArrayW)x(refArrayH) array refSampleArray of reference layer sample values, a (refArrayW)x(refArrayH) array refTransBlkIdc of transform block identifications, two variables xOffset and yOffset specifying the X and y coordinate, respectively, of the reference layer sample location that corresponds to the sample refSampleArray[ 0, 0] of the array refSam