summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
Commit message (Collapse)AuthorAge
...
* 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
* Merge preprocessor if CONFIG_MPEG_XVMC_DECODER and code if( &&)Ivan Kalvachev2009-02-14
| | | | | | where possible Originally committed as revision 17293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check ff_xvmc_field_start() result in all cases.Ivan Kalvachev2009-02-14
| | | | Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add xvmc_internal.h that contains all internal xvmc function declarations.Diego Biurrun2009-02-14
| | | | | | This allows getting rid of a bunch of ugly forward declarations. Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use ff_xvmc for function names instead of XVMC_Ivan Kalvachev2009-02-14
| | | | Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.Diego Biurrun2009-02-14
| | | | Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is ↵Peter Ross2009-02-05
| | | | | | required for the Electronic Arts TQI decoder. Originally committed as revision 17001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert mpeg1_decode_block_intra() to inline globalPeter Ross2009-02-05
| | | | Originally committed as revision 17000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add mpeg1_vdpau decoder.Carl Eugen Hoyos2009-01-16
| | | | Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 12l: Fix compilation with --disable-vdpau.Carl Eugen Hoyos2009-01-16
| | | | Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which canNVIDIA Corporation2009-01-16
| | | | | | | | be used by video players. Original patch by NVIDIA corporation. Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using sub_id in mpeg1/2video.Michael Niedermayer2009-01-13
| | | | Originally committed as revision 16587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().Carl Eugen Hoyos2009-01-06
| | | | Originally committed as revision 16455 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorise setting of avctx->pix_fmt.Carl Eugen Hoyos2009-01-06
| | | | Originally committed as revision 16453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Switch xvmc over to a CONFIG_ option.Diego Biurrun2008-12-15
| | | | Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-03
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk