Patent ID: 8514237

Claim:
A non-transitory computer-readable media embodying instructions executed by a processor to perform a method for caching video data in a two-dimensional cache, the method comprising: storing the video data in a plurality of banks of the two-dimensional cache having a y-axis component and an x-axis component; controlling a bank select to retrieve a portion of the stored video data from the plurality of banks of the two-dimensional cache according to a comparison of a first tag and a second tag of an address to a plurality of tags stored in a set associative cache comprising a plurality of sets corresponding to the plurality of banks, respectively, wherein the plurality of tags correspond to the video data stored in the plurality of banks, the first tag of the address for referencing a first dimension of the two-dimensional cache corresponding to the y-axis component, and the second tag of the address for referencing a second dimension of the two-dimensional cache corresponding to the x-axis component; and outputting the portion of the stored video data from the two-dimensional cache according to the comparison, wherein a field size of the first tag and a field size of the second tag vary depending upon a resolution of the video data.