f the array refSampleArray. Output of this process is a modified version of the array refSampleArray each sample refSampleArray[x, with X = (refMbW/2)..(refArrayW-refMbW/2-1) - y = (refMbH / 2). .(refArrayH-refMbH/2-1)that - is marked as "not available forIntra_Base prediction", the following ordered steps are specified: 1. The sample location difference ( xD, yD) and the variable yA are derived by kR=(x+xOffset) % refMbW (G-289) R=(y+yOffset)% refMbH (G-290) xD = (xR >= refMbW/2) xR - refMbW) : xR + 1)) (G-291) yD = ( yR refMbH /2) yR - refMbH ) : (yR+1)) (G-292) yA = yD - (refMbH/2+1)*: Sign( yD (G-293) When any of the following conditions are true, yD is set equal to yA: the sample refSampleArray[ x, y y y ] is marked as "not available for Intra_Base prediction", the sample refSampleArray[ x, y y y A ) is marked as "available for Intra Base prediction", and the sample refSampleArray[ X - xD, y ] is marked as "available for Intra_Base prediction", all of the samples refSampleArray[x-xD, refSampleArray[ yD ], refSampleArray[ X - xD, y-yD - ] are marked as "not available for Intra Base prediction" and any of the samples refSampleArray[ X, y-yA) ] and refSampleArray[ x xD, y - yA ] is marked as "available for Intra_base prediction", Abs( yA) is less than Abs( yD) and any of the following conditions are true: both samples refSampleArray[ X, y - yD ] and refSampleArray[ X, y - yA ] are marked as "available for Intra_Base prediction", Rec. ITU-T H.264 (01/2012) any of the samples refSampleArray x, y y y - ] and refSampleArray[ X - xD, yD ] is marked "available for intra Base prediction", any of the samples refSampleArray[ X, y-yA] and refSampleArray[ x - xD, y - yA ] is marked as "available for Intra Base prediction", and the sample refSampleArray[ x - x D, y ] is marked as "not available for Intra_Base prediction". NOTE - The variable yD is never set equal to yA when RefLayerFrameMbsOnlyFlag is equal to 1 or RefLayerFieldPicFlag is equal to 1. 3. The sample value refSampleArray[ X, y ] is derived as follows: If the 