pleArray and the transform block identification refTransBlkIdc| 0, 0 ] of the array refTransBlkIdc. Output of this process is an (mbW)x(mbH / (1 fldPrdInFrmMbFlag] + 2* yBorder) array predArray of interpolated sample values. Each sample predArray[ X, y ] with X = 0..(mbW - 1) and y=0..(mbH (1 + fldPrdInFrmMbFlag] + 2 *yBorder - 1) is derived as specified in the following ordered steps: 1. The variable yP is derived by: = (y-yBorder) * (1+ fldPrdInFrmMbFlag ) + botFieldFlag (G-336) 2. The derivation process for reference layer sample locations in resampling as specified in clause G.6.3 is invoked with chromaFlag, the sample location (x, yP) ), fieldMbFlag, and botFieldFlag as the inputs and the output is the sample location xRef16, yRef16) in units of 1/16-th sample. 3. The variables xRef, yRef, xPhase, and yPhase are derived by: xRef = (xRef16>>4)-xOffset (G-337) yRef = (yRef16>>4)-yOffset (G-338) xPhase = xRef16 xOffset % 16 (G-339) yPhase = ( RRef16 16* yOffset ) % 16 (G-340) Let tempPred be a one-dimensional array with 2 elements. Each sample value tempPred[ dY ] with dY = 0..1 is derived as follows: If refTransBlkIdc| xRef, yRef + dY ] is equal to refTransBlkIdc[ xRef 1, yRef + dY ], the sample value tempPred[ dY ] is derived by: tempPred[ dY ]=(16 - xPhase) * refSampleArray[xRef,yRef+dY]+ xPhase refSampleArray[ [ RRef + 1, yRef + dY ] (G-341) Otherwise (refTransBlkIdc[ xRef, yRef + dY ] is not equal to refTransBlkIdc| xRef + 1, yRef dY ]), the sample value tempPred[ dY ] is derived by: tempPred[ dY ] = ((xPhase<8) ? refSampleArray[ xRef, yRef + dY ] : refSampleArray[ xRef + 1, yRef + dY ]) << 4 (G-342) 5. With xRefRound set equal to (xRef xPhase / 8)), the sample value predArray[ X, y ] is derived as follows: If refTransBlkIdc| xRefRound, yRef] is equal to refTransBlkIdc[ xRefRound, yRef + 1], the sample value predArray[ X, y ] is derived by: predArray[ X, y ]=((16 yPhase) tempPred[ 0 + yPhase*tempPred[1]+128)>> 8 (G-343) Otherwise (refTransBlkIdc[ xRefRound, yRef ] is not equal to refTransBlkIdc[xRefRound,y