Patent ID: 7403203

Claim:
A method for efficiently storing frames of data in a plurality of contiguous frame buffers in a frame buffer memory when a frame size of the frames of data is not a power-of-two number of bytes, comprising: partitioning the frame buffer memory into N frame-independent buffers, where N is a power-of-two, each frame-independent buffer representable by a M-bit frame-independent buffer number and having a frame-independent buffer size chosen to be a largest power-of-two value less than the frame size; computing a residual buffer size as a difference between the frame size and the frame-independent buffer size; and for each frame of data to be stored, computing a frame buffer address S utilizing a particular frame-independent buffer number, the frame-independent buffer size and the residual buffer size, and storing the frame of data into the frame buffer having the frame buffer address S, each frame buffer sized to match the non-power-of-two frame size of the frames of data.