In one embodiment, the present invention is a system for organizing data
flow for two dimensional digital image processing. The system includes a
memory access module for accessing an external memory containing image
data to be processed, and a data flow organizer module for preparing a
data stream from the input image data accessed by the memory access
module. The data flow organizer module predicts future data needed for
processing, and the memory access module pre-fetches the predicted data
from the memory. A data processing module processes the pre-fetched data
from the data flow organizer module. Address generation for accessing the
memory is performed independent and in parallel with processing the
pre-fetched data.