summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavfi/gradfun: fix rounding in MMX code.Clément Bœsch2013-03-28
| | | | | | | | | | | | | | | Current code divides before increasing precision. Also reduce upper bound for strength from 255 to 64. This will prevent an overflow in the SSSE3 and MMX filter_line code: delta is expressed as an u16 being shifted by 2 to the left. If it overflows, having a strength not above 64 will make sure that m is set to 0 (making the m*m*delta >> 14 expression void). A value above 64 should not make any sense unless gradfun is used as a blur filter. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/gradfun: do not increment DC pointer for odd values.Clément Bœsch2013-03-28
| | | | | | | First DC is only used once otherwise. This also makes the code consistent with ASM versions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: filter: Add dependenciesDiego Biurrun2013-03-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: add options for reading filtergraphs from a file.Anton Khirnov2013-03-28
|
* AVOptions: make av_set_options_string() forward options to child objectsAnton Khirnov2013-03-28
|
* win32: Use 64-bit fstat/lseek variants for MSVC as wellHendrik Leppkes2013-03-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* win32: Make ff_win32_open more robustReimar Döffinger2013-03-27
| | | | | | | | | | | - Make MultiByteToWideChar fail when it encounters invalid encoding. Without this, invalid characters might just be skipped - When MultiByteToWideChar fails, assume the file name is in CP_ACP and open it via normal open function, even when the file will be written - When malloc fails return error instead of crashing Signed-off-by: Martin Storsjö <martin@martin.st>
* win32: Allow other programs to open the same filesReimar Döffinger2013-03-27
| | | | | | | In order to match Linux behaviour better our Windows-specific open() replacement should disable Windows default file locking. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add error_resilience as dependency to the eatqi decoderMartin Storsjö2013-03-27
| | | | | | | This makes standalone compilation of the eatqi decoder succeed. The dependency comes from the shared mpeg12dec.o file. Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: use correct context for the bit table printed in debugKostya Shishkov2013-03-27
|
* build: Move setting of SRC_DIR to the only place it is usedDiego Biurrun2013-03-27
|
* build: Remove configure-generated .config file on distcleanDiego Biurrun2013-03-27
|
* msmpeg4: Split decoding related functions to a separate fileMartin Storsjö2013-03-27
| | | | | | | | This fixes standalone compilation of the msmpeg4v2, msmpeg4v3 and wmv2 encoders, that previously failed to link due to the decoder codepaths requiring error_resilience. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: Move Mpeg1Context declaration to the only place it is usedDiego Biurrun2013-03-27
|
* Split MPEG-1/2 decoder code off from MPEG-1/2 common codeDiego Biurrun2013-03-27
|
* mpeg12: Move some ff_mpeg1_* function declarations to a more suitable placeDiego Biurrun2013-03-27
|
* cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
|
* dca: Move ff_dca_convert_bitstream() to the DCA common codeDiego Biurrun2013-03-27
| | | | This makes the DCA parser and decoder independent.
* vdpau: wrap codec specific functions in appropiate #ifsJanne Grunau2013-03-27
| | | | | Fixes linking when only a subset of the deprecated vdpau decoders is enabled.
* vdpau: fix obsolete mpeg1 vdpau decoder when mpeg2 is disabledJanne Grunau2013-03-26
|
* configure: fix dependencies of XvMC and old vdpau mpeg2 decodersJanne Grunau2013-03-26
|
* hwaccel: fix use with frame based multithreadingJanne Grunau2013-03-26
| | | | | | | | | | | | Allows use of AVHWAccel based decoders with frame based multithreading. The decoders will be forced into an non-concurrent mode by delaying ff_thread_finish_setup() calls after decoding of the current frame is finished. This wastes memory by unnecessarily using multiple threads and thus copies of the decoder context but allows seamless switching between hardware accelerated and frame threaded software decoding when the hardware decoder does not support the stream.
* utils: add workaround for AVHWAccel in ff_get_buffer compat codeJanne Grunau2013-03-26
| | | | | | | Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy AVBuffers are still bogus since AVFrame does not hold frame data when AVHWAccels are used.
* configure: Remove a stray msmpeg4v1 encoder declarationMartin Storsjö2013-03-26
| | | | | | No such encoder exists currently. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Remove the mpegvideo dependency from svq1Martin Storsjö2013-03-26
| | | | | | The svq1 decoder can be built standalone without mpegvideo. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: vc1dsp: Fix indentationMartin Storsjö2013-03-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Make it possible to compile without error_resilienceRonald S. Bultje2013-03-26
| | | | | | | | | | Error resilience is enabled by the h264 decoder, unless explicitly disabled. --disable-everything --enable-decoder=h264 will produce a h264 decoder with error resilience enabled, while --disable-everything --enable-decoder=h264 --disable-error-resilience will produce a h264 decoder with error resilience disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö2013-03-26
| | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move start code finding to utils.cMartin Storsjö2013-03-26
| | | | | | | | | | This allows dropping the mpegvideo dependency from a number of components. This also fixes standalone building of the h264 parser, which was broken in 64e438697. Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: 3.80-3.92 decoding supportKostya Shishkov2013-03-25
|
* h264: Remove an unused variableMartin Storsjö2013-03-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: consistently use unaligned movs in the unaligned bswapJanne Grunau2013-03-25
| | | | Fixes fate errors in asv1, ffvhuff and huffyuv on x86_32.
* sndio_dec: Add missing includes for av_gettime()Martin Storsjö2013-03-24
| | | | | | | This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Change a missed occurrance of int to ptrdiff_t for stridesMartin Storsjö2013-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Remove win64 xmm clobbering wrappers for the now removed ↵Martin Storsjö2013-03-23
| | | | | | avcodec_encode_video function Signed-off-by: Martin Storsjö <martin@martin.st>
* bktr: Add missing includes for av_gettime()Martin Storsjö2013-03-23
| | | | | | | This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: use little endian yuv444p10 in h264-reinit testsJanne Grunau2013-03-23
| | | | Fixes fate big endian configs.
* fate: add test for cropping h264 to container dimensionsJanne Grunau2013-03-22
| | | | | Tests the workaround added for 1080 videos created with Canon cameras in 30f515091c323da59c0f1b533703dedca2f4b95d.
* FATE: add a tscc2 test.Anton Khirnov2013-03-22
|
* tscc2: allocate AVFrame properly.Anton Khirnov2013-03-22
|
* af_asyncts: fix compensation and PTS monotonicityJindřich Makovička2013-03-22
| | | | | | | | | | | | | | | | | | | | | | | | This patch improves af_asyncts behavior on streams with bogus PTS, which are either non-monotonic, or contain PTS jitter, and trigger the non-monotonicity error. With this patch, af_asyncts is able to correct these streams and avoid the error. Firstly, it fixes resample compensation calculation by supplying proper units to avresample_set_compensation (sample count per second instead of sample count per some arbitrary frame size). Also, the calculation of the compensation itself is fixed - delta is proportional to an adjustment of the compensation, not the compensation itself. Ideally, the compensation should converge to a value that keeps delta at zero. To be able to deal with sources with PTS jitter even without resampling, small PTS errors are adjusted, so the output frames do not overlap. Finally, one more monotonicity check is added. The FATE reference changes because now there is 8 less samples of silence because of the pts jitter. Signed-off-by: Jindřich Makovička <makovick@gmail.com>
* avutil/frame: add all remaining frame properties to av_frame_copy_propsHendrik Leppkes2013-03-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: Enable hwaccels without external dependencies by default.Diego Biurrun2013-03-21
|
* doc/developer: Clarify symbol naming prefixes section.Diego Biurrun2013-03-21
|
* h264: remove redundant freeing of DPB in h264_decode_endAnton Khirnov2013-03-21
| | | | free_tables() frees it already.
* h264: add a parameter to the CHROMA444 macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the CHROMA422 macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the CABAC macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the FIELD_PICTURE macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.