[FFmpeg-devel] [PATCH 2/2] Remove ff_inverse from libavcodec.
Diego 'Flameeyes' Pettenò
Thu Oct 2 19:56:58 CEST 2008
Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:
> Using a symbol from another library is slower (a symbol from the same
> library is at a constant offset, a symbol from another library requires
> lookup through offset table). Since the whole point of FASTDIV is speed
> this could matter.
Yeah I expected something like this. An altenative approach would be to
check for CONFIG_SMALL: if it's not defined, ff_inverse could be defined
static inside the ff_sqrt function itself, otherwise the external
declaration would be used. The problem is that it would make the header
file dependent on a build configuration option.
Diego "Flameeyes" Petten?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
More information about the ffmpeg-devel