summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* h264: add a parameter to the FRAME_MBAFF macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the MB_FIELD macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: add a parameter to the MB_MBAFF macro.Anton Khirnov2013-03-21
| | | | This way it does not look like a constant.
* h264: merge common_init() into ff_h264_decode_init.Anton Khirnov2013-03-21
| | | | There is no point in keeping those separate.
* h264: make ff_h264_frame_start static.Anton Khirnov2013-03-21
| | | | It is not called from outside h264.c
* fate: add tests for h264 decoder reinitJanne Grunau2013-03-20
|
* h264: fix bit depth changes with frame threadingJanne Grunau2013-03-20
| | | | | | | | | AVCodecContext.bits_per_raw_sample is updated from the previous thread in the generic update function before the codec specific update_thread function is called. The check for reinitialization of dsp functions uses bits_per_raw_sample. When called from update_thread_context it will be already at the current value and the dsp functions aren't updated if only the bit depth changes.
* rtmp: Pass the parameters to do_adobe_auth in the right orderMartin Storsjö2013-03-20
| | | | | | | | | | | do_adobe_auth takes the parameters in the order "opaque, challenge". Due to the way they are treated, this didn't matter in the tested setups though - if both are set, we only use one. In the tested setups (Wowza and Akamai) either one of them were null or they were both set to the same value, which is why this worked before. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: allocate hwaccel privdata after the frame bufferHendrik Leppkes2013-03-19
| | | | | | | | | | This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: allocate hwaccel privdata after the frame bufferHendrik Leppkes2013-03-19
| | | | | | | | | | This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread: unref already decoded frames when flushing the decoderHendrik Leppkes2013-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: fix allocation of the hwaccel_picture_private dataHendrik Leppkes2013-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.Anton Khirnov2013-03-19
|