summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* x86inc: Set ELF hidden visibility for global constantsHenrik Gramner2013-10-07
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: activate REP_RET automaticallyLoren Merritt2013-10-07
| | | | | | | | | | | | Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition. REP_RET is still needed manually when it's a branch target, but that's much rarer. The implementation involves lots of spurious labels, but that's OK because we strip them. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doxy: Document avlogLuca Barbato2013-10-05
| | | | Provide some information for every function and add a group.
* x86: cpu: Restore some explanatory comments removed in 7160bb7Diego Biurrun2013-10-03
|
* Use correct Doxygen syntaxDiego Biurrun2013-10-03
|
* 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>
* 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>
* lavu: Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya2013-09-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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>
* msvc/icl: Use __declspec(noinline)Alex Smith2013-09-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* mem: Introduce av_reallocpLuca Barbato2013-09-16
|
* mem: Document the non-compatibility of av_realloc() and av_malloc()Diego Biurrun2013-09-14
|
* Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun2013-09-10
|
* mem: Do not check unsigned values for negative sizeDiego Biurrun2013-09-05
|
* mem: Improve documentation wording and spellingDiego Biurrun2013-09-05
|
* mem: Document the av_realloc family of functions properlyLuca Barbato2013-09-04
| | | | realloc() does not accept pointers from memalign().
* x86: Add and use more convenience macros to check CPU extension availabilityDiego Biurrun2013-08-29
|
* arm: float_dsp: Propagate cpu_flags to vfp initialization functionDiego Biurrun2013-08-29
|
* ppc: Add and use convenience macro to check for AltiVec availabilityDiego Biurrun2013-08-28
|
* avutil: Refactor CPU extension availability macrosDiego Biurrun2013-08-28
|
* avutil: Move internal CPU detection function declarations to private headerDiego Biurrun2013-08-28
|
* libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö2013-08-10
| | | | | | | | | | | | | | | Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Move avpriv_open to a new file, file_open.cMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as ↵Martin Storsjö2013-08-10
| | | | | | | | | | | | | | | well This used to only be necessary in static builds (when using the dynamically linked C runtime), since the _imp prefixed symbols do exist when linking to the actual DLL. When building testprogs, however, the current library (e.g. libavutil for some of the testprogs) is linked statically. This fixes make fate on DLL builds when using the dynamically linked C runtime. Signed-off-by: Martin Storsjö <martin@martin.st>
* file: Move win32 utf8->wchar open wrapper to libavutilMartin Storsjö2013-08-08
| | | | | | | | | | | | | When libavformat was changed to use the new avpriv_open function in 51eb213d001, this silently bypassed the existing wrapper for win32. Move the win32 wrapper into libavutil/file.c to make sure it gets called everywhere (not just in the libavformat case). This makes sure that non-ascii file names gets opened properly (where file names internally are stored as utf8, but they get converted to wchar_t and opened with _wsopen). Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Don't use fcntl if the function does not existDerek Buitenhuis2013-08-08
| | | | | | | Not all platforms have the function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavutil: add avpriv_open() to open files with close-on-exec flagRémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: deprecate old codec-specific pixel formatsRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* build: Add _Pragma macro to disable deprecated declaration warningsDiego Biurrun2013-08-02
|
* Give less generic names to global library option arraysDiego Biurrun2013-08-02
|
* avframe: have av_frame_get_side_data take const AVFrame*Vittorio Giovara2013-08-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avopt: Check whether the object actually has got an AVClassMartin Storsjö2013-07-31
| | | | | | | | | | AVIOContext has got an av_class member that only gets set if opening the context using avio_open2, but not if allocating a custom IO context. A caller that wants to read AVOptions from an AVIOContext (recursively using AV_OPT_SEARCH_CHILDREN) may not know if the AVIOContext actually has got a class set or not. Signed-off-by: Martin Storsjö <martin@martin.st>
* tree-test: Refactor and plug memory leaksDiego Biurrun2013-07-31
| | | | With the most annoying memory leak found by Derek Buitenhuis.
* tree.h: K&R formatting and typo cosmeticsDiego Biurrun2013-07-31
|
* Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalentsDiego Biurrun2013-07-29
|
* avutil/tree: Drop debug messages that clutter the outputDiego Biurrun2013-07-29
|
* avutil/tree: K&R formatting cosmeticsDiego Biurrun2013-07-29
|
* Add missing deprecation attributesDiego Biurrun2013-07-27
|
* eval: Explicitly ignore return value of strtod() in parse_db()Diego Biurrun2013-07-27
| | | | | The return value is not needed. This fixes the warning: libavutil/eval.c:353:15: warning: ignoring return value of ‘strtod’
* Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/Diego Biurrun2013-07-18
| | | | Also fix a comment and an #endif comment.
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
|
* configure: Check for support for labels in the inline assemblyMartin Storsjö2013-07-11
| | | | | | | Use this for enabling the ppc timer.h implementation only on assemblers that support labels in the inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* fifo: K&R formatting cosmeticsLuca Barbato2013-07-06
|
* log: pass the correct parameters to missing_feature_sampleLuca Barbato2013-07-04
| | | | CC:libav-stable@libav.org
* lls/x86: use 3-operator vaddpd in ADDPD_MEMLoren Merritt2013-07-02
| | | | | | Fixes build with yasm-1.1 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: lpc: fix a segfault in av_evaluate_lls_sse2()Loren Merritt2013-06-30
|