summaryrefslogtreecommitdiffstats
path: root/libavcodec/iff.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge libavcore into libavutilReinhard Tartler2011-02-161-1/+1
| | | | Done to keep ABI compatible. Otherwise this is just silly
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-2/+2
| | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.Diego Elio Pettenò2011-01-281-2/+1
| | | | | | | | | The iff.h header only declared one function that is now static, the libavformat/iff.c source file wasn't using it before. Drop the file entirely. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 2d162e3825a35b6ac42a27d27c4a3ebbd141828d)
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-071-1/+1
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-061-1/+2
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-16/+16
| | | | | | | 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-301-1/+1
| | | | 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-221-1/+1
| | | | | | 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-011-13/+26
| | | | | | | | 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-161-46/+35
| | | | | | 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-131-3/+3
| | | | 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-131-5/+21
| | | | Originally committed as revision 23124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r23112.Sebastian Vater2010-05-131-16/+16
| | | | | | 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-131-0/+8
| | | | | | | | 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-131-4/+2
| | | | | | 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-131-2/+2
| | | | | | 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-101-8/+46
| | | | | | 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-101-0/+2
| | | | | | | | 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-091-8/+6
| | | | | | 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-091-1/+2
| | | | | | | | | | | 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-081-7/+48
| | | | Originally committed as revision 23061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align plane size to word-boundary.Sebastian Vater2010-05-051-3/+3
| | | | | | 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-031-10/+10
| | | | Originally committed as revision 23016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reidnent after r22795.Sebastian Vater2010-04-261-28/+28
| | | | | | 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-261-6/+37
| | | | | | | | 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-261-21/+20
| | | | | | | | | | | | 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-261-14/+31
| | | | | | 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-201-1/+1
| | | | | | | | 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-301-2/+2
| | | | | | 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-131-2/+3
| | | | | | | | 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-081-0/+1
| | | | Originally committed as revision 22307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use intended const syntaxPeter Ross2010-03-031-1/+1
| | | | Originally committed as revision 22165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support <8-bit ILBM uncompressed bitmapsPeter Ross2010-02-161-8/+4
| | | | Originally committed as revision 21846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF bitmap n-bit color supportPeter Ross2010-02-151-52/+74
| | | | 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-121-2/+2
| | | | Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF PBM/ILBM bitmap decoderPeter Ross2010-02-031-0/+223
Originally committed as revision 21622 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud