summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not offer unsupported HWAccel PIX_FMT.Reimar Döffinger2011-04-051-2/+12
| | | | Only fixes MPEG-1/MPEG-2 as a first step.
* Use CONFIG_VDPAU as condition for using ff_vdpau_mpeg_picture_complete.Reimar Döffinger2011-04-051-1/+1
| | | | | | CONFIG_VDPAU is the condition on which ff_vdpau_mpeg_picture_complete is compiled in, so it is more appropriate, particularly since the separate VDPAU decoder should be removed in the longer term.
* Move frame_pred_frame_dct check elsewhere.Michael Niedermayer2011-04-031-1/+8
| | | | Fixes issue2405
* Merge remote branch 'qatar/master'Michael Niedermayer2011-04-031-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fixed-point MDCT with 32-bit unscaled output lavc: deprecate rate_emu lavc: mark hurry_up for removal on next major bump parser: mark av_parser_parse() for removal on next major bump lavc: add missing audioconvert includes jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-021-0/+4
| | | | | | | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* | Fix compilation with --disable-vdpauCarl Eugen Hoyos2011-04-021-1/+1
| |
* | Allow selecting VDPAU, XvMC via get_format for MPEG-2Reimar Döffinger2011-04-011-26/+44
| | | | | | | | | | | | To avoid further special-casing, dummy AVHWAccels are added for VDPAU. It should be possible to move VDPAU completely to AVHWAccel later.
* | Use consistent condition for whether to run slice-threading execute function.Reimar Döffinger2011-03-281-1/+1
| |
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-251-1/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: matroskadec: set default duration for simple block When building for MinGW32 disable strict ANSI compliancy. ARM: fix ff_apply_window_int16_neon() prototype configure: check for --as-needed support early ARM: NEON optimised apply_window_int16() ac3enc: NEON optimised shift functions ac3enc: NEON optimised ac3_max_msb_abs_int16 and ac3_exponent_min mpeg12.c: fix slice threading for mpeg2 field picture mode. ffmetadec.c: fix compiler warnings. configure: Don't explicitly disable ffplay or in/outdevices on dos configure: Remove the explicit disabling of ffserver configure: Add fork as a dependency to ffserver Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12.c: fix slice threading for mpeg2 field picture mode.Ronald S. Bultje2011-03-241-1/+13
| | | | | | | | Fixes "make THREADS=2 fate-mpeg2-field-enc".
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | More advanced ffmpeg mpeg2 aspect guessing code.Michael Niedermayer2011-03-251-2/+18
| | | | | | | | | | | | Fixes issue1613, 621, 562 simultaneously Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fake-Merge remote-tracking branch 'ffmpeg-mt/master'Michael Niedermayer2011-03-221-4/+32
|/
* Export profiles from the mpeg2 video decoderBenjamin Larsson2011-03-101-0/+13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-291-20/+20
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-6/+6
| | | | | | | 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-231-32/+0
| | | | | | | 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-051-2/+5
| | | | | | 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-271-1/+1
| | | | 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-071-0/+3
| | | | | | 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-301-1/+1
| | | | | | 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-301-2/+2
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-6/+6
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change ref_index structure so it matches how its organized in h264.Michael Niedermayer2010-03-231-2/+4
| | | | | | Also revert the related error concealment hotfix. Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefix for mpeg2_dc_scale_table.Michael Niedermayer2010-03-151-1/+1
| | | | Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix timestamp association for mpeg2 field pictures.Michael Niedermayer2010-02-211-1/+1
| | | | | | Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob Originally committed as revision 21949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix decoding ATI VCR2 codec, sample inCarl Eugen Hoyos2010-01-241-0/+3
| | | | | | | | | samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi Software decoding was broken since r8865, when two new context variables were added, but not initialized in vcr2_init_sequence(). Another such context variable was added in r18381. Originally committed as revision 21438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Be less picky on invalid frame_pred_frame_dct values.Michael Niedermayer2009-12-121-1/+1
| | | | | | Fixed issue1615. Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Reindent after r20679.Carl Eugen Hoyos2009-12-051-14/+14
| | | | Originally committed as revision 20738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slif aka "SoftLab MPEG-2 I-frames Codec" support.Michael Niedermayer2009-12-011-0/+5
| | | | | | | Flipping one bit still is popular it seems as a means to create a new codec. fixes issue1469. Originally committed as revision 20679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move "slice below image" check from mpeg_decode_slice to its caller.Michael Niedermayer2009-11-301-4/+6
| | | | | | Should fix issue1277. Originally committed as revision 20676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dummy picture allocation code from mpeg1/2 to mpegvideo.Michael Niedermayer2009-11-301-19/+0
| | | | | | This fixes a infinite loop on a b frame. Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set mb_y in mpeg2 field pictures like h264 does.Michael Niedermayer2009-11-301-9/+12
| | | | | | This fixes -vismv & -debug 16384 with field pictures. Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Start decoding from seq/gop too, not just I frames.Michael Niedermayer2009-11-301-8/+20
| | | | | | Possibly fixes issue1124. Originally committed as revision 20667 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix dual prime motion compensation in field pictures.Michael Niedermayer2009-11-301-3/+5
| | | | | | Fixes issue1125. Originally committed as revision 20666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print errors instead of just ignoring contradictionary values in mpeg2 silently.Michael Niedermayer2009-11-291-2/+10
| | | | Originally committed as revision 20656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Override a few values read so as to ensure that things are not inconsistent.Michael Niedermayer2009-11-291-0/+7
| | | | Originally committed as revision 20654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restructure dummy frame allocation.Michael Niedermayer2009-11-291-6/+19
| | | | | | | New code also allocates a dummy frame for an p field after an i field, previously that could segfault due to reading from NULL+x. Originally committed as revision 20653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure field_select is not set to nonsensical values even if unused.Michael Niedermayer2009-11-291-1/+1
| | | | | | Fixed an assert failure. Originally committed as revision 20646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize "s->first_slice = 1" out.Michael Niedermayer2009-11-281-2/+1
| | | | Originally committed as revision 20645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also check the location of the picture start code and picture codingMichael Niedermayer2009-11-281-1/+8
| | | | | | extension a little. Originally committed as revision 20644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check order of startcodes, ignore some obviously wrong ones.Michael Niedermayer2009-11-281-1/+17
| | | | | | Fixes issue487. Originally committed as revision 20643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move mpeg_decode_postinit() out of bitstream decoding functions, it does notMichael Niedermayer2009-11-281-3/+5
| | | | | | belong in there. Originally committed as revision 20642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Inline mpeg_decode_extension, will simplify future changes.Michael Niedermayer2009-11-281-31/+19
| | | | Originally committed as revision 20641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify mpeg_decode_user_data()Michael Niedermayer2009-11-281-12/+5
| | | | Originally committed as revision 20640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use get_bits_left() instead of size_in_bits - get_bits_count().Ronald S. Bultje2009-11-161-1/+1
| | | | Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove casts that are useless since the argument is void *.Reimar Döffinger2009-10-061-1/+1
| | | | Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move down HWAccel code path so that to fill in s->mb_x first.Gwenole Beauchesne2009-09-161-13/+13
| | | | Originally committed as revision 19875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r19317, "simplify slice_end, return size of output frame".Baptiste Coudurier2009-07-011-5/+9
| | | | | | It returns non decodable B-frames. Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk