Patent ID: 8390637

Claim:
A method for frame memory access, the method comprising the steps of: correspondingly storing the 1 st to M th pixel data of the 1 st to M th rows of the image to the 1 st to M th rows of storage spaces of the memory; and sequentially and correspondingly storing the (M+1) th to N th pixel data of the 1 st to M th rows of the image to the (M+1) th to N th rows of storage spaces of the memory; wherein when the i th row of pixel data of the image stored in the memory are read, the method further comprises the steps of: reading the pixel data stored in the k th row of storage spaces of the memory to the 1 st to M th temporary storage positions of a shift register, wherein the (M+1) th to N th pixel data of the i th row of the image are stored in the k th row of storage spaces of the memory; shifting the (M+1) th to N th pixel data of the i th row of the image stored in the shift register to the (M+1) th to N th temporary storage positions of the shift register; and reading the pixel data stored in the i th row of storage spaces of the memory to the 1 st to M th temporary storage positions of the shift register, wherein N, M, i and k are natural numbers, and N>M, 0<i<=N, M<k<=N, wherein the method is for storing an image with N×M pixel data to a memory with M×N storage spaces; wherein when the (M+1) th to X th pixel data of the i th row are stored in the k th row of the memory, and (X+1) th to N th pixel data of the i th row are stored in the (k+1) th row of the memory, the method further comprises the steps of: reading the data stored in the k th row of storage spaces of the memory to the 1 st to M th temporary storage positions of the shift register; shifting the (M+1) th to X th pixel data of the i th row of the image stored in the shift register to the (M+1) th to X th temporary storage positions of the shift register; reading the data stored in the (k+1) th row of storage spaces of the memory to the 1 st to M th temporary storage positions of the shift register; and shifting the (X+1) th to N th pixel data of the i th row of the image stored in the shift register to the (X+1) th to N th temporary storage positions of the shift register, wherein X is a natural number, and M<x<=N.