Patent ID: 7336720

Claim:
A method of real-time encoding a digitized sequence of video frames using a codec with high compression efficiency, comprising steps of: dividing a video frame into macroblocks of pixels; performing texture prediction using reconstructed texture of previously encoded/decoded video data; performing a texture prediction error transform; and performing quantization and encoding of DCT transform coefficients; wherein quantization of DCT transform coefficients is performed using the following formula: q =( c·A (Quantstep)+round_const)+round_const)/2 20 ; where c—coefficient value; q—quantized coefficient value; A—a constant depending on quantization parameter index; round_const—rounding control: 0.5 sign (c), if |c|<20·2 20 /A (Quantstep) and 0.25 sign (c), if |c|≧20·2 20 /A (Quantstep).