summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
Commit message (Collapse)AuthorAge
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* mpeg12: check for available bits to avoid an infinite loopJindřich Makovička2012-01-19
| | | | | Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* mpegenc: use avctx->slices as number of slicesJanne Grunau2012-01-02
| | | | | | 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.
* error_resilience: use the ER_ namespaceLuca Barbato2011-12-13
| | | | | | Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* lavc: remove "legacy" mpegvideo decoder.Anton Khirnov2011-10-27
|
* mpeg12: fix mpeg_decode_slice context parameter typeJanne Grunau2011-10-24
| | | | | | During slice threading only MpegEncContext is passed to mpeg_decode_slice, remove a wrong cast and change the function definition to take MpegEncContext pointer.
* Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"Janne Grunau2011-10-24
| | | | | | | | 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.
* mpeg12: move closed_gop from MpegEncContext to Mpeg1ContextAnton Khirnov2011-10-23
| | | | It's MPEG-1/2 specific.
* mpeg12: move full_pel from MpegEncContext to Mpeg1ContextAnton Khirnov2011-10-23
| | | | It's MPEG-1 specific.
* mpeg12: move Mpeg1Context from mpeg12.c to mpeg12.hAnton Khirnov2011-10-23
| | | | It will be used in vdpau code.
* lavc: replace references to deprecated AVCodecContext.error_recognition to ↵Dustin Brody2011-10-22
| | | | | | use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use avpriv_ prefix for ff_frame_rate_tab.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: rename ff_find_start_code to avpriv_mpv_find_start_codeAnton Khirnov2011-10-20
| | | | It's used in lavf.
* w32threads: support for frame multithreadingSteven Walters2011-10-16
| | | | | | | | 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>
* mpeg124: use sign_extend() functionMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*Anton Khirnov2011-09-21
|
* mpeg12: reorder functions to avoid ugly forward declarationsDiego Biurrun2011-09-13
|
* mpeg12: cosmetics: reformat as K&RDiego Biurrun2011-09-06
|
* mpeg12: propagate more real return values through chunk decode error return ↵Dustin Brody2011-09-05
| | | | | | and fix some indentation Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpeg12: propagate chunk decode errors and fix conditional indentationDustin Brody2011-08-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpeg12: remove repeat-field code disabled since May 2002Dustin Brody2011-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* mpeg1video: add CODEC_CAP_SLICE_THREADS.Ronald S. Bultje2011-07-13
|
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* Remove return statements following infinite loops without breakMans Rullgard2011-07-03
| | | | | | | These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg12: more advanced ffmpeg mpeg2 aspect guessing code.Michael Niedermayer2011-06-10
| | | | | | | Fixes issue1613, 621, 562 simultaneously Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Remove unused variablesMans Rullgard2011-06-02
|
* H264/MPEG frame-level multi-threading.Alexander Strange2011-06-02
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpeg12: add slice-threading checks to slice-threading initializers.Ronald S. Bultje2011-05-18
| | | | Fixes "make THREADS=2 THREAD_TYPE=1 fate-mpeg2-field-enc".
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12: terminate mpeg2_video_profiles arraysStefano Sabatini2011-04-28
| | | | | | | | | Make av_get_profile_name() return NULL if no profile is detected. Fix trac issue #130, fix crash reading file tek3.m2v. (cherry picked from commit e5d80c7b2d893422e2e60a97e08bfc48ca1684e6) Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-26
|
* Introduce slice threads flag.Ronald S. Bultje2011-04-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use consistent condition for whether to run slice-threading execute function.Reimar Döffinger2011-04-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-02
| | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* mpeg12.c: fix slice threading for mpeg2 field picture mode.Ronald S. Bultje2011-03-24
| | | | Fixes "make THREADS=2 fate-mpeg2-field-enc".
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Export profiles from the mpeg2 video decoderBenjamin Larsson2011-03-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove redundant checks against MIN_CACHE_BITSMans Rullgard2011-01-23
| | | | | | | With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS is always >= 25, so tests against smaller values can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make dc_lum_vlc and dc_chroma_vlc non-static symbols,Vitor Sessak2011-01-05
| | | | | | this fixed the decoding of version 3 PSX MDEC files. Originally committed as revision 26230 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxy that refers to the wrong variable.Michael Niedermayer2010-07-27
| | | | Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add new decoder property max_lowres and do not init decoder if requested ↵Carl Eugen Hoyos2010-07-07
| | | | | | value is higher. Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not skip one of three bits zero padding.Daniel Kristjansson2010-06-30
| | | | | | Patch by Daniel Kristjansson, danielk cuymedia net Originally committed as revision 23914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk