summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Postpone API-incompatible changes until the next bump.Anton Khirnov2014-08-09
|
* avutil: add AV_PIX_FMT_YA16 pixel formatVittorio Giovara2014-08-04
|
* avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-04
| | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* avutil: add alias names for gray 8/16 colour spacesVittorio Giovara2014-08-04
|
* pixdesc: Support pixelformat aliasesLuca Barbato2014-08-04
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* imgutils: Do not declare avpriv_set_systematic_pal2 in the public headerDiego Biurrun2014-08-04
|
* avcodec: Deprecate dtg_active_format field in favor of avframe side-dataKieran Kunhya2014-08-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aarch64: use MACH-O const data asm directive in const macroJanne Grunau2014-08-04
|
* cpu-test: test av_cpu_countJanne Grunau2014-08-04
| | | | Add CPU count and number threads as informative values for fate.
* fate: add informative cpu testJanne Grunau2014-08-04
| | | | | | | | libavutil/cpu-test prints raw and effective cpu flags to STDERR. Detected cpu flags can be useful for debugging fate errors. No comparison of the result against a expected result since that would require fate config specific references.
* pixdesc: K&R formatting cosmeticsLuca Barbato2014-08-01
| | | | | | Also change some comments to multiline. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* 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
|