summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* pixdesc: add PIX_FMT_ALPHA flagLuca Barbato2012-11-20
|
* x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-18
|
* cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52Janne Grunau2012-11-16
|
* crc: av_crc() parameter names should match between .c, .h and doxygenDiego Biurrun2012-11-16
|
* avutil: change GET_UTF8 to not use av_log2()Mans Rullgard2012-11-14
| | | | | | | This removes an inter-library dependency on ff_log2_tab causing linking errors in some configurations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
|
* pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-13
| | | | Deprecate avcodec_get_chroma_sub_sample.
* build: Drop AVX assembly ifdefsDiego Biurrun2012-11-11
| | | | An assembler able to cope with AVX instructions is now required.
* lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.hJustin Ruggles2012-11-11
|
* x86inc: Set program_name outside of x86inc.asmDiego Biurrun2012-11-11
| | | | This reduces the local difference to the x264 upstream version.
* x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-09
|
* lavu: add av_ctz() for trailing zero bit countJustin Ruggles2012-11-05
|
* x86: PABSW: port to cpuflagsDiego Biurrun2012-11-05
|
* crc: move doxy to the headerAnton Khirnov2012-11-02
|
* x86: Refactor PSWAPD fallback implementations and port to cpuflagsDiego Biurrun2012-11-02
|
* x86: PMINUB: port to cpuflagsDiego Biurrun2012-11-02
|
* x86util: Add cpuflags_mmxext alias for cpuflags_mmx2Diego Biurrun2012-11-02
| | | | "mmxext" is a more sensible name and more common in outside projects.
* x86inc: Only define program_name if the macro is unsetDiego Biurrun2012-11-02
| | | | This allows overriding the value from outside of the file.
* x86: Fix assembly with NASMDave Yeo2012-10-31
| | | | | | | Unlike YASM, NASM only looks for include files in the current directory, not in the directory that included files reside in. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: MMX2 ---> MMXEXT in macro namesDiego Biurrun2012-10-31
|
* x86: include x86inc.asm in x86util.asmDiego Biurrun2012-10-31
| | | | This is necessary to allow refactoring some x86util macros with cpuflags.
* pixfmt: support more yuva formatsLuca Barbato2012-10-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Remove INIT_AVX from x86inc.asm.Ronald S. Bultje2012-10-29
|
* lavr: add general API usage doxyAnton Khirnov2012-10-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avutil: Make LZO decoder code configure-time selectableDiego Biurrun2012-10-25
|
* avutil: Move memcpy_backptr() to mem.cDiego Biurrun2012-10-25
| | | | The function is used elsewhere and does not belong with the LZO code.
* Remove need for padding in av_memcpy_backptr()Mans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lzo: Use AV_COPY*U macros where appropriateDiego Biurrun2012-10-23
|
* intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addressesDiego Biurrun2012-10-23
|
* libm: add fallbacks for various single-precision functionsMans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: remove disabled FF_API_AV_FIFO_PEEK cruftAnton Khirnov2012-10-23
|
* lavu: remove disabled avoptions cruftAnton Khirnov2012-10-23
|
* lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruftAnton Khirnov2012-10-23
|
* Revert "avutil: make some tables visible again"Anton Khirnov2012-10-23
| | | | | | This reverts commit def8c94699877d015154a03d43e2b8f479cd89a0. After the major bump this is no longer necessary.
* Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI ↵Anton Khirnov2012-10-23
| | | | | | | | compatibility" This reverts commit d15c21e5fa3961f10026da1a3080a3aa3cf4cec9. After the major bump this is no longer necessary.
* lavu: bump major to 52Anton Khirnov2012-10-23
| | | | | | In addition to the recent tables mess, the AVOption defaults behavior changed, so an old lavc used with a new lavu will get completely messed up defaults.
* lavu: postpone recent deprecations until the next major bumpAnton Khirnov2012-10-23
|
* avutil: Add AVERROR_EXPERIMENTALNathan Caldwell2012-10-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ARM: reinstate optimised intmath.hMans Rullgard2012-10-20
| | | | | | Use of the ARM optimised intmath.h was accidentally dropped in 9734b8b. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibilityMartin Storsjö2012-10-20
| | | | | | | | | | | | Earlier versions of for instance of libavcodec expect this symbol to be present in libavutil. This commit can be reverted after the next major bump. New shared builds of avcodec will link to the internal copy of the table within that library, so those builds won't rely on this table being present in avutil any longer either. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: make some tables visible againReinhard Tartler2012-10-20
| | | | | | | These tables are used for instance by older versions of libavcodec and need to remain visible until the next SONAME bump. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: remove inline av_log2 from public APIMans Rullgard2012-10-20
| | | | | | | | This removes inline av_log2 and av_log2_16bit from the public API, instead exporting them as regular functions. In-tree code still gets the inline and otherwise optimised variants. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil/mem: K&R formatting cosmeticsDiego Biurrun2012-10-20
|
* avutil/lzo: K&R formatting cosmeticsDiego Biurrun2012-10-20
|
* lzo: Drop obsolete fast_memcpy referenceDiego Biurrun2012-10-19
|
* Add support for building shared libraries with MSVCMartin Storsjö2012-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires the makedef perl script by Derek, from the c89-to-c99 repo. That scripts produces a .def file, listing the symbols to be exported, based on the gcc version scripts and the built object files. To properly load non-function symbols from DLL files, the data symbol declarations need to have the attribute __declspec(dllimport) when building the calling code. (On mingw, the linker can fix this up automatically, which is why it has not been an issue so far. If this attribute is omitted, linking actually succeeds, but reads from the table will not produce the desired results at runtime.) MSVC seems to manage to link DLLs (and run properly) even if this attribute is present while building the library itself (which normally isn't recommended) - other object files in the same library manage to link to the symbol (with a small warning at link time, like "warning LNK4049: locally defined symbol _avpriv_mpa_bitrate_tab imported" - it doesn't seem to be possible to squelch this warning), and the definition of the tables themselves produce a warning that can be squelched ("warning C4273: 'avpriv_mpa_bitrate_tab' : inconsistent dll linkage, see previous definition of 'avpriv_mpa_bitrate_tab'). In this setup, mingw isn't able to link object files that refer to data symbols with __declspec(dllimport) without those symbols actually being linked via a DLL (linking avcodec.dll ends up with errors like "undefined reference to `__imp__avpriv_mpa_freq_tab'"). The dllimport declspec isn't needed at all in mingw, so we simply choose not to declare it for other compilers than MSVC that requires it. (If ICL support later requires it, the condition can be extended later to include both of them.) This also implies that code that is built to link to a certain library as a DLL can't link to the same library as a static library. Therefore, we only allow building either static or shared but not both at the same time. (That is, static libraries as such can be, and actually are, built - this is used for linking the test tools to internal symbols in the libraries - but e.g. libavformat built to link to libavcodec as a DLL cannot link statically to libavcodec.) Also, linking to DLLs is slightly different from linking to shared libraries on other platforms. DLLs use a thing called import libraries, which is basically a stub library allowing the linker to know which symbols exist in the DLL and what name the DLL will have at runtime. In mingw/gcc, the import library is usually named libfoo.dll.a, which goes next to a static library named libfoo.a. This allows gcc to pick the dynamic one, if available, from the normal -lfoo switches, just as it does for libfoo.a vs libfoo.so on Unix. On MSVC however, you need to literally specify the name of the import library instead of the static library. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: simplify enabling of compat objectsMans Rullgard2012-10-15
| | | | | | | | Add a configure function to pull in a compat object and set up redirects in one operation. This avoids duplicating conditions across configure and makefiles. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil: Do not make ff_ symbols globally visible.Diego Biurrun2012-10-13
|
* avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()Diego Biurrun2012-10-13
| | | | Functions used across libraries should have avpriv_ and not ff_ prefixes.
* eval-test: make table static constMans Rullgard2012-10-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>