Patent ID: 8180195

Claim:
A memory device for storing a plurality of macroblocks, the memory device comprising: a plurality of memory banks; wherein each macroblock includes m*n pixel data, wherein m is a positive integer, wherein n is a positive integer, wherein the plurality of memory banks is adapted to store the pixel data, wherein each memory bank is sized to store rows of m pixel data, wherein a frame includes x*y of the macroblocks, wherein x is a positive integer, wherein y is a positive integer, wherein the memory device comprises k of the memory banks, wherein k is a positive integer, wherein a ((h−1)+k*(i−1)+x*(j−1))'th macroblock is stored in an h'th memory bank, wherein h=1, 2, . . . , k, wherein i=1, 2, . . . . , ceiling(x/k), wherein j=1, 2, . . . , y, wherein ((h−1)+k*(i−1)+x*(j−1)) is less than or equal to x*y−1, and wherein if more than one combination of h, i, j, k, and x gives a same value for ((h−1)+k*(i−1)+x*(j−1)), then the ((h−1)+k*(i−1)+x*(j−1))'th macroblock is stored in the h'th memory bank having a lower or lowest value of h.