summaryrefslogtreecommitdiff
path: root/libavutil/bswap.h
Commit message (Collapse)AuthorAge
* aarch64: bswap inline assemblyJanne Grunau2014-01-14
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* bswap: make generic implementation more compiler-friendlyMans Rullgard2011-12-12
| | | | | | | | With these changes, gcc 4.5 and later recognise it as a bswap and use the proper instructions on ARM and x86. On x86, the 16-bit bswap is recognised from gcc 4.1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bswap.h: Remove disabled code.Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make bswap.h safe to install as public APIMåns Rullgård2010-07-10
| | | | Originally committed as revision 24171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: 10L add missing parens around macro argsMåns Rullgård2010-05-09
| | | | Originally committed as revision 23070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: add macros to byteswap constantsMåns Rullgård2010-04-29
| | | | | | | | | | | 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
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-09
| | | | | | | This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVR32: inline asm for bswap.hMåns Rullgård2009-08-17
| | | | Originally committed as revision 19664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: replace "armv4l" with "arm"Måns Rullgård2008-12-17
| | | | Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split bswap.h into per-arch filesMåns Rullgård2008-10-21
| | | | Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: Kill warning in bswap_32()Måns Rullgård2008-10-20
| | | | Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't include byteswap.h anymore.Carl Eugen Hoyos2008-10-12
| | | | Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()Måns Rullgård2008-07-15
| | | | Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: ARMv6 optimised bswap_16/32Måns Rullgård2008-07-15
| | | | Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-19
| | | | | | | in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 32/64-bit agnostic x86 bswapMåns Rullgård2008-03-18
| | | | Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: sanitise asm() statements in bswap.hMåns Rullgård2008-03-18
| | | | Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-18
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-18
| | | | | | | | | Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add #include "config.h" to headers that need it.Diego Biurrun2008-03-13
| | | | Originally committed as revision 12431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2008-03-10
| | | | Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for x86 bswap instructionMåns Rullgård2008-03-08
| | | | Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prettyprinting cosmeticsDiego Biurrun2008-02-15
| | | | Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-17
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove leading underscores from specifiers, they are reserved.Diego Biurrun2007-07-02
| | | | Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-16
| | | | Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reorder bswap functions into bit-depth, special-casing inside the functions.Ramiro Polla2007-04-26
| | | | | | patch by Ramiro Polla ramiro lisha ufsc br Originally committed as revision 8823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make 2 functions "return x;" to simplify next patchRamiro Polla2007-04-26
| | | | | | patch by Ramiro Polla ramiro lisha ufsc br Originally committed as revision 8822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Faster 32 bit byteswaping code for Blackfin.Marc Hoffman2007-04-24
| | | | | | | 200% faster on BF537 compiled with gcc 4.1. patch by Marc Hoffman, mmh pleasantst com Originally committed as revision 8802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename always_inline to av_always_inline and move to common.hMåns Rullgård2006-12-08
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use common define for x86_32 and x86_64.Diego Biurrun2006-11-01
| | | | Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better #endif commentDiego Biurrun2006-11-01
| | | | Originally committed as revision 6851 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-10
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 ↵Ivan Kalvachev2006-02-22
| | | | | | code. Originally committed as revision 5049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-22
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libavutil: Utility code from libavcodec moved to a separate library.Alexander Strasser2005-08-01
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk