summaryrefslogtreecommitdiffstats
path: root/libavutil/bswap.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix compile error on bfin.Bernd Kuhls2014-08-051-2/+0
| | | | | | | | | | | | | | | | | | After the removal of all Blackfin architecture optimizations in http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b55d3bbeed375f7b74442c4dd274d116a3e3d2e1 some includes were left behind leading to a compile error: CC libavformat/adtsenc.o In file included from ./libavcodec/get_bits.h:35, from ./libavcodec/ac3_parser.h:27, from libavformat/ac3dec.c:23: ./libavcodec/mathops.h:43:29: error: bfin/mathops.h: No such file or directory This compile error was found by buildroot autobuild system: http://autobuild.buildroot.net/results/ae0/ae056f267e907091d09d2a1546d6f1ae02fa23b9/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-151-1/+3
|\ | | | | | | | | | | | | * qatar/master: aarch64: bswap inline assembly Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: bswap inline assemblyJanne Grunau2014-01-141-1/+3
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-131-17/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bswap: make generic implementation more compiler-friendlyMans Rullgard2011-12-121-11/+2
| | | | | | | | | | | | | | | | 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-291-6/+0
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make bswap.h safe to install as public APIMåns Rullgård2010-07-101-2/+8
| | | | Originally committed as revision 24171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-101-20/+20
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-24/+24
| | | | | | | 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-091-2/+2
| | | | Originally committed as revision 23070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: add macros to byteswap constantsMåns Rullgård2010-04-291-0/+17
| | | | | | | | | | | 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-201-1/+1
| | | | | | | | 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-091-1/+1
| | | | | | | 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-171-0/+2
| | | | Originally committed as revision 19664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-261-1/+1
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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-281-2/+2
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-4/+4
| | | | | | 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-171-1/+1
| | | | Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split bswap.h into per-arch filesMåns Rullgård2008-10-211-43/+16
| | | | Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: Kill warning in bswap_32()Måns Rullgård2008-10-201-1/+1
| | | | Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-161-10/+10
| | | | | | | | | | | | | 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-121-6/+0
| | | | Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | 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-151-1/+1
| | | | Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: ARMv6 optimised bswap_16/32Måns Rullgård2008-07-151-0/+4
| | | | 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-191-3/+3
| | | | | | | 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-181-14/+6
| | | | Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: sanitise asm() statements in bswap.hMåns Rullgård2008-03-181-21/+17
| | | | Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-181-3/+3
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-181-3/+3
| | | | | | | | | 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-131-0/+1
| | | | Originally committed as revision 12431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2008-03-101-1/+1
| | | | Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for x86 bswap instructionMåns Rullgård2008-03-081-1/+1
| | | | Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prettyprinting cosmeticsDiego Biurrun2008-02-151-26/+24
| | | | Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove leading underscores from specifiers, they are reserved.Diego Biurrun2007-07-021-3/+3
| | | | Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-161-0/+3
| | | | 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-261-65/+14
| | | | | | 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-261-2/+4
| | | | | | 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-241-0/+12
| | | | | | | 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-081-7/+7
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use common define for x86_32 and x86_64.Diego Biurrun2006-11-011-2/+2
| | | | Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better #endif commentDiego Biurrun2006-11-011-1/+1
| | | | 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-071-4/+6
| | | | | | 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-101-0/+18
| | | | 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-221-1/+1
| | | | | | code. Originally committed as revision 5049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-221-19/+19
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-4/+4
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud