diff options
author | Måns Rullgård <mans@mansr.com> | 2010-04-29 14:41:20 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-04-29 14:41:20 +0000 |
commit | 547b7bcbb77d7f5b2cbcbce8d734ea43617194ab (patch) | |
tree | defd31a209f6fc16151819b44ec611787db9112e /libavcodec/x86/h264_i386.h | |
parent | faa2989e0f016fa44d41bc1047dee4f421ab088a (diff) | |
download | ffmpeg-547b7bcbb77d7f5b2cbcbce8d734ea43617194ab.tar.gz |
bswap: add macros to byteswap constants
The normal byteswap functions might use inline asm which is suboptimal
with constants (and cannot be used in static initialisers), so special
macros for constants only is needed.
We should not rely on the gcc __builtin_constant_p() test since it is
not always available.
Originally committed as revision 22990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/h264_i386.h')
0 files changed, 0 insertions, 0 deletions