Patent ID: 7761685

Claim:
An apparatus comprising: a memory to store one of at least two frames of coded data, the frames being divided into portions, each of the portions being individually coded, wherein the memory is divided into segments, each of the segments to store a portion; a buffer to store at least one portion; a first unit to (a) copy a datum stored at a particular location in the memory to the buffer, and (b) to store a datum of a first frame at the particular location, (a) being performed before (b), wherein, a write-segment pointer to identify a particular memory segment and a write-data pointer to identify a location within the particular memory segment are generated for the datum of the first frame; and a second unit to fetch a datum of a second frame from a selected location, wherein, a read-segment pointer to identify a particular memory segment and a read-data pointer to identify a location within the particular memory segment are generated for the datum of the second frame, and wherein, if (a) the write-segment pointer and the read-segment pointer identify an identical memory segment, and the read-data pointer is greater than the write-data pointer, the memory is selected, and if (b) the write-segment pointer and the read-segment pointer identify an identical memory segment, and the write-data pointer is greater than the read-data pointer, the buffer is selected.