Patent ID: 8331448

Claim:
A device comprising: a processor operable to determine a first spatial prediction mode from a first subset of spatial prediction modes based on a first pixel subset of a current subblock of an intra-frame, wherein the first subset of spatial prediction modes includes spatial prediction modes with a vertical directivity, a horizontal directivity, and no clear directivity, and to determine a second spatial prediction mode from a second subset of spatial prediction modes based on a second pixel subset of the current subblock in the case that the first spatial prediction mode is unable to be determined, wherein the second subset of spatial prediction modes includes spatial prediction modes with a diagonal directivity, wherein the first pixel subset is selected from said current subblock and pixels of said first pixel subset are arranged in a rectangular grid arrangement such that adjacent selected pixels in the first pixel subset do not touch each other, and wherein the second pixel subset is also selected from said current subblock and pixels of said second pixel subset are in a diagonal grid arrangement such that only two or more corners of adjacent selected pixels touch the corners of other selected pixels in the diagonal grid arrangement; and a memory coupled to the processor.