Memory mapping apparatus and method for video decoer/encoder

The memory mapping apparatus and method in a video decoder / encoder is disclosed. Dividing unit divides the picture data into macroblocks, the basic unit of coding is divided into a predetermined size of partitions of each macroblock. Storage portion includes at least one or more memory banks are accessible independently of each other. Then, the memory allocation unit adjacent to each other partitions are then correlated with a different memory bank. Thus, it is possible to reduce the total number of cycles required to read and write image data. Image data, the memory banks, a macroblock, partition,