1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavutil
Måns Rullgård 547b7bcbb7 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
2010-04-29 14:41:20 +00:00
..
arm Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
avr32 Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
bfin Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
mips Mark all intreadwrite functions av_always_inline 2010-01-18 01:35:19 +00:00
ppc Mark all intreadwrite functions av_always_inline 2010-01-18 01:35:19 +00:00
sh4 Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
tomi TOMI: 16- and 32-bit intreadwrite functions 2010-02-19 03:20:01 +00:00
x86 Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
adler32.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
adler32.h Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
aes.c cosmetics: Rename prn variable to prng (Pseudo Random Number Generator). 2009-04-10 17:23:38 +00:00
aes.h Add "const" to AES function arguments where possible without generating 2009-01-28 17:48:26 +00:00
attributes.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
avstring.c Add av_stristr() function 2010-03-06 19:41:22 +00:00
avstring.h More descriptive names for av_stristr() parameters 2010-03-08 22:16:05 +00:00
avutil.h Add version to AVClass so we can add to and use fields of AVClass without ABI issues. 2010-04-28 20:00:23 +00:00
base64.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
base64.h Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should 2009-06-06 09:35:15 +00:00
bswap.h bswap: add macros to byteswap constants 2010-04-29 14:41:20 +00:00
common.h Reindent after r22968. 2010-04-26 21:01:38 +00:00
crc_data.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
crc.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
crc.h Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
des.c Move array specifiers outside DECLARE_ALIGNED() invocations 2010-01-22 03:25:11 +00:00
des.h Add support for 3DES to DES module 2009-02-03 16:45:42 +00:00
error.c Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS) 2010-04-27 22:26:08 +00:00
error.h Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS) 2010-04-27 22:26:08 +00:00
fifo.c Clarify non constness of src in av_fifo_generic_write() 2010-02-23 12:14:13 +00:00
fifo.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
integer.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
integer.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
internal.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
intfloat_readwrite.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
intfloat_readwrite.h Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
intmath.h Fix build on configurations without fast av_log2() 2010-03-09 01:19:28 +00:00
intreadwrite.h Fix build failure with fast_unaligned and non-gcc-compatible compilers 2010-03-02 03:16:24 +00:00
lfg.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
lfg.h Implement av_bmg_next(), a Box-Muller Gaussian random generator. 2009-12-12 16:24:37 +00:00
libavutil.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
libm.h Workaround for missing llrintf() 2010-04-23 16:28:10 +00:00
lls.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
lls.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
log.c 4th try at getting ansi colors working with a default of color=yes_please. 2010-04-23 21:27:26 +00:00
log.h Fix typo. 2010-04-28 20:08:02 +00:00
lzo.c Give liblzo benchmark conditionals more descriptive names and add convenience 2009-04-09 15:11:48 +00:00
lzo.h Documentation for LZO error return value flags 2009-02-02 20:42:06 +00:00
Makefile Implement av_strerror(). 2010-03-25 22:46:35 +00:00
mathematics.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
mathematics.h Add M_SQRT2 to the constants in mathematics.h. 2010-04-09 23:29:47 +00:00
md5.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
md5.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
mem.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
mem.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pca.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pca.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pixdesc.c Add PIX_FMT_Y400A, 8bit gray, 8bit alpha 2010-04-14 20:15:19 +00:00
pixdesc.h Move read_line() and write_line() definition from pixdesc.h to 2010-02-16 20:17:50 +00:00
pixfmt.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
random_seed.c indent 2010-03-11 02:32:14 +00:00
random_seed.h Fix typo: 'conjuction' -> 'conjunction'. 2009-03-15 16:36:36 +00:00
rational.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rational.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rc4.c Remove more functions disabled by major version bump. 2009-03-08 15:02:12 +00:00
rc4.h Add and use a public API for RC4 and DES, analogous to the AES API. 2009-02-03 14:20:55 +00:00
sha1.h Prepare SHA code to handle SHA-2 as well. For now rename files and functions 2009-07-10 15:50:49 +00:00
sha.c sha: add missing include 2010-03-11 02:32:08 +00:00
sha.h Add SHA-2 hashing 2009-07-17 04:30:06 +00:00
softfloat.c Make softfloat test program compile again: Setting the av_log_level variable 2009-03-20 00:23:13 +00:00
softfloat.h spelling/grammar/consistency review part I 2009-01-28 00:16:05 +00:00
timer.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
tree.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
tree.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
utils.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
x86_cpu.h typedef int x86_reg on non x86 2009-03-19 14:49:47 +00:00