summaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1dec.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/vc1dec: fix mby_start for interlaced contentMichael Niedermayer2018-02-111-2/+2
| | | | | | Bug-Id: 1100 Bug-Id: ffmpeg/Ticket2531 Cc: libav-stable@libav.org
* lavc: Add hardware config metadata for decoders supporting hardware outputMark Thompson2017-12-191-0/+37
| | | | | | | | | This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time.
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-081-0/+1
| | | | | | | | | | This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1dec: raise an error if sprite picture data is missingSean McGovern2017-04-241-1/+1
| | | | | Bug-Id: 1013 CC: libav-stable@libav.org
* lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-231-1/+1
| | | | Deprecated in 11/2013.
* vc1: check that slices have a positive heightAnton Khirnov2016-08-181-0/+6
| | | | | | | Fixes possible invalid reads. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* intrax8: Remove mpegvideo dependencyVittorio Giovara2016-03-291-2/+1
|
* intrax8: Keep a reference to the decoder blocksVittorio Giovara2016-03-291-0/+1
|
* intrax8: Pass macroblock size to ff_intrax8_common_initVittorio Giovara2016-03-291-1/+3
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Reference the current AVCodecContextVittorio Giovara2016-03-251-1/+1
| | | | It will be needed to initialize BlockDSP in the next commit.
* intrax8: Keep a reference to the context idctdspVittorio Giovara2016-03-251-1/+1
| | | | | Use it instead of the embedded mpegvideo one. Update init function signature to load it directly from the callers.
* vc1dec: wmv2dec: Validate ff_intrax8_common_init return valueVittorio Giovara2016-03-221-4/+6
|
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-191-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-251-6/+19
| | | | This avoids accessing NULL pointers in case of error.
* vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-251-2/+5
| | | | | The deinit function in the 'error' section will correctly free everything.
* vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-251-11/+5
|
* vc1dec: Drop commented out cruftVittorio Giovara2016-02-251-8/+0
|
* lavc: add profiles to AVCodecDescriptorAnton Khirnov2015-12-121-10/+3
| | | | | The profiles are a property of the codec, so it makes sense to export them through AVCodecDescriptors, not just the codec implementations.
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-271-5/+5
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-4/+4
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-271-3/+3
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* vc1dec: use get_bits_long and limit the read bits to 32Andreas Cadhalpun2015-06-261-1/+1
| | | | | | | get_bits should not be used with more than 25 bits. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: msmpeg4: Move function declarationsVittorio Giovara2015-05-311-0/+1
|
* D3D11va: add a Direct3D11 video decoder similar to DXVA2Steve Lhomme2015-05-251-0/+3
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: Drop flags and flags2Vittorio Giovara2015-05-221-2/+2
| | | | They are just duplicates of AVCodecContext members so use those instead.
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-191-1/+1
|
* libavcodec: Make use of av_clip functionsPeter Meerwald2015-02-211-1/+1
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-141-1/+1
|
* vc1: initialize color propertiesVittorio Giovara2014-10-081-0/+7
|
* vc1: Split the decoder in componentsLuca Barbato2014-10-081-5207/+4
| | | | Speed up the overall compilation time.
* vc1: Do not assume seek happens after decodingLuca Barbato2014-10-041-1/+1
| | | | | | | If a seek is requested before the decoding start there is no current picture. CC: libav-stable@libav.org
* vc1: Use logical instead of bitwise or for twomvMichael Niedermayer2014-09-261-2/+2
| | | | | | CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Tim Walker <tdskywalker@gmail.com>
* vc1: Use logical instead of bitwise or for coded_interTim Walker2014-09-261-1/+1
| | | | This appears to be the intended behavior.
* vc1: Add missing parentheses to conditions in vc1_decode_b_mb_intfr()Diego Biurrun2014-08-191-2/+2
|
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-151-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-151-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-151-4/+4
|
* vc-1: Add platform-specific start code search routine to VC1DSPContext.Ben Avison2014-08-041-1/+0
| | | | | | | Initialise VC1DSPContext for parser as well as for decoder. Note, the VC-1 code doesn't actually use the function pointer yet. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-301-47/+69
|
* mpeg: Split error resilience bits off into a separate fileDiego Biurrun2014-06-221-0/+1
|
* dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-181-4/+5
|
* dsputil: Split off quarterpel bits into their own contextDiego Biurrun2014-05-291-2/+4
|
* lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov2014-05-111-1/+0
| | | | This way each decoder does not have to do the same thing manually.
* lavc: Add an internal wrapper around get_format()Anton Khirnov2014-05-111-1/+1
| | | | It will be useful in the following commits.
* vc1: Do not return an error when skipping b framesAlessandro Ghedini2014-04-251-1/+1
| | | | | | | | | This caused mpv (and possibly others) to fallback to software decoding after seeking a VC1 stream. Bug-Id: 667 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-091-67/+67
| | | | | | | | | | | | | 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>
* vc1dec: fix a possible unitialized variable warningVittorio Giovara2014-04-021-1/+2
|
* vc1dec: improve hwaccel #ifdefsRĂ©mi Denis-Courmont2014-03-311-3/+3
|
* lavc: drop ff_pixfmt_list_420Vittorio Giovara2014-03-231-2/+8
|
OpenPOWER on IntegriCloud