summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1dec.c
Commit message (Collapse)AuthorAge
* lavu: add AV_CEIL_RSHIFT and use it in various placesClément Bœsch2016-01-11
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffv1: Explicitly name the coder typeVittorio Giovara2015-11-16
| | | | | | | | | | | | | | | | FFv1 uses two types of coders, golomb and range with two different tables. This is exposed this in a rather convoluted way, for example mentioning to set coder type 1 while initializing the variable 'ac' to 2, because encoder does not use range coder with default table. Appropriate internal coder type values have been added and used in any check rather than using raw numbers. Initialization of avctx.coder_type in ffv1dec is removed because this field is encoder only. An unneeded validation check in the encoder is dropped too. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* ffv1: Drop unnecessary casts and const qualifiers to match function signaturesDiego Biurrun2015-01-05
| | | | libavcodec/ffv1dec.c:898:36: warning: cast discards ‘const’ qualifier from pointer target type
* ffv1dec: check that global parameters do not change in version 0/1Michael Niedermayer2014-08-12
| | | | | | | | | Such changes are neither allowed nor supported Found-by: ami_stuff Bug-Id: CVE-2013-7020 CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
|
* avutil: remove timer.h include from internal.hJanne Grunau2014-01-25
| | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* ffv1: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* ffv1: Assume bitdepth 0 means 8bitLuca Barbato2013-10-15
| | | | | CC: libav-stable@libav.org Reported-by: debian/726189
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* ffv1: fix calculating slice dimensions for version 2Anton Khirnov2013-03-08
| | | | | | It got broken in 0f13cd3187192ba0cc2b043430de6e279e7b97c3. CC:libav-stable@libav.org
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* ffv1: set the range coder state in decode_slice_headerLuca Barbato2001-01-01
|
* ffv1: update to ffv1 version 3Luca Barbato2012-10-20
| | | | Based on code from Carl Eugen Hoyos, Michael Niedermayer and Paul B Mahol.
* ffv1: propagate errorsLuca Barbato2012-10-20
|
* ffv1: split decoder and encoderLuca Barbato2012-10-20