Patent ID: 7826527

Claim:
A computerized method for video data stream integration and compensation, the video data stream including a plurality of key frames and a plurality of non-key frames, the non-key frames being compressible by making reference to the key frames, said method comprising: using a discrete wavelet transform technique to compress and encode the key frames in the video stream, and integrating interframe computations of the key frames and the non-key frames of the video data stream which are processed using a discrete cosine transform technique; and executing by a processor a compensation procedure according to a current code stream so as to optimize the integrated video stream ; wherein the compensation procedure comprises: (A) estimating a bit rate of a data packet for the current code stream; (B) adjusting a current quantization coefficient based on the bit rate; (C) quantizing transform coefficients of the discrete cosine transform using the quantization coefficient adjusted in step (B); and (D) encoding quantization result of step (C), wherein in step (B), the bit rate is substituted into an optimized matching parameter model to adjust the quantization coefficient, and wherein the optimized matching parameter model is expressed as follows: r = ( c 1 Q + c 2 Q 2 + c 3 P ) * S where r represents the bit rate; S represents the coding complexity; Q represents the quantization coefficient c 1 ,c 2 represent distortion constants; c 3 represents a packet loss ratio; and P represents an information re-sending parameter of a current data packet.