summaryrefslogtreecommitdiffstats
path: root/libavcodec/iff.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-271-1/+1
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-2/+2
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-141-1/+1
|
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-231-0/+2
|
* iff: use the AVFrame API properly.Anton Khirnov2013-11-161-22/+26
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-2/+2
|
* iff: Do not read over the source bufferLuca Barbato2013-07-101-1/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* iff: K&R formatting cosmeticsLuca Barbato2013-07-101-42/+44
|
* lavc decoders: properly initialize AVFrame.Anton Khirnov2013-03-081-0/+2
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-22/+17
|
* iff: drop ff_ prefix from a static function.Anton Khirnov2013-01-261-3/+3
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-4/+4
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-2/+3
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-10/+10
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-2/+2
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-2/+2
| | | | | | | 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-291-18/+16
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | 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-261-2/+2
| | | | | | | 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-261-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>
* 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
OpenPOWER on IntegriCloud