[FFmpeg-devel] ZMBV Improved Motion Estimation
Jason Garrett-Glaser
darkshikari
Sun May 11 14:21:57 CEST 2008
>
> I call and raise.
>
> 16765242 May 11 05:03 ffmpeg2.CAPCOM.FLC.avi
> 792548 May 11 05:03 ffmpeg2.CRUSHER.FLC.avi
> 2285332 May 11 05:03 ffmpeg2.FLOAT.FLC.avi
Wow, this is what I get from coding at 4 in the morning. I just
looked back at the code I wrote and realized that under your original
code, "histogram[0]" already tracks the zero count, making almost all
of my patch except the last line completely unnecessary.
It should work with something like this:
return sum + 256*bw*bh - histogram[0]*256;
But it doesn't. I suspect I'm missing the obvious due to lack of
sleep. I'll look back on this in the morning.
Dark Shikari
More information about the ffmpeg-devel
mailing list