summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* 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
|
* x86: lpc: simd av_evaluate_llsLoren Merritt2013-06-29
| | | | | | 1.5x-1.8x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: lpc: simd av_update_llsLoren Merritt2013-06-29
| | | | | | 4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: use function pointers, in preparation for asmLoren Merritt2013-06-29
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: remove "decay" argumentLoren Merritt2013-06-29
| | | | | | We never used the rolling-average mode, and this makes av_update_lls 15% faster. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mem: Add av_realloc_array and av_reallocp_arrayMartin Storsjö2013-06-04
| | | | | | These help avoiding overflows and simplify error handling. Signed-off-by: Martin Storsjö <martin@martin.st>
* cpu: Restructure code to avoid pointless ret variable indirectionDiego Biurrun2013-06-02
| | | | libavutil/cpu.c:133:9: warning: unused variable ‘ret’ [-Wunused-variable]
* arm: Only output eabi attributes if building for ELFMartin Storsjö2013-05-27
| | | | | | | | This matches the other eabi attribute in the same file. This is required in order to build for arm/hardfloat with other object file formats than ELF. Signed-off-by: Martin Storsjö <martin@martin.st>
* cpu: Include common.h for av_popcount64Martin Storsjö2013-05-24
| | | | | | This fixes build failures on windows since 2a6eaeaa8. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move get_logical_cpus() from lavc/pthread to lavu/cpu.Anton Khirnov2013-05-24
| | | | | It will be useful in lavfi, and could conceivably be useful to the user applications as well.
* pixdesc: mark gray8 as pseudopalAnton Khirnov2013-05-22
| | | | | | | Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org
* doxy: add a section about versioning.Anton Khirnov2013-05-17
|
* lavfi doxy: add a page for lavfi.Anton Khirnov2013-05-17
|
* Remove commented-out #includesDiego Biurrun2013-05-15
|
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|