[FFmpeg-devel] A further potential optimization of H264 deblocking

Jindrich Makovicka makovick
Tue May 29 20:21:40 CEST 2007

On Tue, 29 May 2007 13:58:08 -0400
"Guy Bonneau" <gbonneau at matrox.com> wrote:

> While I was studying the deblocking algorithm of the H264
> specification I dug in the ffmpeg mmx implementation to understand
> how this is implemented. I had a hard time to understand the
> optimization so I went through the Binary Math. Yet while doing the
> Math I think I might have found a small further optimization. 


> Its is a 3 instructions gain over 20 instructions. 
> Unfortunately I cannot try it myself since I'm using Windows
> and this is theoretical stuff. If someone can do it I would 
> be interested to know if it works or I missed something.

I just tried mplayer -vo md5sum and the results are different from the
original code.

Jindrich Makovicka

More information about the ffmpeg-devel mailing list