Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-14Deprecate obsolete XvMC hardware decoding supportDiego Biurrun
XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.
2013-08-15mpeg12decdata.h: Move all tables to the only place they are usedDiego Biurrun
2013-08-05vdpau: remove old-style decodersRémi Denis-Courmont
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-05-16Remove commented-out debug #define cruftDiego Biurrun
2013-05-04avcodec: Add av_cold attributes to init functions missing themDiego Biurrun
2013-03-27Split MPEG-1/2 decoder code off from MPEG-1/2 common codeDiego Biurrun
2013-03-27vdpau: fix obsolete mpeg1 vdpau decoder when mpeg2 is disabledJanne Grunau
2013-03-26lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö
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>
2013-03-18mpeg12: do not fail on zero dimensions in the sequence header.Anton Khirnov
The total frame size is a combination of the 12 bits in the sequence header and 2 more bits in the the sequence extension. While the specification explicitly forbids the dimensions from the sequence header from being 0 (thus ruling out multiples of 4096), such videos apparrently exist in the wild so we should attempt to decode them. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes Bug 416.
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-03-07Add missing error_resilience includes to files that use ERDiego Biurrun
2013-03-06lavc: Split out ff_hwaccel_pixfmt_list_420[] over individual codecsRonald S. Bultje
Not all hwaccels implement all codecs, so using one single list for multiple such codecs means some codecs will be represented in the list, even though they don't actually handle that codec. Copying specific lists in each codec fixes that. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-15mpegvideo: split ff_draw_horiz_band().Anton Khirnov
Split out dependency on MpegEncContext.
2013-02-15error_resilience: decouple ER from MpegEncContextAnton Khirnov
2013-01-23Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-12-20mpeg12: do not decode extradata more than once.Anton Khirnov
Fixes CVE-2012-2803. CC: libav-stable@libav.org
2012-12-18mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau
Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
2012-10-18avcodec: Rename avpriv_frame_rate_tab to ff_mpeg12_frame_rate_tabMartin Storsjö
This table doesn't need to be shared with libavformat any longer. Add mpeg12 to the name to make it less ambiguous, while renaming it. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-08Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov
2012-10-01avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun
2012-09-29mpeg12: fix the semantics of the int* parameter of decode()Anton Khirnov
It is got_output, not data_size.
2012-09-29mpeg12: move mpeg_decode_frame() lowerAnton Khirnov
Avoids a forward declaration of decode_chunks().
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-05-03mpeg12: fixed parsing in some mpeg2 streamsHendrik Leppkes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-04-21Remove lowres video decodingMans Rullgard
This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-04-08hwaccel: mpeg2: decode first field, if requested.Gwenole Beauchesne
If user opted to present fields as they come, then the first field picture needs to be submitted to the HW for decoding. In particular, this fixes MPEG-2 decoding of interlaced streams. Tested on Intel Cedar Trail, Sandy Bridge and Ivy Bridge platforms. Someone reported on the ffmpeg-devel@ list this also works on DXVA (Windows) and other Linux platforms (NVIDIA, through the VA wrapper). This also means a similar patch to non-hwaccel VDPAU may be necessary. Note: I believe the SLICE_FLAG_ALLOW_FIELD is useless since the first field shall always be submitted to the HW anyway. Nobody uses HW accels (dxva, vaapi, vdpau, etc.) without that flag though. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-06cosmetics: Align codec declarationsMartin Storsjö
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-06mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warningAnne Aaron
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-05lavc: deprecate AVCodecContext.sub_id.Anton Khirnov
In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
2012-03-02Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun
2012-02-16mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-16vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-28cosmetics: Remove extra newlines at EOFAlex Converse
2012-01-19mpeg12: check for available bits to avoid an infinite loopJindřich Makovička
Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-01-08cosmetics: drop some pointless parenthesesDiego Biurrun
2012-01-02mpegenc: use avctx->slices as number of slicesJanne Grunau
Adds a new member to MpegEncContext to hold the number of used slice contexts. Fixes segfaults with '-threads 17 -thread_type slice' and fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
2011-12-13error_resilience: use the ER_ namespaceLuca Barbato
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-12-13doxygen: misc consistency, spelling and wording fixesDiego Biurrun
2011-10-28lavc: remove "legacy" mpegvideo decoder.Anton Khirnov
2011-10-24mpeg12: fix mpeg_decode_slice context parameter typeJanne Grunau
During slice threading only MpegEncContext is passed to mpeg_decode_slice, remove a wrong cast and change the function definition to take MpegEncContext pointer.
2011-10-24Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"Janne Grunau
This reverts commit da22ba7df461c13bf0b0eabc953303803a285d91 since it broke slice threading. Slice threading just duplicates MpegEncContext so every value used during mpeg_decode_slice has to be in it. A second patch will fix the illusion that Mpeg1Context is available in mpeg_decode_slice.
2011-10-23mpeg12: move closed_gop from MpegEncContext to Mpeg1ContextAnton Khirnov
It's MPEG-1/2 specific.
2011-10-23mpeg12: move full_pel from MpegEncContext to Mpeg1ContextAnton Khirnov
It's MPEG-1 specific.
2011-10-23mpeg12: move Mpeg1Context from mpeg12.c to mpeg12.hAnton Khirnov
It will be used in vdpau code.
2011-10-22lavc: replace references to deprecated AVCodecContext.error_recognition to ↵Dustin Brody
use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-20lavc: use avpriv_ prefix for ff_frame_rate_tab.Anton Khirnov
It's used in lavf.
2011-10-20lavc: rename ff_find_start_code to avpriv_mpv_find_start_codeAnton Khirnov
It's used in lavf.
2011-10-16w32threads: support for frame multithreadingSteven Walters
Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-10mpeg124: use sign_extend() functionMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-09-21lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*Anton Khirnov