>>2 (8-96) Rec. ITU-T H.264 (01/2012) 8.3.2.2.6 Specification of Intra_8x8_Diagonal_Down_Right prediction mode This Intra_8x8 prediction mode is invoked when Intra8x8PredMode[luma8x8BlkIdx ] is equal to 4. This mode shall be used only when the samples p[x,-1] with x=0..7 and p[ -1, y ] with y = -1..7 are marked as "available for Intra_8x8 prediction". The values of the prediction samples pred8x8L x, y ], with X, y=0..7, are derived as follows: If X is greater than y, pred8x8L[x,y]=(p[x-y-2,-1]+2*p[x-y-1,-1]+p[x-y,-1]+2)>>2 (8-97) Otherwise if X is less than y, red8x8L[x,y]=(p[-1,y-x-2]+2*p[-1,y-x-1]+p[-1,y-x]+2)>>: (8-98) Otherwise (x is equal to y), pred8x8L[x,y]=(p'[0,-1]+2*p[-1,-1]+p'[-1,0]+2)>>2 (8-99) 8.3.2.2.7 Specification of intra_8x8_Vertical_Rightprediction mode This Intra_8x8 prediction mode is invoked whenIntra8x8PredMode[luma8x8BlkIdx ] is equal to 5. This mode shall be used only when the samples p[x,-1] with X = 0..7 and p[ -1, y ] with y = -1..7 are marked as "available for Intra_8x8 prediction". Let the variable zVR be set equal to 2* X -y. - The values of the prediction samples pred8x8L X, y ], with X, y = 0..7, are derived as follows: If zVR is equal to 0, 2, 4, 6, 8, 10, 12, or 14 pred8x8L[x,y]=(p[x-(y>>1)-1,-1]+p[x-(y>>1),-1]+1)>>1 (8-100) Otherwise, if zVR is equal to 1, 3, 5, 7, 9, 11, or 13 pred8x8L[x,y]=(p[x-(y>>1)-2,-1]+2*p[x-(y>>1)-1,-1]+ [x-(y>>1),-1]+2)>>2 (8-101) Otherwise, if zVR is equal to -1, pred8x8[x,y]=(p[-1,0]+2*p'[-1,-1]+p'[0,-1]+2)> (8-102) Otherwise (zVR is equal to -2, -3, -4, -5, -6, or -7), pred8x8L[x,y]=(p[-1,y-2x-1]+2*p'[-1,y-2x-2]+p[-1,y-2x-3]+2)>>2 (8-103) 8.3.2.2.8 Specification of Intra_8x8_Horizontal_Down prediction mode This Intra_8x8 prediction mode is invoked when Intra8x8PredMode[ luma8x8BlkIdx ] is equal to 6. This mode shall be used only when the samples p[ x, -1] with X =0..7 and p[ -1, y ] with y = 1..7 are marked as "available for Intra_8x8 prediction". Let the variable zHD be set equal to 2 * y-x. The values of the prediction samples pred8x8L X, y ], wit