summaryrefslogtreecommitdiff
path: root/libavcodec/bink.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* bink: Factorize bink put_pixelLuca Barbato2015-06-03
| | | | | | | | And make sure to check INTER_BLOCK as had been fixed by Michael Niedermayer. Reported-By: Andreas Cadhalpun CC: libav-stable@libav.org
* dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-18
|
* bink: Rename BinkDSPContext member so as not to clash with BlockDSPContextDiego Biurrun2014-06-02
|
* dsputil: Move Bink-specific add_pixels8 to binkdspDiego Biurrun2014-05-29
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* bink: Bound check the quantization matrix.Luca Barbato2013-08-05
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* bink: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-08
|
* bink: fix a check for the first frame.Anton Khirnov2013-02-01
| | | | | Packet pts is a very unreliable indicator, use AVCodecContext.frame_number instead.
* Drop DCTELEM typedefDiego Biurrun2013-01-22
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: put FF_IDCT_{VP3,H264,CAVS,BINK,EA,WMV2} under FF_API_IDCT.Ronald S. Bultje2013-01-20
| | | | | | This allows us to get rid of them on the next major bump. All of the above are functionally irrelevant, and most of them are unused, except the vp3 one, which is used wrongly in the bfin arch optimizations.
* bink: operate with pointers to AVFrames instead of whole structs.Anton Khirnov2013-01-06
| | | | This is more correct and avoids breaking extended_data.
* bink: return meaningful error codes.Anton Khirnov2013-01-06
|
* 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.
* lavc: add CODEC_CAP_DR1 to all video decoders missing themAnton Khirnov2012-10-29
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* bink: fix typo in FFALIGN() argumentKostya Shishkov2012-03-20
|
* bink: align plane width to 8 when calculating bundle sizesKostya Shishkov2012-03-20
| | | | This fixes decoding of Bink files with non-multiple-of-16 width.
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-22
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* binkvideo: simplify and remove invalid shiftsMans Rullgard2011-11-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: Check for various out of bound writesLaurent Aimar2011-10-08
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* bink: Check for out of bound writes when building treeLaurent Aimar2011-10-08
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* bink: Prevent NULL dereferences with missing reference frameLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* bink: Eliminate unnecessary shadow declaration.Alex Converse2011-08-01
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* dsputil: move a bink-only function to binkdspMans Rullgard2011-07-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: make IDCT take 32-bit inputKostya Shishkov2011-07-27
| | | | | | | | | | | Since IDCT transforming 32-bit input to 8-bit output is unusual and unpractical for most codecs, move Bink IDCT into separate context. Get rid of an additional permutation table while at it since SIMD support for Bink IDCT is unlikely to be implemented in foreseeable future. Quantisation tables also have to change type to signed for proper dequantisation of DCT coefficients. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Mark parameterless function declarations as 'void'.Diego Biurrun2011-05-26
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: use LOCAL_ALIGNED for aligned stack dataMans Rullgard2011-02-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* bink: permute Bink version 'b' quant matrices by inverse scan orderPeter Ross2011-02-13
| | | | | | | This fixes visual glitches in Bink version 'b' files, as the quantization tables were not being permuted. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: simplify how quantization matrices are passed to read_dct_coeffs()Peter Ross2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make tables generation insensitive to floating-point implementationVitor Sessak2011-02-12
| | | | | | | Using doubles make the double -> int cast well defined for all the values used, with the exception of when s[i]==1.0, which is special-cased. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: reindent after last commitPeter Ross2011-02-11
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Bink version 'b' video decoderPeter Ross2011-02-11
| | | | | | Based on original patch by Kostya Shishkov Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change some band size calculations in Bink decoder to use width in blocksKostya Shishkov2011-01-15
| | | | | | instead of real width, this fixes decoding of some Bink files with odd width. Originally committed as revision 26364 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bink: make bink_rlelens static (it's only used in this file)Ramiro Polla2010-10-30
| | | | Originally committed as revision 25605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk