summaryrefslogtreecommitdiff
path: root/libavcodec/iff.c
Commit message (Collapse)AuthorAge
* Remove unnecessary get_bits.h #includes and add missing headers where needed.Alexandra Hájková2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* iff: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* iff: Do not read over the source bufferLuca Barbato2013-07-10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* iff: K&R formatting cosmeticsLuca Barbato2013-07-10
|
* lavc decoders: properly initialize AVFrame.Anton Khirnov2013-03-08
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* iff: drop ff_ prefix from a static function.Anton Khirnov2013-01-26
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* 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>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* 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>
* Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.Diego Elio Pettenò2011-01-26
| | | | | | | | 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>
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | 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-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