[FFmpeg-devel] [PATCH] intmath.h: add an ff_log2_nz
atomnuker at gmail.com
Thu Dec 17 22:58:40 CET 2015
On Thu, 2015-12-17 at 22:17 +0100, Michael Niedermayer wrote:
> 32 and (32|1) have the same count of leading zeros so both functions
> would return the same value, what am i missing ?
Damn, sorry, I think I was half asleep while writing the patch.
Probably because I forgot to add 1 to ff_log2(x) while debugging and
wondering why it didn't work :)
Nevermind this patch, disregard and ignore it. Ganesh's patch could use
the faster C version though, but that's up to him.
More information about the ffmpeg-devel