summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* lavu/opt: fix doxy for av_opt_get* functions about return valueStefano Sabatini2013-10-04
| | | | | Success code must be >= 0 and not == 0, consistently with the implementation.
* lavu/common: add warning to GET_UTF8 doxyStefano Sabatini2013-10-04
| | | | Should prevent wrong uses, or at least decrease their chance.
* Merge commit '80fefbed623491b92fe59ead99225f99c0d0ca08'Michael Niedermayer2013-10-04
|\ | | | | | | | | | | | | * commit '80fefbed623491b92fe59ead99225f99c0d0ca08': x86: cpu: Restore some explanatory comments removed in 7160bb7 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: cpu: Restore some explanatory comments removed in 7160bb7Diego Biurrun2013-10-03
| |
* | Merge commit '5ce04c14dd3dd3670cbdba82275a3a72c716ec6f'Michael Niedermayer2013-10-03
|\| | | | | | | | | | | | | | | | | | | * commit '5ce04c14dd3dd3670cbdba82275a3a72c716ec6f': Use correct Doxygen syntax Conflicts: libavcodec/atrac3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use correct Doxygen syntaxDiego Biurrun2013-10-03
| |
* | VP9 MC (ssse3) optimizations.Ronald S. Bultje2013-10-02
| | | | | | | | Decoding time of ped1080p.webm goes from 20.7sec to 11.3sec.
* | Merge commit '38e15df1489d86c016515223ee693e7d0326c56a'Michael Niedermayer2013-09-28
|\| | | | | | | | | | | | | | | | | | | * commit '38e15df1489d86c016515223ee693e7d0326c56a': avframe: note that linesize is not the usable data size Conflicts: libavutil/frame.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avframe: note that linesize is not the usable data sizeAnton Khirnov2013-09-28
| |
| * pixdesc: fix NV20* descriptorsMichael Niedermayer2013-09-24
| | | | | | | | | | | | They were inconsistent (overlapping fields and wrong sizes) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-09-22
|\| | | | | | | | | | | | | * qatar/master: avutil: Fix compilation with inline asm disabled on mingw Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Fix compilation with inline asm disabled on mingwAlex Smith2013-09-22
| | | | | | | | | | | | Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e208e6d209728d332343aa5390ae377ac0a6305c'Michael Niedermayer2013-09-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e208e6d209728d332343aa5390ae377ac0a6305c': lavu: Add interleaved 4:2:2 8/10-bit formats Conflicts: doc/APIchanges libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h See: 90ca5a9b5fc3f1484c389a44f40ee1af4b8f435e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya2013-09-21
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avutil/pixdesc: try to fix NV20* descriptorsMichael Niedermayer2013-09-22
| | | | | | | | | | | | They where inconsistent (overlapping fields and wrong sizes) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya2013-09-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/attributes: Don't define av_restrictAlex Smith2013-09-21
| | | | | | | | | | | | This is always defined in config.h. Original patch by Derek Buitenhuis.
* | avutil/cpu: remove duplicate includeMichael Niedermayer2013-09-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '67e285ceca1cb602a5ab87010b30d904527924fe'Michael Niedermayer2013-09-21
|\| | | | | | | | | | | | | * commit '67e285ceca1cb602a5ab87010b30d904527924fe': mem: Handle av_reallocp(..., 0) properly Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Handle av_reallocp(..., 0) properlyMartin Storsjö2013-09-20
| | | | | | | | | | | | | | Previously this did a double free (and returned an error). Reported-by: Justin Ruggles Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '33b88f2a4ae54d5397c45e39a5326289ebdc7747'Michael Niedermayer2013-09-20
|\| | | | | | | | | | | | | * commit '33b88f2a4ae54d5397c45e39a5326289ebdc7747': msvc/icl: Use __declspec(noinline) Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * msvc/icl: Use __declspec(noinline)Alex Smith2013-09-20
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '09f2581dc5edb3642858d69d9a70b67e249167e9'Michael Niedermayer2013-09-20
|\| | | | | | | | | | | | | | | | | | | * commit '09f2581dc5edb3642858d69d9a70b67e249167e9': msvc/icl: Use __declspec(deprecated) Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * msvc/icl: Use __declspec(deprecated)Alex Smith2013-09-20
| | | | | | | | | | | | | | | | | | | | | | Prior to this on msvc/icl there was no handling of deprecated functions and the deprecated warning was disabled. After enabling there are a number of warnings relating to the CRT and the use of the non-secure versions of several functions. Defining _CRT_SECURE_NO_WARNINGS silences these warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil/frame: suppress "comparison of unsigned expression < 0 is always ↵Michael Niedermayer2013-09-19
| | | | | | | | | | | | false" warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: add av_get_colorspace_name()Michael Niedermayer2013-09-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | OpenCL: convert meaningless "device id" output to "device name"Lenny Wang2013-09-17
| | | | | | | | | | Approved-by: Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3feb3d6ce4be0a09a9f8f13d613bed25b523b6e7'Michael Niedermayer2013-09-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '3feb3d6ce4be0a09a9f8f13d613bed25b523b6e7': mem: Introduce av_reallocp Conflicts: doc/APIchanges libavutil/mem.c libavutil/mem.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Introduce av_reallocpLuca Barbato2013-09-16
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-09-15
|\| | | | | | | | | | | | | * qatar/master: mem: Document the non-compatibility of av_realloc() and av_malloc() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Document the non-compatibility of av_realloc() and av_malloc()Diego Biurrun2013-09-14
| |
* | avutil/pixdesc: dont try to use av_read_image_line() with bayer formatsMichael Niedermayer2013-09-13
| | | | | | | | | | | | It has undefined behavior ATM as its not supported. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixdesc: Prevent minor array overread in ff_check_pixfmt_descriptors()Michael Niedermayer2013-09-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/sha512: Fully unroll the transform function loopsJames Almer2013-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | crypto_bench SHA-512 results using an AMD Athlon X2 7750+, mingw32-w64 GCC 4.7.3 x86_64 Before: lavu SHA-512 size: 1048576 runs: 1024 time: 12.737 +- 0.147 After: lavu SHA-512 size: 1048576 runs: 1024 time: 11.670 +- 0.173 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/sha: Fully unroll the transform function loopsJames Almer2013-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | crypto_bench SHA-1 and SHA-256 results using an AMD Athlon X2 7750+, mingw32-w64 GCC 4.7.3 x86_64 Before: lavu SHA-1 size: 1048576 runs: 1024 time: 9.012 +- 0.162 lavu SHA-256 size: 1048576 runs: 1024 time: 19.625 +- 0.173 After: lavu SHA-1 size: 1048576 runs: 1024 time: 7.948 +- 0.154 lavu SHA-256 size: 1048576 runs: 1024 time: 17.841 +- 0.170 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-09-11
|\| | | | | | | | | | | | | * qatar/master: Drop pointless directory name prefixes from #includes in the current dir Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun2013-09-10
| |
* | lavu/ripemd: Add a size optimized version of the transform functionsJames Almer2013-09-09
| | | | | | | | | | | | | | | | When compiling with --enable-small, ripemd.o will weigh a few kilobytes less than it used to before the previous commit. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/ripemd: Fully unroll the transform function loopsJames Almer2013-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | crypto_bench RIPEMD-160 results using an AMD Athlon X2 7750+, mingw32-w64 GCC 4.8.1 x86_64 Before: lavu RIPEMD-160 size: 1048576 runs: 1024 time: 12.342 +- 0.199 After: lavu RIPEMD-160 size: 1048576 runs: 1024 time: 10.143 +- 0.192 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: provide msvc implementation of attribute_deprecatedKirill Gavrilov2013-09-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixfmt: add native GBRAP16 formatPaul B Mahol2013-09-06
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'c3e6e8f06c42499bd020fd0b37f9542150e6067b'Michael Niedermayer2013-09-06
|\| | | | | | | | | | | | | | | | | | | * commit 'c3e6e8f06c42499bd020fd0b37f9542150e6067b': mem: Do not check unsigned values for negative size Conflicts: libavutil/mem.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Do not check unsigned values for negative sizeDiego Biurrun2013-09-05
| |
* | Merge commit 'b634b36fcebfe16b837b6c4044f5d5cb99a75040'Michael Niedermayer2013-09-06
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b634b36fcebfe16b837b6c4044f5d5cb99a75040': mem: Improve documentation wording and spelling Conflicts: libavutil/mem.c libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Improve documentation wording and spellingDiego Biurrun2013-09-05
| |
* | tools: add benchmark for crypto functions.Nicolas George2013-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The benchmark tests the speed of the following algorithms: MD5, SHA-1, SHA-256, SHA-512, RIPEMD-160, AES-128. It can optionally be built to perform the same benchmark on other crypto libraries, for comparison purposes. The supported libraries are: - crypto: OpenSSL's libcrypto; - gcrypt: GnuTLS's libgcrypt; - tomcrypt: LibTomCrypt To enable them, use this syntax: make VERSUS=crypto+gcrypt+tomcrypt tools/crypto_bench They do not need to have been enabled in configure.
* | Merge commit 'b4ec7a5fee644ad9882e10c097817b65447b8e55'Michael Niedermayer2013-09-04
|\| | | | | | | | | | | | | * commit 'b4ec7a5fee644ad9882e10c097817b65447b8e55': mem: Document the av_realloc family of functions properly Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: Document the av_realloc family of functions properlyLuca Barbato2013-09-04
| | | | | | | | realloc() does not accept pointers from memalign().
* | avutil/fifo: assert that theres enough data in the fifo on drain calls.Michael Niedermayer2013-09-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixfmt: add native bayer 16bit formatsMichael Niedermayer2013-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>