[FFmpeg-devel] av_ctz optimization

James Almer jamrial at gmail.com
Sun Oct 11 04:50:51 CEST 2015


On 10/10/2015 11:44 PM, Ganesh Ajjanagadde wrote:
> Hi all,
> 
> Turns out that the De-Bruijn method can be used to speed up av_ctz as
> well. But before going about it, I was curious as to why such an
> interface is actually public. It makes absolutely zero sense to me:
> usage is limited exactly to one location, namely libavcodec/flacenc.c.
> Was this an accident?
> 
> Regards,
> Ganesh

It's not really public since intmath.h is not an installed header.
Why it exists and is used instead of ff_ctz, i don't know.


More information about the ffmpeg-devel mailing list