Patent ID: 7606312

Claim:
An apparatus comprising: a storage medium; and a plurality of instructions stored in the storage medium, with the instructions designed to perform a selected one of (a) intracoding of a macroblock of video data and decoding of an intracoded macroblock of video data, where an intracoded macroblock includes a M×N subblock of pixel values predicted under a first prediction mode as follows: where t 0 -t N and l 0 -l M are available, P ij =( t 0 + . . . +t N +l 0 +. . . +l M +N/ 2 +M/ 2)/( M+N ); Else if only t 0 -t N are available, P ij =( t 0 + . . . +t N +N/ 2)/ N; Else if only l 0 -l M are available, P ij =( l 0 + . . . +l M +M/ 2)/ M; Else P ij =128; for i=0−(N−1), j=0−(M-1); where P ij are pixel values of the M×N subblock, with i and j being indices denoting row and columns positions within the M×N subblock; t 0 -t N are pixel values of adjacent subblocks above the M×N subblock; and l 0 -l m are pixel values of adjacent subblocks to the left of the M×N subblock.