summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* 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
* Replace manual setting of the removed av_log_level variable by theDiego Biurrun2009-04-02
| | | | | | corresponding call to av_log_set_level(). Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: START/STOP_TIMER support for ARMv7Måns Rullgård2009-04-01
| | | | Originally committed as revision 18305 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split libavutil/timer.h per architectureMåns Rullgård2009-04-01
| | | | Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix warnings in tree.c test code.Benoit Fouet2009-03-31
| | | | Originally committed as revision 18267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark non-exported functions in test and example programs as static.Diego Biurrun2009-03-31
| | | | Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a wildcard match instead of a list to remove test programs.Diego Biurrun2009-03-26
| | | | | | | This is robust against renames and also removes test programs not (yet) hooked up in the main Makefiles. Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.Diego Biurrun2009-03-25
| | | | Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use PIX_FMT_NE() for defining the PIX_FMT_RGB32 variants macros.Stefano Sabatini2009-03-23
| | | | Originally committed as revision 18174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the PIX_FMT_NE() macro more generic.Stefano Sabatini2009-03-23
| | | | Originally committed as revision 18173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename 'tests' target to 'testprogs'. It is too easily confused with theDiego Biurrun2009-03-22
| | | | | | 'test' target and a directory named tests exists. Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the pixel formats which were defined as macros:Stefano Sabatini2009-03-22
| | | | | | | | | | | | | | | | | | | | | | PIX_FMT_ARGB PIX_FMT_RGBA PIX_FMT_ABGR PIX_FMT_BGRA defined as enum PixelFormat values, and viceversa make: PIX_FMT_RGB32 PIX_FMT_RGB32_1 PIX_FMT_BGR32 PIX_FMT_BGR32_1 defined as macros, also resort accordingly the enum PixelFormat list. Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32" aliases, in order to make ffmpeg pass regressions test. This change breaks ABI backward compatibility. Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the RGB5X5/BGR5X5 pixel format defines so that we have littleStefano Sabatini2009-03-21
| | | | | | | | endian and big endian variants instead of native-endian ones. This patch breaks API/ABI backward-compatibility. Originally committed as revision 18133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use PIX_FMT_NE() macro.Stefano Sabatini2009-03-21
| | | | Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement PIX_FMT_NE() macro.Stefano Sabatini2009-03-21
| | | | Originally committed as revision 18131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove deprecated and now unused Mersenne Twister PRNG.Diego Biurrun2009-03-21
| | | | Originally committed as revision 18116 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When warning about forbidden pseudo random number generation functions,Diego Biurrun2009-03-21
| | | | | | suggest the correct replacement functions. Originally committed as revision 18114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reference to av_random where av_lfg_get was meant.Diego Biurrun2009-03-21
| | | | Originally committed as revision 18112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace random() usage in test programs by av_lfg_*().Diego Biurrun2009-03-20
| | | | Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align test program output columns.Diego Biurrun2009-03-20
| | | | Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make softfloat test program compile again: Setting the av_log_level variableDiego Biurrun2009-03-20
| | | | | | needs to be replaced by a call to av_log_set_level(). Originally committed as revision 18056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AES test program compile again: Setting the av_log_level variableDiego Biurrun2009-03-20
| | | | | | needs to be replaced by a call to av_log_set_level(). Originally committed as revision 18055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typedef int x86_reg on non x86Michael Niedermayer2009-03-19
| | | | Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation of adler32 test program: Use av_log_set_level()Diego Biurrun2009-03-19
| | | | | | instead of assigning a value to the av_log_level variable. Originally committed as revision 18040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove code that was disabled by the recent major version bump.Diego Biurrun2009-03-15
| | | | Originally committed as revision 17990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo: 'conjuction' -> 'conjunction'.Stefano Sabatini2009-03-15
| | | | Originally committed as revision 17989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ff_random_get_seed() prototypeMåns Rullgård2009-03-14
| | | | Originally committed as revision 17970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typos.Stefano Sabatini2009-03-10
| | | | Originally committed as revision 17927 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger2009-03-09
| | | | | | consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update VA API pixfmts documentation: struct vaapi_render_stateGwenole Beauchesne2009-03-09
| | | | | | shall now be copied to Picture.data[3]. Originally committed as revision 17912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove all remaining code that was disabled through the major version bump.Diego Biurrun2009-03-09
| | | | Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_fifo_reset function to completely reset fifo state, which makesReimar Döffinger2009-03-09
| | | | | | it easier to reuse the fifo. Originally committed as revision 17901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-03-09
| | | | Originally committed as revision 17897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove more functions disabled by major version bump.Reimar Döffinger2009-03-08
| | | | Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove/replace code disabled by major version bump.Reimar Döffinger2009-03-08
| | | | Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate the Mersenne Twister.Michael Niedermayer2009-03-08
| | | | | | | Please use an ALFG, MLFG, LCG or KISS99 generator, MLFG&KISS99 provide higher quality numbers and all should be faster. Originally committed as revision 17874 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all uses of the replaced av_fifo_read by av_fifo_generic_readReimar Döffinger2009-03-08
| | | | Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the Mersenne Twister from the public API/ABI.Michael Niedermayer2009-03-08
| | | | | | We provide better PRNGs. Originally committed as revision 17872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump major version of libavutil due to FIFO fixes.Michael Niedermayer2009-03-08
| | | | | | | The current API/ABI should not be considered stable yet, further ABI/API breakage is possible without major bumps. Originally committed as revision 17871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove av_fifo_read, API is already broken and major version will be bumped ↵Reimar Döffinger2009-03-08
| | | | | | soon. Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk