[FFmpeg-devel] [PATCH 3/4] h264: use one table instead of several for cabac functions

Michael Niedermayer michaelni at gmx.at
Sat Apr 28 20:07:45 CEST 2012


On Fri, Apr 27, 2012 at 10:12:19PM +0200, Roland Scheidegger wrote:
> The reason is this is easier for PIC code (in particular on darwin...).
> Keep the old names as pointers (static in cabac_functions.h so gcc
> knows these are just immediate offsets) so the c code can nicely stay the same
> (alternatively could use offsets directly in the functions needing the
> tables). This should produce the same code as before with non-pic and better
> code (confirmed) with pic.
> 
> The assembly uses the new table but still won't work for PIC case.

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120428/39ca11d3/attachment.asc>


More information about the ffmpeg-devel mailing list