summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
Commit message (Collapse)AuthorAge
* 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
* Making it easier to send arbitrary structures as work orders to MT workersRoman Shaposhnik2008-11-12
| | | | Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Guess picture type from picture coding extension when the main header is ↵Michael Niedermayer2008-09-28
| | | | | | damaged. Originally committed as revision 15456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename error_resilience to error_recognition.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ignore the spec, and calculate aspect ratio on width/height.Michael Niedermayer2008-09-03
| | | | | | Fixes issue562 and issue621. Originally committed as revision 15183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify mpeg12 avctx->pix_fmt setBaptiste Coudurier2008-08-26
| | | | Originally committed as revision 14986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.Diego Biurrun2008-08-20
| | | | | | Now that it is exported, this should avoid confusion and name clashes. Originally committed as revision 14867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: comment spelling/grammar fixesDiego Biurrun2008-08-20
| | | | Originally committed as revision 14866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.Diego Biurrun2008-08-19
| | | | Originally committed as revision 14851 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark init_vlcs function as av_cold.Diego Biurrun2008-08-19
| | | | Originally committed as revision 14830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print correct mpeg-2 broken_link value, and print closed_gopBaptiste Coudurier2008-06-02
| | | | Originally committed as revision 13630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change init_2d_vlc_rl() to not use *alloc_static().Michael Niedermayer2008-05-30
| | | | Originally committed as revision 13566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove constant argument.Michael Niedermayer2008-05-30
| | | | Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Switch to INIT_VLC_USE_NEW_STATIC.Michael Niedermayer2008-05-30
| | | | | | | Note, if code you maintain still uses INIT_VLC_USE_STATIC please change it as well! Iam not volunteering to clean all codecs up ... Originally committed as revision 13563 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not reject odd width/height.Michael Niedermayer2008-05-25
| | | | | | Fixes issue371. Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace some occurrences of -1 with PIX_FMT_NONE.Carl Eugen Hoyos2008-05-11
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decode stuff from extradata as well.Michael Niedermayer2008-04-03
| | | | Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk