Patent ID: 8861585

Claim:
A method of processing multimedia data, including a plurality of video frames, the method comprising: initializing a pixel-level reference counter for a current frame; performing a prediction of a next frame referring to the current frame; incrementing the pixel-level reference counter for each pixel of the current frame that is referenced during the prediction of the next frame; and readjusting a macroblock bandwidth map of the current frame based at least in part on the incremented pixel-level reference counter, wherein, for a N×M macroblock (x, y), readjusting the macroblock bandwidth map of the current frame includes scaling bandwidth map values of the macroblock bandwidth map in accordance with the following equation: C + ∑ i = x x + ( N - 1 ) ⁢ ∑ j = y y + ( M - 1 ) ⁢ R ⁡ ( i , j ) , wherein C is a constant determined by experiment, and R(i, j) is the pixel-level reference counter for the N×M macroblock (x, y), and wherein the macroblock bandwidth map indicates a bit allocation used to code one or more blocks of the current frame.