summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12dec.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpeg1: Make intra-block decoding independent of MpegEncContextVittorio Giovara2016-02-09
| | | | | | | This allows untangling the eatqi decoder from the MPEG-1 decoder. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12dec: Refactor mpeg1_decode_block_intra()Diego Biurrun2016-02-09
| | | | | Reduce variable scope, improve variable name, drop pointless ff_dlog(), merge variable declaration and initialization, whitespace cosmetics.
* mpeg12dec: Always close reader on errorVittorio Giovara2016-02-09
| | | | | | | A reader left open may lead to hangs. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: add profiles to AVCodecDescriptorAnton Khirnov2015-12-12
| | | | | The profiles are a property of the codec, so it makes sense to export them through AVCodecDescriptors, not just the codec implementations.
* mpeg12: Unbreak building stale codeLuca Barbato2015-10-16
| | | | Broken in 2d59159508c5c1830cc5da907a9454e229077320
* lavc: AV-prefix a few left out capabilitiesVittorio Giovara2015-10-15
|
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: Move tables to a separate fileVittorio Giovara2015-05-31
|
* D3D11va: add a Direct3D11 video decoder similar to DXVA2Steve Lhomme2015-05-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: Drop flags and flags2Vittorio Giovara2015-05-22
| | | | They are just duplicates of AVCodecContext members so use those instead.
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* mpeg12dec: Use more specific error codesMichael Niedermayer2014-12-03
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()Michael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpeg12dec: simplify context duplicationVittorio Giovara2014-11-06
| | | | | CC: libav-stable@libav.org Bug-Id: CID 717453 / CID 717454 / CID 717915
* lavc: deprecate the use of AVCodecContext.time_base for decodingAnton Khirnov2014-10-15
| | | | | | | | | | | When decoding, this field holds the inverse of the framerate that can be written in the headers for some codecs. Using a field called 'time_base' for this is very misleading, as there are no timestamps associated with it. Furthermore, this field is used for a very different purpose during encoding. Add a new field, called 'framerate', to replace the use of time_base for decoding.
* mpeg12: Always invoke the get_format() callbackRémi Denis-Courmont2014-09-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-15
|
* idct: remove call to ff_idctdsp_init from ff_MPV_common_initJohn Stebbins2014-08-14
| | | | | One step in untangling the mpegvideo code and fixing some problems in the order that initialization is being done in h263dec and h261dec.
* avcodec: Suppress deprecation warnings from DTG code scheduled for removalDiego Biurrun2014-08-04
|
* avcodec: Deprecate dtg_active_format field in favor of avframe side-dataKieran Kunhya2014-08-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-30
|
* mpeg: Split error resilience bits off into a separate fileDiego Biurrun2014-06-22
|
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
|
* dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-18
|
* lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov2014-05-11
| | | | This way each decoder does not have to do the same thing manually.
* lavc: Add an internal wrapper around get_format()Anton Khirnov2014-05-11
| | | | It will be useful in the following commits.
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: more correct printf specifiersDiego Biurrun2014-03-22
|
* mpegvideo: move mpegvideo formats-related defines to mpegutils.hVittorio Giovara2014-03-16
|
* mpeg12dec: do not add stereo3D side data to a non-existing frameJanne Grunau2014-02-13
| | | | | | | | | User data is usually coded before slice data. That means the frame the user data belongs to is not available while parsing the user data. The stereo3D side data has to use the same indirection over the private context as pan scan information and A53 captions. Bug-Id:632
* mpeg: K&R formatting cosmeticsVittorio Giovara2014-02-04
| | | | | | | Also adjust header #include order and some comments. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpeg12: check scantable indices in all decode_block functionsJanne Grunau2014-01-25
| | | | | | | | | Add checks to the fast functions used with CODEC_FLAGS2_FAST and move the check for all other functions to before the invalid memory is accessed. Fixes https://trac.videolan.org/vlc/ticket/9713 with CODEC_FLAGS2_FAST. CC: libav-stable@libav.org
* mpeg12dec: parse frame packing arrangement user_data and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* mpeg12dec: move first_slice from MpegEncContext to Mpeg1ContextAnton Khirnov2013-12-05
|
* mpeg12dec: Extract CC user data into frame side dataJohn Stebbins2013-11-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpeg12dec: Remove outdated UV swapping code for VCR2Diego Biurrun2013-11-14
|
* mpeg12dec: Remove unused swap_uv member from Mpeg1ContextDiego Biurrun2013-11-14
|
* Deprecate obsolete XvMC hardware decoding supportDiego Biurrun2013-11-13
| | | | | | | XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.
* hwaccel: Simplify ff_find_hwaccelLuca Barbato2013-11-10
| | | | It is always called by passing fields from an AVCodecContext.
* mpeg12dec: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* mpeg12decdata.h: Move all tables to the only place they are usedDiego Biurrun2013-08-15
|
* vdpau: remove old-style decodersRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpeg12: Ignore slice threading if hwaccel is activeRémi Denis-Courmont2013-07-25
| | | | | | | Slice threading does not work with hardware acceleration, as decoding is per-picture. This fixes Bugzilla #542. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12: skip frames consistentlyJanne Grunau2013-05-28
| | | | | | | The decoder did not start predicted frames with missing references but called the end of frame handling on them anyway. This caused an assertion in the VA API HW accelorator since it tried to render a picture with uninitialized buffers.