Patent ID: 6996178

Claim:
A method for processing a compressed bitstream comprising video data, the method comprising: parsing a portion of the compressed bitstream before motion compensation on video data included in the portion; obtaining motion information related to the video data, the motion information comprising a set of motion vectors; identifying a reference sub-region based on at least the motion information; creating a reference window that includes a set of reference window sub-regions, where the reference sub-region is the upper left reference window sub-region in the reference window; storing the reference sub-region identified by the motion information and storing the reference window in an on-chip memory before performing motion compensation using the set of motion vectors, wherein a time that the reference sub-region and reference window is stored in the on-chip memory before performing motion compensation using the set of motion vectors comprises an estimated time to reconstruct one macroblock; and performing motion compensation on the video data in raster order and using the reference sub-region stored on the on-chip memory.