Patent ID: 8009734

Claim:
A method for implementing B-frame prediction in video compression comprising the steps of: (A) setting a prediction flag (i) off if B-frames are used for block prediction and (ii) on if B-frames are not used for block prediction; (B) determining whether a current macroblock is a B-frame macroblock; (C) when said current macroblock is not a B-frame macroblock, generating an output video signal in response to an input video signal by (i) performing an inverse quantization operation and an inverse transform operation in accordance with a predefined coding specification and (ii) performing a deblocking filtering operation; and (D) when said current macroblock is a B-frame macroblock, if (i) said current macroblock is an intra macroblock or (ii) said prediction flag is off and said current macroblock is used for intra prediction, generating said output video signal in response to said input video signal by performing said inverse quantization and said inverse transform operations in accordance with said predefined coding specification and bypassing said deblocking filtering operation, otherwise, generating said output video signal in response to said input video signal while bypassing said inverse quantization operation, said inverse transform operation and said deblocking filtering operation.