Sebastian Vater
ec1d1afc09
Factorize code into a single function.
...
Patch by Sebastian Vater, cdgs D basty A gmail
Originally committed as revision 23148 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
6d81016282
Reindent after r23124. Patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23128 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
7a0e859cdb
Grayscale support. Patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23124 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
299ac811ba
Reindent after r23112.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
65d213ec86
Move handling of paletted data to the IFF demuxer. This allows future
...
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
15 years ago
Sebastian Vater
ebcf7c3227
Handle palette underflows, fill remaining space with black (zero) data.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23111 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
2f955ea41b
Move a while(..){..} -> do{..}while(..), slightly faster.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23110 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
dce2f7d36b
Optimize decodeplane32().
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23081 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
59cca5040e
Ensure that width and height are > 0. avcodec_open() itself only checks that
...
they are >= 0.
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23080 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
9d45a32ba8
Remove "bps" parameter to decodeplane8/32(), it's unused.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23068 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
79a9672d45
IFF: decode last 8 pixels per line
...
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
15 years ago
Sebastian Vater
0a9cb385ad
Optimize decodeplane8(), patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23061 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
cfdaee45d1
Align plane size to word-boundary.
...
Patch by Sebastian Vater, cdgs D basty A googlemail
Originally committed as revision 23023 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
4fe4bb6150
Revert r22974 int->unsigned parts that don't have any meaningful effect.
...
Originally committed as revision 23016 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
726dc06158
Reidnent after r22795.
...
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22976 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
fe51b5ce50
Move some branches outside looped code. Should improve the generated asm (and
...
thus performance) slightly.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sebastian Vater
473147bed0
Switch some ints to unsigned (they can only have positive values, this allows
...
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
15 years ago
Sebastian Vater
687dc3555d
Make two functions out of #define hackery.
...
Patch by Sebastian Vater, cdgs D basty A googlemail
Originally committed as revision 22970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
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
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0edfa79b23
Make iff.c:decode_init return the value returned by
...
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
15 years ago
Måns Rullgård
d9747e29b6
IFF: move ff_cmap_read_palette() prototype to a header file
...
Originally committed as revision 22307 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
f087881207
use intended const syntax
...
Originally committed as revision 22165 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
cbba8fec23
Support <8-bit ILBM uncompressed bitmaps
...
Originally committed as revision 21846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
005caa3486
IFF bitmap n-bit color support
...
Originally committed as revision 21831 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
9f1d760a27
Use int8_t instead of char, the signedness of char can differ between systems.
...
Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
b9e06dddb7
IFF PBM/ILBM bitmap decoder
...
Originally committed as revision 21622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago