summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuv.c
Commit message (Collapse)AuthorAge
* 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
* ff_add_hfyu_median_prediction_mmx2Loren Merritt2009-02-08
| | | | | | overall ffvhuff decoding speedup: 28% on core2, 25% on k8. Originally committed as revision 17059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More POSIX _t namespace cleanup.Michael Niedermayer2008-12-12
| | | | Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace generic CONFIG_ENCODERS preprocessor conditionals by more specificDiego Biurrun2008-09-03
| | | | | | CONFIG_FOO_ENCODER conditionals where appropriate. Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace generic CONFIG_DECODERS preprocessor conditionals by more specificDiego Biurrun2008-09-02
| | | | | | CONFIG_FOO_DECODER conditionals where appropriate. Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace some occurrences of -1 with PIX_FMT_NONE.Carl Eugen Hoyos2008-05-11
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to some AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prevent huffyuv from generating codewords of length 32. (regression in r9069)Loren Merritt2007-08-05
| | | | Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mem leakOliver Pfister2007-07-05
| | | | | | patch by Oliver Pfister: [oliver pfister gmx ch] Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Group all copyright and author notices together.Diego Biurrun2007-07-05
| | | | Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge huffman tables for rgb tooLoren Merritt2007-05-25
| | | | Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics (reduce nesting)Loren Merritt2007-05-24
| | | | Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use sparse huffman tables. 1.5% faster huffyuv decoding.Loren Merritt2007-05-24
| | | | Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge huffman tables so that we read 2 symbols at a time. 30% faster huffyuv ↵Loren Merritt2007-05-23
| | | | | | decoding. Originally committed as revision 9104 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change brute force search to min-heap. 3.6x faster generate_len_table, 8% ↵Loren Merritt2007-05-19
| | | | | | faster ffvhuff encoding. Originally committed as revision 9069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: macrofy duplicate code in huffyuvLoren Merritt2007-05-18
| | | | Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* r3938 broke 2pass huffyuv (not that anyone uses it)Loren Merritt2007-05-18
| | | | Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-10
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk