summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* AVR32: optimisations for intreadwrite.hMåns Rullgård2009-08-17
| | | | Originally committed as revision 19665 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
* MIPS: 100L: fix AV_[RW]N64 on MIPS64Måns Rullgård2009-08-16
| | | | Originally committed as revision 19660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reformat intreadwrite.hMåns Rullgård2009-08-16
| | | | Originally committed as revision 19659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* intreadwrite: ensure arch-specific versions are always used if definedMåns Rullgård2009-08-16
| | | | | | | | | The per-arch headers can define any combination of B/L/N variants. This ensures that whatever is defined in an arch header gets used for all equivalents not defined there. E.g. on a little-endian machine, AV_RN and AV_RL should give the same code. Originally committed as revision 19658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* intreadwrite: allow arch-specific 24-bit access macrosMåns Rullgård2009-08-16
| | | | Originally committed as revision 19657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: first value loaded in AV_RN64 needs to be early-clobberMåns Rullgård2009-08-16
| | | | Originally committed as revision 19656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce av_clip_uint16().Ramiro Polla2009-08-13
| | | | Originally committed as revision 19636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove disabled code cruft.Diego Biurrun2009-08-10
| | | | Originally committed as revision 19616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define INFINITIY and NAN in mathematics.h if missingMåns Rullgård2009-08-10
| | | | Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert addition of '#undef av_always_inline' to config.h in the small case.Diego Biurrun2009-07-30
| | | | | | | Instead, #include config.h at the top of common.h so that av_always_inline does not get doubly defined. Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark conditionally used variable T2 as av_unused; avoids the warning:Diego Biurrun2009-07-30
| | | | | | libavutil/sha.c:183: warning: unused variable `T2' Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: fix asm operand constraints in AV_RL64Måns Rullgård2009-07-29
| | | | | | The target register of first word loaded must be marked early-clobber. Originally committed as revision 19536 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
* Check for __attribute__((packed)) supportMåns Rullgård2009-07-17
| | | | | | Not all compilers claiming to be gcc support this attribute. Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent after last commitKostya Shishkov2009-07-17
| | | | Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SHA-2 hashingKostya Shishkov2009-07-17
| | | | Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless definition of struct AVCLASS.Stefano Sabatini2009-07-12
| | | | Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a log2 replacement for systems that haven't quite caught up with the C99Alex Converse2009-07-10
| | | | | | standard library. Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prepare SHA code to handle SHA-2 as well. For now rename files and functionsKostya Shishkov2009-07-10
| | | | | | and leave av_sha1_* functions for compatibility until next major bump. Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename function to sha1_transform so it won't be confused with SHA-2 transformKostya Shishkov2009-07-09
| | | | | | when it's added. Originally committed as revision 19389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use pointer to hash transform function to make adding SHA-2 support easier.Kostya Shishkov2009-07-09
| | | | Originally committed as revision 19388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: vertical align AVSHA1 membersKostya Shishkov2009-07-09
| | | | Originally committed as revision 19387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend AVSHA1 so it can be used in future SHA-2 code as wellKostya Shishkov2009-07-09
| | | | Originally committed as revision 19386 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document SHA-1 functions and structuresKostya Shishkov2009-07-09
| | | | Originally committed as revision 19385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h toRamiro Polla2009-07-09
| | | | | | lavu/mem.h. Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not throw compiler error if asm code needs alignment, but we do not knowRamiro Polla2009-07-09
| | | | | | | how to do it for this compiler. This removes a dependency of config.h on the DECLARE_* macros. Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: use gcc inline asm in bswap.h only when availableMåns Rullgård2009-07-01
| | | | Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Icc does not support attribute flatten, do not try to use it.Carl Eugen Hoyos2009-06-28
| | | | Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and ↵Carl Eugen Hoyos2009-06-27
| | | | | | cold. Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix cast of byte buffer to uint32 that was disregarding alignmentJeff Downs2009-06-12
| | | | | | | | | requirements. Now calculates crc byte at a time until aligned, then continues with uint32 optimized calculation. This fixes crashes during mlp decoding on sparc (at least, maybe others). Originally committed as revision 19160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat file to K&R style upon Kostya's request.Diego Biurrun2009-06-11
| | | | Originally committed as revision 19154 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Add missing ending backslash to installed header list.Diego Biurrun2009-06-09
| | | | Originally committed as revision 19135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove '\p', '\c' and '\e' doxygen markup from doxy, as it shouldStefano Sabatini2009-06-06
| | | | | | | | improve plain text doxy readability. See the thread: "[RFC] Should we use doxygen markup?". Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MIPS: inline asm for intreadwrite.hMåns Rullgård2009-05-28
| | | | Originally committed as revision 18980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add LABEL_MANGLE() to export label symbols from inside asm blocks.Ramiro Polla2009-05-25
| | | | Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ALIGN macro to libavutil/common.h and use it in various placesDavid Conrad2009-05-22
| | | | Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add @code/@endcode commands to markup C code in av_tree_insert() doxy.Stefano Sabatini2009-05-09
| | | | Originally committed as revision 18776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing '*' to av_tree_insert() doxy.Stefano Sabatini2009-05-09
| | | | Originally committed as revision 18775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 10l typo (usage of PIX_FMT_NE()).Michael Niedermayer2009-04-22
| | | | | | Should fix FATE, i forgot to commit this. Originally committed as revision 18656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add 420,422 and 444 planar 16bit per component pix formats.Michael Niedermayer2009-04-21
| | | | Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: check for x-form asm constraint supportMåns Rullgård2009-04-18
| | | | Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC asm for AV_RL*()Måns Rullgård2009-04-18
| | | | | | | | | | | | PPC is normally big endian but has special little endian load/store instructions. Using these avoids a separate byteswap. This makes the vorbis decoder about 5% faster. Not much else uses little-endian read/write extensively. GCC generates horrible PPC code for the default AV_[RW]B64 (which uses a packed struct), so we override it with a plain pointer cast. Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM asm for AV_RN*()Måns Rullgård2009-04-18
| | | | | | | | | | | | | | | ARMv6 and later support unaligned loads and stores for single word/halfword but not double/multiple. GCC is ignorant of this and will always use bytewise accesses for unaligned data. Casting to an int32_t pointer is dangerous since a load/store double or multiple instruction might be used (this happens with some code in FFmpeg). Implementing the AV_[RW]* macros with inline asm using only supported instructions gives fast and safe unaligned accesses. ARM RVCT does the right thing with generic code. This gives an overall speedup of up to 10%. Originally committed as revision 18601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorganise intreadwrite.hMåns Rullgård2009-04-18
| | | | | | | | This changes intreadwrite.h to support per-arch implementations of the various macros allowing us to take advantage of special instructions or other properties the compiler does not know about. Originally committed as revision 18600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).Diego Biurrun2009-04-10
| | | | Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give liblzo benchmark conditionals more descriptive names and add convenienceDiego Biurrun2009-04-09
| | | | | | definitions along with instructions for changing them. Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a configure check for lzo1x_999_compress() and compile the lzo test programDiego Biurrun2009-04-09
| | | | | | in libavutil when this function is available. Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_fifo_space().Olivier Guilyardi2009-04-02
| | | | | | Patch by Olivier Guilyardi list et samalyse DOT c0m. Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.Diego Biurrun2009-04-02
| | | | Originally committed as revision 18320 to svn://svn.ffmpeg.org/ffmpeg/trunk