summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* lavu/opt: fix av_opt_get functionLukasz Marek2014-11-12
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavu/opt: fix memleak in testLukasz Marek2014-11-12
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* Merge commit 'c6074a30ba3b5fb4319ee6ee599656d58548cdc8'Michael Niedermayer2014-11-11
|\ | | | | | | | | | | | | * commit 'c6074a30ba3b5fb4319ee6ee599656d58548cdc8': opt: Fix the documentation mentioning av_set_string3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * opt: Fix the documentation mentioning av_set_string3Luca Barbato2014-11-11
| | | | | | | | It is av_opt_set now.
* | lavu/opt: update testsLukasz Marek2014-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | In general this commit prepares opt tests to be added to fate. The commit set some non-zero defaults for test options. It allows to check if defaults are really set. Added printing of default values. Added more cases for testing av_set_options_string Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavu/opt: add support for binary defaultsLukasz Marek2014-11-11
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavu/opt: check for NULL before parsingLukasz Marek2014-11-11
| | | | | | | | | | | | set_string_binary crashes when called with val==NULL Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavu/opt: copy dict in av_opt_copyLukasz Marek2014-11-09
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavu/opt: document av_opt_copy functionLukasz Marek2014-11-09
| |
* | Remove fminf() emulation.Carl Eugen Hoyos2014-11-08
| | | | | | | | | | | | The emulation is unused and causes compilation trouble on systems where fminf() is defined in <math.h> but missing from libm. This should fix compilation on Debian powerpcspe.
* | Merge commit '4981baf9b803f3c4866b2e97fdadb008c62dc7ad'Michael Niedermayer2014-11-07
|\| | | | | | | | | | | | | * commit '4981baf9b803f3c4866b2e97fdadb008c62dc7ad': avstring: Mark some character handling functions av_const Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avstring: Mark some character handling functions av_constHenrik Gramner2014-11-07
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil/ppc/util_altivec: add () to VEC_LD macro argumentsMichael Niedermayer2014-11-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/ppc/util_altivec: make src pointers const, fix warningsMichael Niedermayer2014-11-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/ppc/util_altivec.h : fix unaligned_load() vec_unaligned_load() add ↵Rong Yan2014-11-07
| | | | | | | | | | | | macros VEC_LD() VEC_MERGEH() VEC_MERGEL() VEC_ST() for POWER LE Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/time_internal: do not attempt to override *time_r() macrosMichael Niedermayer2014-11-05
| | | | | | | | | | | | | | Fixes build on somewhat odd setups with mingw Fixes Ticket4075 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/atomic: add support for the new memory model aware gcc built-insJames Almer2014-10-29
| | | | | | | | | | | | | | | | | | | | | | | | __sync built-ins are considered legacy and will be deprecated. These new memory model aware built-ins have been available since GCC 4.7.0 Use them by default when available except for __atomic_compare_exchange_n(), which is slower, and is instead implemented as a fallback for when and if gcc removes the legacy __sync built-ins. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/intmath: enable builtin intrinsics for icl and msvc.Matthew Oliver2014-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '82ee7d0dda0fec8cdb670f4e844bf5c2927ad9de'Michael Niedermayer2014-10-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '82ee7d0dda0fec8cdb670f4e844bf5c2927ad9de': Use gmtime_r instead of gmtime and localtime_r instead of localtime Conflicts: libavformat/mov.c libavformat/mxfenc.c libavformat/wtvdec.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use gmtime_r instead of gmtime and localtime_r instead of localtimeMartin Storsjö2014-10-26
| | | | | | | | | | | | | | | | | | | | | | gmtime isn't thread safe in general. In msvcrt (which lacks gmtime_r), the buffer used by gmtime is thread specific though. One call to localtime is left in avconv_opt.c, where thread safety shouldn't matter (instead of making avconv depend on the libavutil internal header). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '3f8f1c6ff24ee858eb5b0bf47ef6d4605299a87e'Michael Niedermayer2014-10-26
|\| | | | | | | | | | | | | | | | | | | * commit '3f8f1c6ff24ee858eb5b0bf47ef6d4605299a87e': lavu: Provide fallbacks for gmtime_r and localtime_r Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Provide fallbacks for gmtime_r and localtime_rMartin Storsjö2014-10-26
| | | | | | | | | | | | | | | | | | | | | | | | This allows writing most code as if they always are is available. These are ok to use from other libraries even though it's not a public header, since they only provide an inline declaration, and doesn't add an actual dependency on lavu internals. (This can be considered more a build system compatibility fallback than a libavutil feature.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5'Michael Niedermayer2014-10-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5': lavu: Add av_gettime_relative Conflicts: libavutil/time.c libavutil/time.h libavutil/version.h See: 0eec06ed8747923faa6a98e474f224d922dc487d Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add av_gettime_relativeMartin Storsjö2014-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since av_gettime() is used in a number of places where actual real time clock is required, the monotonic clock introduced in ebef9f5a5 would have consequences that are hard to handle. Instead split it into a separate function that can be used in the cases where only relative time is desired. On platform where no monotonic clock is available, the difference between the two av_gettime functions is not clear, and one could mistakenly use the relative clock where an absolute one is required. Therefore add an offset, to make it evident that the time returned from av_gettime_relative never is actual current real time, even though it is based on av_gettime. Based on a patch by Olivier Langlois. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil/avstring: fix hardcoded separator in av_match_list()Michael Niedermayer2014-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/avstring: Reimplement av_match_list()Michael Niedermayer2014-10-23
| | | | | | | | | | | | | | av_match_list() is only used for whitelists, fix it so it works with multi-named formats like "mov,mp4,m4a,3gp,3g2,mj2" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/cast5: Fix off by one errorMichael Niedermayer2014-10-20
| | | | | | | | | | | | Fixes fate-cast5 on alpha Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/error: Introduce new error codes for 4XX and 5XX replies from remote ↵Andrey Utkin2014-10-19
| | | | | | | | | | | | servers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: Add missing av_free() to cast5 selftestGiorgio Vazzana2014-10-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: Add CAST128 symmetric block cipherSupraja Meedinti2014-10-18
| | | | | | | | | | | | | | Only ECB mode is supported at the moment Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/lzo: fix resource leakRuoyu2014-10-11
| | | | | | | | | | Signed-off-by: Ruoyu <liangry@ucweb.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix undefined shift in av_add_sf()Michael Niedermayer2014-10-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | float_dsp-test: allow forcing cpuflagsJames Almer2014-10-10
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/error: Add AVERROR_INPUT_CHANGED & AVERROR_OUTPUT_CHANGED to ↵Michael Niedermayer2014-10-10
| | | | | | | | | | | | error_entries[] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: add some assertsMichael Niedermayer2014-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix dependence on signed overflow in av_normalize1_sf()Michael Niedermayer2014-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/Makefile: add softfloat to TESTPROGSMichael Niedermayer2014-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5a419b2dd1881889d436f55741fd3ff3f9f436c4'Michael Niedermayer2014-10-08
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '5a419b2dd1881889d436f55741fd3ff3f9f436c4': pixdesc: return color properties names Conflicts: libavutil/pixdesc.c libavutil/pixdesc.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: return color properties namesVittorio Giovara2014-10-08
| |
* | Merge commit '04ccd584a70fad4ebb29ca340d704970ff313cbc'Michael Niedermayer2014-10-08
|\| | | | | | | | | | | | | | | | | | | * commit '04ccd584a70fad4ebb29ca340d704970ff313cbc': pixfmt: mark further reserved values Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixfmt: mark further reserved valuesVittorio Giovara2014-10-08
| |
* | Merge commit 'c732c62cee43f651775af5547cff99d418248542'Michael Niedermayer2014-10-08
|\| | | | | | | | | | | | | * commit 'c732c62cee43f651775af5547cff99d418248542': doc: expand description for some color properties Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doc: expand description for some color propertiesVittorio Giovara2014-10-08
| |
| * log: Unbreak no-tty support on 256color terminalsLuca Barbato2014-09-26
| |
| * x86inc: Make INIT_CPUFLAGS support an arbitrary number of cpuflagsHenrik Gramner2014-09-09
| | | | | | | | | | | | Previously there was a limit of two cpuflags. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * x86inc: Free up variable name "n" in global namespaceLoren Merritt2014-09-09
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * x86inc: Make ym# behave the same way as xm#Henrik Gramner2014-09-09
| | | | | | | | | | | | This makes more sense for future implementations of templates with zmm registers. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * time: Add missing zeroGabriel Dume2014-09-08
| | | | | | | | | | | | Leftover of 56d7df91e010a177a80cfc8dbe394305 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * time: Use clock_gettime if the monotonic clock is availableLuca Barbato2014-09-03
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avutil: remove obsolete FF_API_INTFLOAT cruftJames Almer2014-10-05
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>