summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
...
* avstring: Expose the simple name match functionLuca Barbato2014-07-29
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* arm: Macroize the test for 'setend' CPU instruction supportBen Avison2014-07-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* armv6: Accelerate butterflies_floatBen Avison2014-07-18
| | | | | | | | | | | | | | I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in butterflies_float_c() / ff_butterflies_float_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1542.8 43.7 1470.5 41.5 100.0% +4.9% butterflies_float 130.0 11.9 70.2 12.1 100.0% +85.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* armv6: Accelerate vector_fmul_windowBen Avison2014-07-18
| | | | | | | | | | | | | | I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in vector_fmul_window_c() / ff_vector_fmul_window_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1598.2 47.4 1529.2 25.4 100.0% +4.5% vector_fmul_window 244.0 22.1 188.9 22.3 100.0% +29.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* display: add matrix flip apiVittorio Giovara2014-07-09
|
* audio_fifo: Split into a separate doxygen moduleTimothy Gu2014-07-06
| | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* samplefmt: Add doxygen categoriesTimothy Gu2014-07-06
| | | | | | | Categorize the enum and functions as "audio-related". Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Update Fiona's name in copyright statements.Diego Biurrun2014-07-01
|
* arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernelMartin Storsjö2014-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | When running on a 64 bit kernel, /proc/cpuinfo lists different optional features than on 32 bit kernels (because some of them are mandatory in the 64 bit implemenations). The kernel does list the old features properly if they are queried via /proc/self/auxv though - however this file is not always readable (e.g. on most android systems). The getauxval function could also provide the same info as /proc/self/auxv even if this file isn't readable, but this function is not always available (and thus would need to be loaded with dlsym for compatibility with older android versions). The android cpufeatures library does this slightly differently, by assuming that these are available if the "CPU architecture" line is >= 8, see [1] for details. It has been suggested to include the old, non-optional features in /proc/cpuinfo as well, but that suggested patch never was merged. See [2] for the discussion around this suggestion. [1] https://android-review.googlesource.com/91380 [2] http://marc.info/?l=linux-arm-kernel&m=139087240101974 Signed-off-by: Martin Storsjö <martin@martin.st>
* pixfmt: mark the reserved valuesVittorio Giovara2014-06-23
|
* lzo: Handle integer overflowLuca Barbato2014-06-23
| | | | | | | get_len can overflow for specially crafted payload. Reported-By: Don A. Baley <donb@securitymouse.com> CC: libav-stable@libav.org
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
|
* stereo3d: add missing include guardsVittorio Giovara2014-06-19
|
* AVFrame: factor out freeing the side dataRoman Savchenko2014-06-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* av_dict_set: fix potential memory leak with AV_DICT_DONT_OVERWRITEJanne Grunau2014-06-09
| | | | | av_dict_set leaks it key/value arguments if AV_DICT_DONT_OVERWRITE is combined with AV_DICT_DONT_STRDUP_{KEY,VAL} and the key exists.
* dict: const correctness for av_dict_get() and av_dict_copy()Diego Biurrun2014-06-05
|
* build: check if AS supports the '.func' directiveJanne Grunau2014-06-03
| | | | | Not supported by Clang's integrated assembler. Since it just adds debug information it can safely omitted.
* aarch64: use '#' for whole line asm commentsJanne Grunau2014-06-03
| | | | | | | Both gnu as and clang treat lines starting with '#' as comments if they aren't consumed by the C-style preprocessor. Using '//' does not work with clang since comments are removed before macro expansion.
* aarch64: remove optional :pg_hi21: for adrp instructionJanne Grunau2014-06-03
| | | | Clang's integrated assembler does not support it.
* aarch64: add darwin style PAGE/PAGEOFF relocationsJanne Grunau2014-06-03
|
* Remove all Blackfin architecture optimizationsDiego Biurrun2014-06-02
| | | | | | Blackfin is a painful platform to work with, no test machines are available and the range of multimedia applications is dubious. Thus it only represents a maintenance burden.
* lavu: add all color-related enums to AVFramewm42014-06-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aarch64: Use the correct syntax for relocationsMartin Storsjö2014-05-29
| | | | | | | | | | This fixes building in PIC mode with gas. The examples in the gas manual showed using a # here even though gas itself actually didn't support that syntax (and the gas test suite only tests it without the extra hash sign). CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* frame: fix the error path in av_frame_copy_props()Roman Savchenko2014-05-29
| | | | | | First free metadata, then the side data it is contained in. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ppc: Move vec_unaligned_load macro to util_altivecDiego Biurrun2014-05-28
| | | | This allows reusing it from multiple files.
* ppc: util_altivec: Drop unused macrosDiego Biurrun2014-05-28
|
* imgutils: make systematic palette opaque.Carl Eugen Hoyos2014-05-25
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* display: Include mathematics.h for fallback definition of NANMartin Storsjö2014-05-19
| | | | | | This fixes compilation with MSVC. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add transformation matrix API.Vittorio Giovara2014-05-19
| | | | | | | | | | | Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and frame side data (respectively) to describe a display transformation matrix for linear transformation operations on the decoded video. Add functions to easily extract a rotation angle from a matrix and conversely to setup a matrix for a given rotation angle. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: Add a pixel format for new VDA hwaccelAnton Khirnov2014-05-11
| | | | | The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one.
* mathematics: K&R formatting cosmeticsLuca Barbato2014-05-03
|
* lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsetsJanne Grunau2014-04-24
|
* avutil: move av_get_time_base_q() after include rational.hMichael Niedermayer2014-04-22
| | | | | | | Fix compilation Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil: Add av_get_time_base_q()Derek Buitenhuis2014-04-22
| | | | | | | | This fixes usage of AV_TIME_BASE_Q in C++ applications, which cannot use compound literals directly in their code. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* crc: add ANSI CRC16 LEAlessandro Ghedini2014-04-17
| | | | | | This adds the reversed byte-order version of the ANSI CRC16. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: Add packed YVYU422 pixel formatVittorio Giovara2014-04-07
|
* xtea: Add Doxy @file and groupTimothy Gu2014-04-07
|
* adler32: Fix doxy group definitionTimothy Gu2014-04-07
| | | | | | Based on a patch by James Almer <jamrial@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* aarch64: add armv8 CPU flagJanne Grunau2014-04-06
|
* replaygain: correctly parse peak valuesAlessandro Ghedini2014-04-04
| | | | | | | | | | | | | | | According to the ReplayGain spec, the peak amplitude may overflow and may result in peak amplitude values greater than 1.0 with psychoacoustically coded audio, such as MP3. Fully compliant decoders must allow peak overflows. Additionally, having peak values in the 0<->UINT32_MAX scale makes it more difficult for applications to actually use the peak values (e.g. when implementing clipping prevention) since values have to be rescaled down. This patch corrects the peak parsing by removing the rescaling of the decoded values between 0 and UINT32_MAX and the 1.0 upper limit. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* log: Unbreak windows supportLuca Barbato2014-04-03
| | | | Add the missing define.
* log: Do not assume the TERM variable is always setLuca Barbato2014-04-03
|
* log: Document AV_LOG_C usageLuca Barbato2014-04-03
| | | | And move outside the wrong doxygen group.
* log: Remove undefined behaviourLuca Barbato2014-04-03
|
* log: Support for 256color terminalsLuca Barbato2014-04-03
| | | | | | | | | And provide extended coloring capabilities for debugging. The default colors do not change in 256 more to keep supporting people using Black on White, White on Black and Solarized terminals. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: add missing formats to av_pix_fmt_swap_endiannessJanne Grunau2014-04-02
|
* frame: add a function for removing side data from a frameAnton Khirnov2014-03-24
|
* Add replaygain side data type and code for parsing replaygain tags.Anton Khirnov2014-03-24
|
* float_dsp: Replace arch optimization ifdefs by if cascadeDiego Biurrun2014-03-22
| | | | Arch-specific optimizations are handled this way everywhere else.
* float-dsp-test: do not use C99's predefined __func__Janne Grunau2014-03-20
| | | | | It is not supported by all compilers on FATE. Fixes "some test were skipped" errors.