Patent ID: 8588297

Claim:
A non-transitory computer readable medium comprising instructions executable by a processor to perform a method, the method comprising: obtaining a current frame from a video stream, wherein the video stream comprises a plurality of frames; determining a first base QP value for the current frame; sending the first base QP value for the current frame to a decoder; obtaining a first macroblock from the current frame, wherein the first macroblock comprises a first image on the current frame; determining a first actual quantization parameter (QP) value for the first macroblock; determining a first reference block for the first macroblock; determining a first predicted QP value for the first macroblock using the first reference block; calculating a first ΔQP value for the first macroblock as a difference between the first actual QP value and the first predicted QP value; and sending the first ΔQP value, a first prediction mode, and a first reference vector to the decoder, wherein the first prediction mode indicates a frame of the plurality of frames on which the first reference block resides, and wherein the first reference vector discloses a location of the first reference block on the frame.