summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* wavpack: return an error on 0-sized blocksAnton Khirnov2013-05-28
| | | | Such blocks are not valid.
* wavpack: remove a useless check.Anton Khirnov2013-05-28
| | | | | | Number of samples in the first block is checked to be strictly positive earlier in wavpack_decode_frame() and number of samples in all the other blocks is checked to be equal to the first one.
* wavpack: add an error message to a failure.Anton Khirnov2013-05-28
|
* wavpack: return 0 instead of samples count from decoding functionsAnton Khirnov2013-05-28
| | | | | The caller never cares about the number of decoded samples, so this only confuses the reader.
* wavpack: switch to planar outputAnton Khirnov2013-05-28
| | | | This simplifies the code and makes it faster.
* wavpack: drop redundant if/else blocksAnton Khirnov2013-05-28
|
* wavpack: remove the subframes codec capAnton Khirnov2013-05-28
| | | | The decoder always consumes full packets.
* lavf: preserve side data when parsing packets.Anton Khirnov2013-05-28
|
* smacker: add a clarification notice about audio decodingKostya Shishkov2013-05-28
|
* configure: make jack depend on pthreadsAnton Khirnov2013-05-27
|
* avconv: make -aspect work with streamcopyAnton Khirnov2013-05-27
|
* matroskadec: silently skip CodecState element.Anton Khirnov2013-05-27
| | | | | mkvmerge apparrently uses it for mpeg1/2 video, but it contains the same information as CodecPrivate, so it can be ignored.
* smacker: fix off-by-one error in palette expanding codeKostya Shishkov2013-05-27
|
* Revert "smackaud: clip output samples"Kostya Shishkov2013-05-27
| | | | | | Smacker audio uses overflows instead of clipping. This reverts commit 375ca0aca81be2951d9ba4731196e70e490d3cdf.
* arm: Only output eabi attributes if building for ELFMartin Storsjö2013-05-27
| | | | | | | | This matches the other eabi attribute in the same file. This is required in order to build for arm/hardfloat with other object file formats than ELF. Signed-off-by: Martin Storsjö <martin@martin.st>
* fix scalarproduct_and_madd_int16_altivec() for orders > 16Kostya Shishkov2013-05-26
| | | | the second and third sources were incremented only by half of the needed size
* msvc/icl: Intel Compiler support on WindowsAlex Smith2013-05-25
| | | | | | | | | | | | | | | Initial support for the ICL compiler on windows. Requires a new c99wrap with ICL support (1.0.2+). Currently not much different speed wise compared to msvc. In the future with a few changes it can be made to support the inline asm. This would be the primary reason for using it. Passed all fate tests, versions tested: 13.1.1.171 (2013 Update 3) x86 and x64 12.1.5.344 (2011 Update 11) x86 and x64 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Fix check_exec_crash for ICL supportLaurent2013-05-25
| | | | | | | | | | | | | | | | | Change the check_exec_crash test to use a function pointer instead of simply calling the function. The EBP availability test will crash when compiled with ICL likely due to compiler optimization shenanigans. Originally the check_exec_crash code was moved out of main to fix a problem with gcc's treatment of non-leaf main on x86_32. Libav already moved the code out of main but the addition of the function pointer will prevent any inlining which fixes the remaining problem. A function pointer is used since it is compiler agnostic (as opposed to say __attribute__ ((noinline)) which would only work with gcc compatible compilers). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cpu: Include common.h for av_popcount64Martin Storsjö2013-05-24
| | | | | | This fixes build failures on windows since 2a6eaeaa8. Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_fade: support slice threadingAnton Khirnov2013-05-24
|
* vf_yadif: support slice threadingAnton Khirnov2013-05-24
|
* lavfi: add a slice threading infrastructureAnton Khirnov2013-05-24
| | | | Mostly based on libavcodec's
* Move get_logical_cpus() from lavc/pthread to lavu/cpu.Anton Khirnov2013-05-24
| | | | | It will be useful in lavfi, and could conceivably be useful to the user applications as well.
* w32pthreads: move from lavc to compat/Anton Khirnov2013-05-24
| | | | It will be used in other places than lavc.
* doxy: enable TYPEDEF_HIDES_STRUCTAnton Khirnov2013-05-24
| | | | | | This means that typedef struct SomeStruct {...} SomeStruct will only be documented as SomeStruct in the doxy, without a pointless entry in the typedefs list.
* Monkey's Audio old versions FATE testsKostya Shishkov2013-05-24
|
* h264_parser: Set field_order and picture_structure.Yusuke Nakamura2013-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Add picture structure information to AVCodecParserContext.Yusuke Nakamura2013-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wavpack: check packet size earlyLuca Barbato2013-05-22
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: use bytestream2 in wavpack_decode_blockLuca Barbato2013-05-22
| | | | | | | Prevent most out of buffer reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pixdesc: mark gray8 as pseudopalAnton Khirnov2013-05-22
| | | | | | | Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org
* mpegvideo: unref buffers in ff_mpeg_unref_picture on frame size changesJanne Grunau2013-05-22
| | | | | | ff_mpeg_unref_picture clears the flag indicating that the frame needs to be reallocated after a frame size change. Since we have now reference counted buffers we can unref the buffers immediately.
* configure: Enable the strtod workaround when building for bionicMartin Storsjö2013-05-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proresdec: simplify slice component offsets handlingKostya Shishkov2013-05-21
|
* mjpegdec: validate parameters in mjpeg_decode_scan_progressive_acLuca Barbato2013-05-21
| | | | | | | Prevent out of buffer write when decoding broken samples. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* fate.sh: add support for build-only FATE instancesDiego Biurrun2013-05-21
| | | | | | | If the "build_only" variable is set in the configuration file, the FATE client will skip running tests and just compile all targets. Signed-off-by: Martin Storsjö <martin@martin.st>
* ljpeg: use the correct number of components in yuvLuca Barbato2013-05-20
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpeg: Validate sampling factorsLuca Barbato2013-05-20
| | | | | | | They must be non-zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpegvideo: unref old current_picture before allocating a new oneJanne Grunau2013-05-19
| | | | | | Allows decoding with only three frame buffers with frame reference counting. Fixes VAAPI based decoding in vlc which uses only three frame buffers for the mpegvideo-based codecs.
* vorbis: fallback to normal division instead of crashingLuca Barbato2013-05-19
| | | | | | | | The use of ff_inverse speeds up slightly arches + compilers that do not provide a division faster than the whole machinery, such as ppc32 + gcc4.7, but has operational limits. Drop the always-enable assert and provide a fallback.
* vorbis: simplify the inner loop in setup_classifsLuca Barbato2013-05-19
|
* vorbis: use normal integer values for iteratorsLuca Barbato2013-05-19
| | | | No need to use fixed-size integers.
* vorbis: refactor vorbis_residue_decode_internalLuca Barbato2013-05-19
|
* win32: Do not use GetProcAddress when compiled for Vista+Jean-Baptiste Kempf2013-05-19
| | | | | | Instead link directly to the condition variable functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: msvc: Set the target windows version to XP if no target is setMartin Storsjö2013-05-19
| | | | | | | | | | | | MSVC 2010 (or more precisely, Windows SDK 7.0 which comes with MSVC 2010) sets _WIN32_WINNT to the constant for Windows 7 if nothing is set. This could lead to the libav configure script detecting and using functions only present in Windows 7 or newer, which in most cases isn't desired. If the caller explicitly wants this, the caller can add the _WIN32_WINNT define via --extra-cflags, setting the desired version. Signed-off-by: Martin Storsjö <martin@martin.st>
* Escape 130 FATE testKostya Shishkov2013-05-19
|
* prores: update FATE test to account for alpha plane present in the test sampleKostya Shishkov2013-05-19
|
* configure: Add basic valgrind-massif supportLuca Barbato2013-05-18
| | | | | | With the parameter --toolchain valgrind-massif, the configure script sets reasonable defaults that can be overridden as explained in the documentation.
* wavpack: validate samples size parsed in wavpack_decode_blockLuca Barbato2013-05-18
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: return meaningful errorsLuca Barbato2013-05-18
| | | | And forward those that were already meaningful.