summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* 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.
* float_dsp: Use LOCAL_ALIGNED for instead of DECLARE_ALIGNED within functionsMartin Storsjö2014-03-19
| | | | | | This fixes fate-float_dsp-test on RVCT 4.0. Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: float_dsp NEON assemblerJanne Grunau2014-03-18
| | | | | | | Ported from arm NEON and added vector_dmul_scalar. Functions between 1.5 and 5 times faster than the C implementations using Apple's clang-503.0.19 on A7.
* float_dsp: add test program and use it as fate testJanne Grunau2014-03-18
|
* RGBA64 pixel formatsJean First2014-03-16
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* bfin: Refactor duplicated assembly-related macrosDiego Biurrun2014-03-13
|
* bfin: Refactor duplicated l1_text/l1_data_B macrosDiego Biurrun2014-03-13
|
* Update dsputil- and SIMD-related comments to match reality more closelyDiego Biurrun2014-03-13
|
* float_dsp: fix errors in documentationJanne Grunau2014-03-09
|
* timer: use mach_absolute_time as high resolution clock on darwinJanne Grunau2014-03-09
| | | | | | | | | | Not guaranteed to be in nanosecond resolution. On iOS 7 the duration of one tick is 125/3 ns which is still more than an order of magnitude better then microseconds. Replace decicycles with the neutral UNITS. Decicycles is strange but tenths of a nanosecond and unspecific "deci"-ticks for mach_absolute_time is just silly.
* dict: K&R formatting cosmeticsPatrice Clement2014-03-07
|
* arm: hpeldsp: prevent overreads in armv6 asmJanne Grunau2014-03-05
| | | | | | | Based on a patch by Russel King <rmk+libav@arm.linux.org.uk> Bug-Id: 646 CC: libav-stable@libav.org
* doc: fix a couple of typos in frame.hVittorio Giovara2014-03-04
|
* frame: add a convenience function for copying AVFrame dataAnton Khirnov2014-02-24
|