summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
Commit message (Collapse)AuthorAge
* Fix memleak: free palette data on close.Reimar Döffinger2010-11-23
| | | | Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentation.Reimar Döffinger2010-11-21
| | | | Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add explanation and alternative implementation for strange xanReimar Döffinger2010-11-21
| | | | | | gamma correction. Originally committed as revision 25779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WC3/xan: move palette handling to decoder, avoiding need forReimar Döffinger2010-11-21
| | | | | | | | PaletteControl. This also fixes playback of some files with ffplay (images were corrupted for a short time after a palette change). Originally committed as revision 25778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant text in the log.Stefano Sabatini2010-10-18
| | | | Originally committed as revision 25517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make XAN decoder return meaningful error codes.Stefano Sabatini2010-10-18
| | | | Originally committed as revision 25516 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
* 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
* Add long_name for Xxan codec.Diego Biurrun2009-12-19
| | | | Originally committed as revision 20900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve handling allocated buffers in Xan decoderKostya Shishkov2009-12-19
| | | | Originally committed as revision 20899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent a bitKostya Shishkov2009-12-19
| | | | Originally committed as revision 20898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary calls to avcodec_check_dimensions, the check is alreadyReimar Döffinger2009-10-13
| | | | | | done at a higher level. Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use memcpy to copy till end of line in one go instead of copying pixel by pixelReimar Döffinger2009-09-05
| | | | | | in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run Originally committed as revision 19774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Slightly simplify detection of end of compressed data in xan_unpackReimar Döffinger2009-09-05
| | | | Originally committed as revision 19772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless #include <unistd.h> from many filesMåns Rullgård2009-07-22
| | | | Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid code duplication in xan_unpack for the final memcpy.Reimar Döffinger2009-04-18
| | | | Originally committed as revision 18608 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use sign_extend function instead of reimplementing it.Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a useless "& 0xF"Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use / and % operators instead of reimplementing them with a loop.Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18597 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change buffer check to avoid an unlikely pointer arithmetic overflow.Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify xan_huffman_decode by using get_bitsReimar Döffinger2009-04-17
| | | | Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics to improve xan_unpack readabilityReimar Döffinger2009-04-17
| | | | Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix buffer size check for xan_unpack which was broken by r18586Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Some more simplifications of xan_unpackReimar Döffinger2009-04-17
| | | | Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent xan_unpack codeReimar Döffinger2009-04-17
| | | | Originally committed as revision 18587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid some code duplication in xan_unpackReimar Döffinger2009-04-17
| | | | Originally committed as revision 18586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase buffer padding to avoid most space checks in xan_unpackReimar Döffinger2009-04-17
| | | | Originally committed as revision 18584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change buffer size checks to avoid the very unlikely overflow case.Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18576 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a pointless right-shift in xan decoder.Reimar Döffinger2009-04-17
| | | | Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace bytecopy with the equivalent but faster av_memcpy_backptr.Reimar Döffinger2009-04-17
| | | | | | Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE Originally committed as revision 18572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use memcpy instead of the very inefficient bytecopy where both are correctReimar Döffinger2009-04-17
| | | | | | (i.e. no overlap of src and dst is possible). Originally committed as revision 18569 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
* 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
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 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
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 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
* fix the WC3 Xan decoder by correcting the frame accounting logicMike Melanson2008-03-05
| | | | Originally committed as revision 12326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constAurelien Jacobs2008-02-01
| | | | Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_xx throughout libavcodecRamiro Polla2007-06-02
| | | | Originally committed as revision 9169 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
* Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.Diego Biurrun2007-05-05
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous setting of has_b_frames in codecs without B-frames.Nicholas Tung2007-04-07
| | | | | | patch by Nicholas Tung, ntung ntung com Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typosDiego Biurrun2007-04-07
| | | | Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-19
| | | | Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk