summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
...
* AVBuffer: add a new API for buffer poolsAnton Khirnov2013-03-08
|
* lavu: add a new API for reference-counted data buffers.Anton Khirnov2013-03-08
|
* lavu: add support for atomic operations.Ronald S. Bultje2013-03-08
| | | | | | | | | | These could be used for reference counting, or for keeping track of decoding progress in references in multithreaded decoders. Support is provided by gcc/msvc/suncc intrinsics, with a fallback using pthread mutexes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avstring: Fix isxdigit to not accept non-hex charactersMartin Storsjö2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent versions of some ctype.h functionsReimar Döffinger2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lls: Do not return from void functionsDiego Biurrun2013-03-01
|
* lls: #ifndef --> #if in FF_API_ version guardDiego Biurrun2013-03-01
|
* lls: mark max_order as unsigned shortLuca Barbato2013-02-28
| | | | | | The value is within 0 and 32. Remove an `array subscript is below array bounds` warning.
* lls: move to the private namespaceLuca Barbato2013-02-28
| | | | The functions are private.
* lls: K&R formatting cosmeticsLuca Barbato2013-02-28
|
* av_memcpy_backptr: avoid an infinite loop for back = 0Anton Khirnov2013-02-23
| | | | CC:libav-stable@libav.org
* intreadwrite: tomi: Add missing attributes.h #include for av_always_inlineDiego Biurrun2013-02-20
|
* x86: Use simple nop codes for <= sse (rather than <= mmx)Ronald S. Bultje2013-02-19
| | | | | | | | The "CentaurHauls family 6 model 9 stepping 8" family of CPUs (flags: fpu vme de pse tsc msr cx8 sep mtrr pge mov pat mmx fxsr sse up rng rng_en ace ace_en) SIGILLs on long nop codes. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: Ensure that emms_c is always defined, even on non-x86Diego Biurrun2013-02-14
|
* avutil: Move emms code to x86-specific headerDiego Biurrun2013-02-14
|
* lavu: avoid clashing definition of ELuca Barbato2013-02-12
| | | | | E is usually defined as a shorthand for AV_OPT_FLAG_ENCODING_PARAM. Rename the single expansion E(x) now used in libavutil to E1.
* crc: Move static data table from header to .c fileDiego Biurrun2013-02-11
| | | | Having static data tables in header files is a potential source of trouble.
* arm: Fall back to runtime cpu feature detection via /proc/cpuinfoMartin Storsjö2013-02-11
| | | | | | | | | | | | | | | | On recent android versions, /proc/self/auxw is unreadable (unless the process is running running under the shell uid or in debuggable mode, which makes it hard to notice). See http://b.android.com/43055 and https://android-review.googlesource.com/51271 for more information about the issue. This makes sure e.g. neon optimizations are enabled at runtime in android apps even when built in release mode, if configured to use the runtime detection. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-08
|
* dict: add av_dict_parse_string()Justin Ruggles2013-01-25
| | | | | | Can be used to set multiple key/value pairs from a string. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: Add av_strnstr()Vladimir Pantelic2013-01-25
| | | | | | | This is a length limited version of strstr() Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avstring: K&R formatting cosmeticsLuca Barbato2013-01-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* float_dsp: Include config.h for redefining restrictMartin Storsjö2013-01-23
| | | | | | | | This makes sure that the restrict keyword is mapped to whatever keyword the compiler prefers/supports. This fixes building on MSVC (and possibly on GCC 2.x as well). Signed-off-by: Martin Storsjö <martin@martin.st>
* floatdsp: move scalarproduct_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | This makes the aac decoder and all voice codecs independent of dsputil.
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
* floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | | Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
* floatdsp: move vector_fmul_add from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
|
* x86: Add a Yasm-based emms() replacementMartin Storsjö2013-01-18
| | | | | | | This provides a fallback when building with Yasm enabled, but neither inline assembly, nor the _mm_empty intrinsic are available or enabled. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86inc: Add cvisible macro for C functions with public prefixDiego Biurrun2013-01-18
| | | | | | This allows defining externally visible library symbols. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86inc: Rename "program_name" to "private_prefix"Diego Biurrun2013-01-18
| | | | | | | The new name is more descriptive and will allow defining a separate public prefix for externally visible library symbols. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* float_dsp: Add #ifdef HAVE_INLINE_ASM around vector_fmul_windowMartin Storsjö2013-01-17
| | | | | | This fixes builds on 64bit MSVC. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles2013-01-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: Add a fate test for the HMAC APIMartin Storsjö2013-01-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Add PAVGB macro to abstract pavgb/pavgusb instruction via cpuflagsDiego Biurrun2013-01-15
|
* x86: ABSB2: port to cpuflagsDiego Biurrun2013-01-15
|
* x86: ABSB: port to cpuflagsDiego Biurrun2013-01-15
|
* lavu: Add an API for calculating HMAC (RFC 2104)Martin Storsjö2013-01-15
| | | | | | | This supports HMAC-MD5 and HMAC-SHA1 for now, other hashes are simple to add. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: ABS2: port to cpuflagsDiego Biurrun2013-01-14
|
* Add version bump and APIchanges entry for Add AV_PIX_FMT_VDPAU.Diego Biurrun2013-01-12
| | | | Also fix a lavu version typo in APIchanges.
* pixfmt: add picture format for VDPAURémi Denis-Courmont2013-01-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: ABS1: port to cpuflagsDiego Biurrun2013-01-06
|
* Drop unnecessary 'l' length modifier when printfing double values.Diego Biurrun2012-12-31
| | | | | %f denotes a double argument and 'l' does nothing in this case according to the C spec.
* avstring: add av_basename and av_dirnameLuca Barbato2012-12-29
| | | | Thread safe version of the common basename and dirname.
* opt: avoid segfault in av_opt_next() if the class does not have an option listJustin Ruggles2012-12-22
| | | | CC: libav-stable@libav.org
* lavc: merge latest x86inc.asm fixes with x264Ronald S. Bultje2012-12-19
| | | | | | Unbreak NASM support. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* misc typo, style and wording fixesDiego Biurrun2012-12-18
|
* x86inc: fully concatenate tokens to fix macro expansion for nasmJanne Grunau2012-12-13
| | | | | Fixes build errors with nasm introduced in 6f40e9f070f7 for stack memory alignment. Noticed by BugMaster.
* x86inc: fix stack alignment on win64Ronald S. Bultje2012-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86inc: support stack mem allocation and re-alignment in PROLOGUERonald S. Bultje2012-12-12
| | | | | | | Use this in VP8/H264-8bit loopfilter functions so they can be used if there is no aligned stack (e.g. MSVC 32bit or ICC 10.x). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>