summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuv.c
Commit message (Collapse)AuthorAge
* dsputil: Split bswap*_buf() off into a separate contextDiego Biurrun2014-06-22
|
* dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-27
| | | | Also shorten HuffYUV context member names to avoid clutter.
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* huffyuv: split encoder and decoder into separate files.Anton Khirnov2012-12-23
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Remove some silly disabled code.Diego Biurrun2012-10-01
|
* huffman: add ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | The function will be used by utvideo as well. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* huffyuv: update to current coding styleLuca Barbato2012-08-27
|
* 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>
* huffyuv: add padding to classic (v1) huffman tables.Ronald S. Bultje2012-03-08
| | | | | | | | | | We slightly overread the input buffer, so we require padding at the end of the buffer, as is documented in the get_bits API. Without padding, we'll read uninitialized data or beyond the end of the .rodata, which may crash. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Replace computations of remaining bits with calls to get_bits_left().Alex Converse2012-03-05
|
* huffyuv: do not abort on unknown pix_fmt; instead, return an error.Ronald S. Bultje2012-03-01
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* huffyuv: switch to encode2().Anton Khirnov2012-02-20
|
* huffyuv: error out on bit overrun.Ronald S. Bultje2012-02-17
| | | | | | | | On EOF, get_bits() will continuously return 0, causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: change number of plane pointers from 4 to 8 at next major bump.Justin Ruggles2011-12-02
| | | | | | Add AV_NUM_DATA_POINTERS to simplify the bump transition. This will allow for supporting more planar audio channels without having to allocate separate pointer arrays.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* huffyuv: Add multithreading supportAlexander Strange2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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>
* huffyuv: remove unnecessary size argument from generate_len_table()Måns Rullgård2010-06-25
| | | | Originally committed as revision 23791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* huffyuv: make VLAs fixed sizeMåns Rullgård2010-06-25
| | | | Originally committed as revision 23784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add const to some pointer parameters.Michael Kaufmann2010-04-17
| | | | | | Patch by Michael Kaufmann, hallo michael-kaufmann ch Originally committed as revision 22900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extradata length checks for Huffyuv.Michael Kaufmann2010-04-12
| | | | | | Patch by Michael Kaufmann hallo $(name) dash $(surname) ch Originally committed as revision 22856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement alpha channel decoding for BGR HuffYUV.Alexander Strange2010-01-14
| | | | | | | Since BGR24 is decoded as BGR32, fill its alpha channel with 255 using the appropriate predictors. Originally committed as revision 21211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use get_bits_left() instead of size_in_bits - get_bits_count().Ronald S. Bultje2009-11-16
| | | | Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Huffyuv: Remove unnecessary allocation in alloc_temp().Alexander Strange2009-10-16
| | | | | | RGB only needs one temp array. Originally committed as revision 20258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Huffyuv: Fix a valgrind warning in get_vlc2().Alexander Strange2009-10-16
| | | | | | The padding in bitstream_buffer wasn't initialized. Originally committed as revision 20257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Release unreleased buffers found by make test.Carl Eugen Hoyos2009-10-16
| | | | Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move HuffYUV left prediction to dsputil.Nathan Caldwell2009-10-06
| | | | | | Patch by Nathan Caldwell, saintdev gmail Originally committed as revision 20179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | Makes no difference for gcc but at least icc can put them in .rodata then. Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix a buffer overrun on corrupt huffyuv streamsLoren Merritt2009-07-04
| | | | Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-07-01
| | | | Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure we dont read over the end.Michael Niedermayer2009-07-01
| | | | | | Fixes issue1237. Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix passing of unaligned addresses to dsputil diff_bytes() byJeff Downs2009-05-23
| | | | | | | | | | | | changeing calls to sub_left_prediction such that the source frame data pointers are no longer offset to skip the initial elements. This keeps them properly aligned for the subsequent call to diff_bytes. Changes encoding offset to compensate. Mailing list thread: https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html Originally committed as revision 18919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add offset argument to encode_422_bitstream() to control whereJeff Downs2009-05-23
| | | | | | | | | in the source data array to start encoding. Change all calls to pass zero for this new argument for equivalent behavior. This is a restructure to support a forthcoming bug fix. Originally committed as revision 18918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a av_fast_malloc function and replace several uses of av_fast_realloc,Reimar Döffinger2009-04-12
| | | | | | thus avoiding potential memleaks and pointless memcpys. Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 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
* Make sure the last bits of huffyuv frames are zeroed.Michael Niedermayer2009-04-05
| | | | | | Fixes issue946 Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk