summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
Commit message (Collapse)AuthorAge
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | 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-23
| | | | | | 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-15
| | | | Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix timestamp association for mpeg2 field pictures.Michael Niedermayer2010-02-21
| | | | | | 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-24
| | | | | | | | | 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-12
| | | | | | Fixed issue1615. Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Reindent after r20679.Carl Eugen Hoyos2009-12-05
| | | | Originally committed as revision 20738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slif aka "SoftLab MPEG-2 I-frames Codec" support.Michael Niedermayer2009-12-01
| | | | | | | 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-30
| | | | | | 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-30
| | | | | | 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-30
| | | | | | 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-30
| | | | | | 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-30
| | | | | | 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-29
| | | | 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-29
| | | | Originally committed as revision 20654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restructure dummy frame allocation.Michael Niedermayer2009-11-29
| | | | | | | 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-29
| | | | | | 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-28
| | | | 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-28
| | | | | | 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-28
| | | | | | 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-28
| | | | | | 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-28
| | | | Originally committed as revision 20641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify mpeg_decode_user_data()Michael Niedermayer2009-11-28
| | | | 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-16
| | | | 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-06
| | | | 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-16
| | | | 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-01
| | | | | | It returns non decodable B-frames. Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify slice_end, return size of output frameBaptiste Coudurier2009-07-01
| | | | Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename alloc_picture to ff_alloc_picture and move its definitionBaptiste Coudurier2009-05-27
| | | | | | | in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c, because it contains motion code. Originally committed as revision 18968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.Wolfram Gloger2009-05-27
| | | | | | Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de. Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a forward declaration of mpeg1_decode_block_intra to fix compilationReimar Döffinger2009-05-17
| | | | | | broken by r18859 for e.g. all gcc 4 compilers. Originally committed as revision 18861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpeg12: fix non-standard use of "extern inline"Måns Rullgård2009-05-17
| | | | | | | | Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and make it static. Add ff_mpeg1_decode_block_intra as plain extern function calling mpeg1_decode_block_intra. Originally committed as revision 18859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* decode mpeg-2 closed gop first b frames, fix issue #824Baptiste Coudurier2009-05-15
| | | | Originally committed as revision 18837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a chroma_sample_location field to define positioning of chroma samplesDavid Conrad2009-05-11
| | | | Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extract colorspace fields from MPEG1/2.Michael Niedermayer2009-05-05
| | | | Originally committed as revision 18747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ignore first entry of intra matrixes if it is invalid.Michael Niedermayer2009-05-01
| | | | | | Fixes pink.mpg / issue1046. Originally committed as revision 18724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize quantization matrix loading code out.Michael Niedermayer2009-05-01
| | | | Originally committed as revision 18723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mb_height for interlaced mpeg2.Michael Niedermayer2009-04-08
| | | | | | This correctly fixes issue961, thanks to steven warren for spotting my mistake. Originally committed as revision 18381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found insteadMichael Niedermayer2009-03-02
| | | | | | | | | | | | of calling it at the end of a frame with a large negative offset. This significantly reduces the maximal distance in container packets between the point where the first byte of the "access unit" was stored and where we call ff_fetch_timestamp() thus reducing the constraints on our parser. Also change the parser from next_frame_offset to cur, this is needed because now the reference is from container packet start instead of frame start. (i previously misinterpreted this as bug) Originally committed as revision 17731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable in mpeg_mc_decode_initReimar Döffinger2009-03-01
| | | | Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous call to mpeg_decode_slice() for hwaccel, thisGwenole Beauchesne2009-02-27
| | | | | | | function already contains the needed code. Patch by Gwenole Beauchesne. Originally committed as revision 17636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ticks_per_frame, this should hopefully fix the regressions causedMichael Niedermayer2009-02-26
| | | | | | by the time_base change. Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More AVhwaccel hunks from Gwenole Beauchesne.Michael Niedermayer2009-02-25
| | | | Originally committed as revision 17590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct time_base and repeat_pict for MPEG2 video.Ivan Schreter2009-02-24
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_find_hwaccel() by Gwenole BeauchesneMichael Niedermayer2009-02-24
| | | | Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Approved hunks for VAAPI / our new shiny hwaccel APIMichael Niedermayer2009-02-23
| | | | | | by Gwenole Beauchesne gbeauchesne splitted desktop com Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the type of pblocks from pointers to short array intoIvan Kalvachev2009-02-22
| | | | | | | pointers to array of 64 DCTELEM, similarly to other block fields. This also get rid of some casts and fixes a warning. Originally committed as revision 17517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CosmeticsIvan Kalvachev2009-02-14
| | | | Originally committed as revision 17294 to svn://svn.ffmpeg.org/ffmpeg/trunk