summaryrefslogtreecommitdiff
path: root/libavcodec/iff.c
Commit message (Collapse)AuthorAge
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF PBM decoder: Add a pad byte if image width is odd <aleksi dot nurmi at ↵Peter Ross2010-06-22
| | | | | | gmail dot com> Originally committed as revision 23701 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move get_buffer() calls from decode_init() to decode_frame(). Anything else isSebastian Vater2010-06-01
| | | | | | | | unsupported and causes crashes when libavfilter is enabled. Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize code into a single function.Sebastian Vater2010-05-16
| | | | | | Patch by Sebastian Vater, cdgs D basty A gmail Originally committed as revision 23148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r23124. Patch by Sebastian Vater <cdgs basty googlemail com>.Sebastian Vater2010-05-13
| | | | Originally committed as revision 23128 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Grayscale support. Patch by Sebastian Vater <cdgs basty googlemail com>.Sebastian Vater2010-05-13
| | | | Originally committed as revision 23124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r23112.Sebastian Vater2010-05-13
| | | | | | Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move handling of paletted data to the IFF demuxer. This allows futureSebastian Vater2010-05-13
| | | | | | | | handling of things such as masking/EHB/HAM for this type of data. Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle palette underflows, fill remaining space with black (zero) data.Sebastian Vater2010-05-13
| | | | | | Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move a while(..){..} -> do{..}while(..), slightly faster.Sebastian Vater2010-05-13
| | | | | | Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23110 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize decodeplane32().Sebastian Vater2010-05-10
| | | | | | Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23081 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that width and height are > 0. avcodec_open() itself only checks thatSebastian Vater2010-05-10
| | | | | | | | they are >= 0. Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove "bps" parameter to decodeplane8/32(), it's unused.Sebastian Vater2010-05-09
| | | | | | Patch by Sebastian Vater <cdgs basty googlemail com>. Originally committed as revision 23068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF: decode last 8 pixels per lineMåns Rullgård2010-05-09
| | | | | | | | | | | The decodeplane8() function processes one byte of input less than it should. Also, the for loop has an unusual style with side-effects in the controlling expression; replaced with a more intuitive while loop. 10l to Basty. Originally committed as revision 23063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize decodeplane8(), patch by Sebastian Vater <cdgs basty googlemail com>.Sebastian Vater2010-05-08
| | | | Originally committed as revision 23061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align plane size to word-boundary.Sebastian Vater2010-05-05
| | | | | | Patch by Sebastian Vater, cdgs D basty A googlemail Originally committed as revision 23023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r22974 int->unsigned parts that don't have any meaningful effect.Ronald S. Bultje2010-05-03
| | | | Originally committed as revision 23016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reidnent after r22795.Sebastian Vater2010-04-26
| | | | | | Patch by Sebastian Vater <cdgs.basty googlemail com>. Originally committed as revision 22976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move some branches outside looped code. Should improve the generated asm (andSebastian Vater2010-04-26
| | | | | | | | thus performance) slightly. Patch by Sebastian Vater <cdgs.basty googlemail com>. Originally committed as revision 22975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Switch some ints to unsigned (they can only have positive values, this allowsSebastian Vater2010-04-26
| | | | | | | | | | | | compiler to optimize some math from mul/div to shr/shl). Also add a cast to uint32_t when calling decodeplane32(), this silences a compiler warning. Lastly, in decodeplane8/32(), flatten a double-loop into a single-loop and calculate the length once before entering the loop instead of during every iteration (since it doesn't change). Patch by Sebastian Vater <cdgs.basty googlemail com>. Originally committed as revision 22974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make two functions out of #define hackery.Sebastian Vater2010-04-26
| | | | | | Patch by Sebastian Vater, cdgs D basty A googlemail Originally committed as revision 22970 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
* Make iff.c:decode_init return the value returned byStefano Sabatini2010-03-13
| | | | | | | | avctx->get_buffer() in case of error, rather than AVERROR_UNKNOWN which is deprecated, and mark AVERROR_UNKNOWN for deletion at the next major bump. Originally committed as revision 22512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF: move ff_cmap_read_palette() prototype to a header fileMåns Rullgård2010-03-08
| | | | Originally committed as revision 22307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use intended const syntaxPeter Ross2010-03-03
| | | | Originally committed as revision 22165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support <8-bit ILBM uncompressed bitmapsPeter Ross2010-02-16
| | | | Originally committed as revision 21846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF bitmap n-bit color supportPeter Ross2010-02-15
| | | | Originally committed as revision 21831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use int8_t instead of char, the signedness of char can differ between systems.Reimar Döffinger2010-02-12
| | | | Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF PBM/ILBM bitmap decoderPeter Ross2010-02-03
Originally committed as revision 21622 to svn://svn.ffmpeg.org/ffmpeg/trunk