summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Merge commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f'Michael Niedermayer2014-05-12
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f': lavu: Add a pixel format for new VDA hwaccel Conflicts: doc/APIchanges libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | opencl: Make init_mtx static with volatile lockMatt Oliver2014-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/fifo: add av_fifo_freep functionLukasz Marek2014-05-07
| | | | | | | | | | | | Function allows to free fifo and reset freed pointer. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | inline asm: fix arrays as named constraints.Matt Oliver2014-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/file_open: Use av_mallocz_array()Michael Niedermayer2014-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/audio_fifo: Use av_mallocz_array()Michael Niedermayer2014-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/fifo: add const to argumentsLukasz Marek2014-05-05
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pca: Use av_malloc_array()Michael Niedermayer2014-05-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'de69aedf9935631b7f78e8b8da6e460422a9bc5f'Michael Niedermayer2014-05-03
|\| | | | | | | | | | | | | | | | | | | * commit 'de69aedf9935631b7f78e8b8da6e460422a9bc5f': mathematics: K&R formatting cosmetics Conflicts: libavutil/mathematics.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mathematics: K&R formatting cosmeticsLuca Barbato2014-05-03
| |
* | lavu/opt: add av_opt_set_dict2() functionLukasz Marek2014-05-02
| | | | | | | | | | | | | | | | Existing av_opt_set_dict doesn't accept flags. It doesn't allow to pass options to nested structs. New function alllows that. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | opencl: add support for non-pthread lockingMatt Oliver2014-05-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Move av_find_best_pix_fmt_of_2() from avcodec to avutilMichael Niedermayer2014-04-30
| | | | | | | | | | | | | | | | | | This avoids a dependancy of libavfilter on libavcodec See Ticket 3592 Fixes Ticket2784 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/hash: add hash_final helpers.Nicolas George2014-04-29
| | | | | | | | | | The helpers use local memory to compute the final hash, making AV_HASH_MAX_SIZE safe to use.
* | avutil/log: fix memleak from 669a09fb372fa58ff913ebc326cb64bb3e8e7928Michael Niedermayer2014-04-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add AV_LOG_PRINT_LEVEL flag to include log severity in default log formatting.tue46wsdgxfjrt2014-04-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: add LOCAL_ALIGNED_32James Almer2014-04-25
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opencl: fix a segmentfault in libavutil/opencl.cY.C. Liu2014-04-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2014-04-25
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Enable muxing ac-3 in caf. Use correct msvc type specifiers for ptrdiff_t and size_t. Fix vf_eq.c and vf_eq2.c compilation with !HAVE_6REGS. Fix libpostproc compilation with !HAVE_6REGS. Never write 0 as maximum bitrate for asf files. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Use correct msvc type specifiers for ptrdiff_t and size_t.Carl Eugen Hoyos2014-04-24
| | | | | | | | | | | | | | | | | | | | | The Windows runtime aborts if it finds %t or %z. Fixes ticket #3472. Reviewed-by: Ronald Bultje
* | | Merge commit 'a88e1d1c598e641eecd5d43730211d91c82787c6'Michael Niedermayer2014-04-25
|\ \ \ | |/ / |/| / | |/ | | | | | | * commit 'a88e1d1c598e641eecd5d43730211d91c82787c6': lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsetsJanne Grunau2014-04-24
| |
* | avutil/avutil.h: remove duplicate rational.h includeMichael Niedermayer2014-04-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b0bdc2a7123abd0287de435726ab68e9e475a8d8'Michael Niedermayer2014-04-23
|\| | | | | | | | | | | | | | | * commit 'b0bdc2a7123abd0287de435726ab68e9e475a8d8': avutil: move av_get_time_base_q() after include rational.h See: c7251fec39c5b54470bb295acfc81d89683843c7 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | avutil: move av_get_time_base_q() after include rational.hMichael Niedermayer2014-04-22
| | | | | | | | | | | | Fix compilation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>
* | avutil/internal: add FF_ALLOC_ARRAY_OR_GOTO & FF_ALLOCZ_ARRAY_OR_GOTOMichael Niedermayer2014-04-22
| | | | | | | | | | | | These are similar to the existing FF_ALLOCZ_OR_GOTO & FF_ALLOC_OR_GOTO Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/float_dsp: remove duplicated code from vector_dmul_scalarJames Almer2014-04-19
| | | | | | | | | | | | | | | | Use the xm# and ym# aliases as they remain in sync with m# after a SWAP. No actual changes to the assembly. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0983d48111f578e17e8c1967d25ce593fce62b63'Michael Niedermayer2014-04-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0983d48111f578e17e8c1967d25ce593fce62b63': crc: add ANSI CRC16 LE Conflicts: doc/APIchanges libavutil/crc.c libavutil/crc.h libavutil/version.h tests/ref/fate/crc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | x86: move horizontal add macros to x86utilJames Almer2014-04-17
| | | | | | | | | | | | | | | | | | Also port relevant AVX2/XOP optimizations from x264 with permission to relicense to LGPL from the corresponding authors Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/float_dsp: unroll loop in vector_fmac_scalarJames Almer2014-04-16
| | | | | | | | | | | | | | | | ~6% faster SSE2 performance. AVX/FMA3 are unaffected. Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/float_dsp: use SWAP in vector_fmac_scalar Win64James Almer2014-04-16
| | | | | | | | | | | | | | The mova is unnecessary Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/frame: use av_malloc(z)_array()Michael Niedermayer2014-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/avstring: do not lose ascii characters when decoding non utf-8 with ↵Michael Niedermayer2014-04-13
| | | | | | | | | | | | | | | | av_utf8_decode() Fixes Ticket3363 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/log: add av_log_get_flags()Michael Niedermayer2014-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/log: factor "level != AV_LOG_INFO/8" checks outMichael Niedermayer2014-04-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '8b17243d1742279bcb2368f8d325ea71e66736c8'Michael Niedermayer2014-04-09
|\| | | | | | | | | | | | | | | | | | | * commit '8b17243d1742279bcb2368f8d325ea71e66736c8': lavu: Add packed YVYU422 pixel format Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14'Michael Niedermayer2014-04-07
|\| | | | | | | | | | | | | * commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14': aarch64: add armv8 CPU flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: add armv8 CPU flagJanne Grunau2014-04-06
| |
* | Merge commit '8542f9c4f17125d483c40c0c5723842f1c982f81'Michael Niedermayer2014-04-04
|\| | | | | | | | | | | | | | | | | | | * commit '8542f9c4f17125d483c40c0c5723842f1c982f81': replaygain: correctly parse peak values Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | lavu/opt: validate range before dereferenceLukasz Marek2014-04-04
| | | | | | | | | | | | | | | | | | This change make error handling simplier. av_opt_freep_ranges may be called when some ranges are NULL, for example after memory allocation fail. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>