summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* build: generalise rules and variable settings for av* programsMans Rullgard2012-08-06
| | | | | | | This simplifies adding extra flags for individual programs and also allows more than one object file per program. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nuv: check RTjpeg header for validityJanne Grunau2012-08-06
| | | | CC: libav-stable@libav.org
* Revert "nuv: check per-frame header for validity."Janne Grunau2012-08-06
| | | | | | | | | The check is bogus since the nuv frameheader is already skipped and the (decompressed) RTjpeg header is checked. This reverts commit f6afacdb3b708720c9fb85984b4f7fdbca2b2036. CC: libav-stable@libav.org
* imc: remove unused field IMCContext.one_div_log2Mans Rullgard2012-08-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* imc: fix size of a memset()Mans Rullgard2012-08-06
| | | | | | | IMCContext was changed from an array to a pointer in 66b84e4, but this memset() was not updated. Signed-off-by: Mans Rullgard <mans@mansr.com>
* imc: remove empty if() blockMans Rullgard2012-08-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: simplify variable setting filter.makMans Rullgard2012-08-06
| | | | | | This removes some needless indirection and duplication. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: Declare an AVRational struct without a struct literalMartin Storsjö2012-08-06
| | | | | | | At this place, the normal way of initializing a struct works fine, there's no need for a struct literal. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2Diego Biurrun2012-08-05
|
* rational: add av_inv_q() returning the inverse of an AVRationalMans Rullgard2012-08-05
| | | | | | This allows simplifying a few expressions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dpx: Make start offset unsignedDerek Buitenhuis2012-08-05
| | | | | | | | | Some corrupted files would end up with a negative offset, and segfault. Fixes bug #177. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavfi: properly signal out-of-memory error in ff_filter_samplesReinhard Tartler2012-08-05
| | | | Found with a clang-scan report on http://fate.libav.org/csa/
* cosmetics: Fix a few switched periods and linebreaksDerek Buitenhuis2012-08-04
| | | | | | Based on a patch by Piotr Bandurski. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: Fix memleak in decode_frameDerek Buitenhuis2012-08-04
| | | | | | | If there was a failure inflating, or reinitializing the zstream, the current frame's buffer would be lost. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: CosmeticsDerek Buitenhuis2012-08-04
| | | | | | Be consistent with error messages and code formatting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavr: fix handling of custom mix matricesJustin Ruggles2012-08-04
| | | | | Adds some validation for changing parameters after setting the matrix and fixes a bug in the conversion path setup.
* fate: force pix_fmt in lagarith-rgb32 testMans Rullgard2012-08-04
| | | | | | | This makes big and little endian systems use the same output format. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: add tests for lagarith lossless video codec.Ronald S. Bultje2012-08-03
| | | | Based on patch by Oana Stratulat <oanaandreeastratulat@gmail.com>.
* ARMv6: vp8: fix stack allocation with Apple's assemblerMans Rullgard2012-08-04
| | | | | | | | In the GNU assembler, a relational expression, bizarrely, has the value -1 if true, whereas in Apple's it is +1. This patch makes sure the correct expression is used in both cases. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: vp56: allow inline asm to build with clangMans Rullgard2012-08-04
| | | | | | | | | | | | | | | The clang integrated assembler does not support pre-UAL syntax, while gcc requires pre-UAL syntax for ARM code. A patch[1] for clang to support the old syntax as well has been ignored since January. This patch chooses the syntax appropriate for each compiler, allowing both to build the code. Notably, this change allows building for iphone with the latest Apple Xcode update. [1] http://llvm.org/bugs/show_bug.cgi?id=11855 Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft: 3dnow: fix register name typo in DECL_IMDCT macroRonald S. Bultje2012-08-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: dct32: port to cpuflagsDiego Biurrun2012-08-03
|
* x86: build: replace mmx2 by mmxextDiego Biurrun2012-08-03
| | | | | | | Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
* Revert "wmapro: prevent division by zero when sample rate is unspecified"Ronald S. Bultje2012-08-03
| | | | | This reverts commit 36936080239ba9e162f9f5d0f722ce579cb606cf. It was already applied; no idea why it didn't error out while re-applying it.
* wmapro: prevent division by zero when sample rate is unspecifiedSean McGovern2012-08-03
| | | | | | This fixes Bugzilla #327: Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lagarith: fix color plane inversion for YUY2 output.Ronald S. Bultje2012-08-03
|
* lagarith: pad RGB buffer by 1 byte.Ronald S. Bultje2012-08-03
| | | | | | | | | | | For left HFYU prediction, we predict from the buffer buf+1 using 8- or 16-byte reads. This means that aligning the buffer by 16 bytes is in itself not sufficient, because if the width itself is 16- or 8-byte aligned, the buffer will not be padded, and thus a read of size 16 at buf+1 will overflow boundaries at the right edge. Padding the buffer by 1 byte is sufficient to not overflow its boundaries. Fixes bug 342.
* dsputil: make add_hfyu_left_prediction_sse4() support unaligned src.Ronald S. Bultje2012-08-03
| | | | | | | | | | This makes add_hfyu_left_prediction_sse4() handle sources that are not 16-byte aligned in its own function rather than by proxying the call to add_hfyu_left_prediction_ssse3(). This fixes a crash on Win64, since the sse4 version clobberes xmm6, but the ssse3 version (which uses MMX regs) does not restore it, thus leading to XMM clobbering and RSP being off. Fixes bug 342.
* vc1dec: Remove separate scaling function for interlaced field MVsMashiat Sarker Shakkhar2012-08-03
| | | | | | | The scaling process for obtaining direct MVs from co-located field MVs is the same for interlaced field and progressive pictures. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1dec: Invoke edge_emulation regardless of MV precisionMashiat Sarker Shakkhar2012-08-03
| | | | | | | | | | | | In VC-1 interlaced field pictures, chroma motion vectors can extend beyond picture boundary even if luma vectors are bounded. The problem shows up only for hpel interpolated MVs, and may be due to the way motion vectors are scaled / cropped. Thanks to Konstantin Shishkov for suggesting the fix. This fixes long-known segfaults in MC-VC1.ts from videolan streams archive. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* x86: Use consistent 3dnowext function and macro name suffixesDiego Biurrun2012-08-03
| | | | | | Currently there is a wild mix of 3dn2/3dnow2/3dnowext. Switching to "3dnowext", which is a more common name of the CPU flag, as reported e.g. by the Linux kernel, unifies this.
* g723_1: scale output as supposed for the case with postfilter disabledKostya Shishkov2012-08-03
|
* g723_1: increase excitation storage by 4Kostya Shishkov2012-08-03
| | | | | | Fixed codebook mode in 5300 rate may write up to SUBFRAME_LEN + 4 and that is considered normal by the reference decoder. Without that additional padding it might overwrite first elements of LPC history.
* g723_1: fix upper bound parameter from inverse maximum autocorrelationKostya Shishkov2012-08-03
|
* g723_1: make scale_vector() behave like the referenceKostya Shishkov2012-08-03
|
* g723_1: fix off-by-one error in normalize_bits()Kostya Shishkov2012-08-03
|
* g723_1: save/restore excitation with offset to store LPC historyKostya Shishkov2012-08-03
| | | | | The same buffer with saved data is used later in LPC reconstruction, so it should have some head space for LPC history.
* wmapro: prevent division by zero when sample rate is unspecifiedSean McGovern2012-08-03
| | | | | | This fixes Bugzilla #327: Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* x86: proresdsp: improve SIGNEXTEND macro commentsDiego Biurrun2012-08-02
|
* x86: h264dsp: K&R formatting cosmeticsDiego Biurrun2012-08-02
|
* LICENSE: Document all GPL filesDerek Buitenhuis2012-08-02
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86: fft: fix imdct_half() for AVXRonald S. Bultje2012-08-02
| | | | | | | | | Some calculations were changed in b6a3849 to use mmsize, which was not correct for the AVX version, which uses INIT_YMM and therefore has mmsize == 32. Fixes Bug 341. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* rtmppkt: Add missing libavcodec/bytestream.h include.Alex Rønne Petersen2012-08-02
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtmp: add functions for reading AMF valuesJordi Ortiz2012-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vc1dec: remove useless #include simple_idct.hMans Rullgard2012-08-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: always link with aandcttab.oMans Rullgard2012-08-02
| | | | | | | | This allows building dct-test even if aandcttab.o is not pulled in by any enabled codec. The DCT with which these tables are used does not use them directly, so building it without the tables is possible. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vp8: pack struct VP8ThreadData more efficientlyMans Rullgard2012-08-02
| | | | | | | | Reordering the members in this struct reduces the holes required to maintain alignment. With this order, the only remaining, and unavoidable, hole is 3 bytes following left_nnz. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: remove libmpeg2 mmx(ext) idct functionsMans Rullgard2012-08-02
| | | | | | | | These functions are not faster than other mmx implementations on any hardware I have been able to test on, and they are horribly inaccurate. There is thus no reason to ever use them. Signed-off-by: Mans Rullgard <mans@mansr.com>
* eamad: Use dsputils instead of a custom bswap16_bufDerek Buitenhuis2012-08-01
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Canopus Lossless decoderDerek Buitenhuis2012-08-01
| | | | | | At the moment it only does BGR24, but I plan to add the rest after. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>