Commit Graph

9694 Commits

Author SHA1 Message Date
Baptiste Coudurier
f3908a82bc vmware video decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 09:05:17 +00:00
Baptiste Coudurier
6d3530ce2b zmbv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 09:02:14 +00:00
Baptiste Coudurier
35b2c65756 vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:53:39 +00:00
Baptiste Coudurier
c0bd35c70c renderware txd image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:48:34 +00:00
Baptiste Coudurier
fa27733cea tmv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:47:39 +00:00
Baptiste Coudurier
a08e67e70d tiff image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:46:04 +00:00
Baptiste Coudurier
7f57905d55 vp3 and theora decoders use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:44:26 +00:00
Baptiste Coudurier
89978e35a2 targa image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:42:32 +00:00
Baptiste Coudurier
da04a14889 sun rasterfile image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:41:19 +00:00
Baptiste Coudurier
2b2b7f41de snow decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:40:31 +00:00
Baptiste Coudurier
d65c1feead smacker video decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:37:55 +00:00
Baptiste Coudurier
c7af8b4e07 kmvc decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:36:26 +00:00
Baptiste Coudurier
80e8e25ef2 ptx image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:35:36 +00:00
Baptiste Coudurier
f4499c955a libopenjpeg wrapper uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:33:58 +00:00
Baptiste Coudurier
d0a7936710 png decoder use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:32:41 +00:00
Baptiste Coudurier
f1cdd863a5 pcx decoder use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:29:29 +00:00
Baptiste Coudurier
5f27348bd3 pgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:29:05 +00:00
Baptiste Coudurier
0cf0c5bfa8 dxa decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:21:54 +00:00
Baptiste Coudurier
1ea9dbbb92 bfi decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:20:51 +00:00
Baptiste Coudurier
4a89072833 bmp decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:19:33 +00:00
Baptiste Coudurier
94c014c455 amv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:18:17 +00:00
Baptiste Coudurier
be7e793261 bethesda vid decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:17:36 +00:00
Baptiste Coudurier
53e67085b2 4xm decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:12:14 +00:00
Baptiste Coudurier
7bbf3f2ca4 indeo3 decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:08:49 +00:00
Ramiro Polla
74a841af8b Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-04 23:25:09 +00:00
Diego Biurrun
51222d1041 cosmetics: K&R style reformatting
Originally committed as revision 19088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-04 10:37:29 +00:00
Ramiro Polla
989b7181ac Use fewer macros in x86-optimized mlpdsp.
Fixes compilation on 32-bit llvm which didn't allow a cast in an m operand.

Originally committed as revision 19086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 23:48:28 +00:00
Michael Niedermayer
f4ebb334be Fix sei_ct_type check so it does not mistreat ct_type= unknown.
Originally committed as revision 19082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 19:24:51 +00:00
Michael Niedermayer
4d95ae1882 Print ct_type and pic_struct.
Originally committed as revision 19081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 19:23:34 +00:00
Alex Converse
ad5caf3ab7 AAC ADTS to AudioSpecificConfig bitstream filter
Originally committed as revision 19080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 18:50:46 +00:00
Reimar Döffinger
10f9ff9bf6 Set AV_PKT_FLAG_KEY in avcodec_decode_video.
This fixes decoding of MPNG, which currently is incorrectly decoded as
CorePNG delta frames.
CorePNG can not be correctly decoded via this old API either way.

Originally committed as revision 19079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 11:23:16 +00:00
Reimar Döffinger
8f3f2e0676 Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
Originally committed as revision 19078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 11:20:35 +00:00
Michael Niedermayer
da45d5b9c6 Clarify the input AVPacket for avcodec_decode*()
Originally committed as revision 19077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-03 10:25:21 +00:00
Kostya Shishkov
9706d1c766 Check combined depth and number of components in TIFF decoder, thus eliminating
additional checks for each depth (like 48-bit gray vs. 48-bit RGB)

Originally committed as revision 19076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-02 15:31:51 +00:00
Reimar Döffinger
24dd21fa41 add #if CONFIG_ZLIB_DECODER around zlib_decomp function.
Fixes compilation when zlib is not available.

Originally committed as revision 19069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 19:51:21 +00:00
Reimar Döffinger
79183d3c3e mszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressed
bytes in a row.
About 15% faster mszh_decomp on an Atom N270 for
http://samples.mplayerhq.hu/V-codecs/mszh-zlib/avimzsh_sample.avi

Originally committed as revision 19068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 18:17:33 +00:00
Reimar Döffinger
a7bfbe4e13 lcldec: ensure that the offset for av_memcpy_backptr is valid.
Originally committed as revision 19067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 17:44:35 +00:00
Reimar Döffinger
bbf306742c Fix memleak due to c->decomp_buf never being freed.
Originally committed as revision 19064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:47:52 +00:00
Reimar Döffinger
908425c758 Only call inflateEnd when we were actually using the zlib code.
Originally committed as revision 19063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:42:50 +00:00
Reimar Döffinger
4ad3df9da2 avctx->priv_data is initialized to 0, get rid of useless extra initialization.
Originally committed as revision 19062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:41:49 +00:00
Reimar Döffinger
7ffc844742 Merge variable declaration and initialization.
Originally committed as revision 19061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:35:20 +00:00
Reimar Döffinger
7c20421661 Use int-size types instead of char where it makes no difference.
Originally committed as revision 19060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:34:19 +00:00
Reimar Döffinger
7a15b25827 Take advantage of available input padding to optimize mszh_decomp
Originally committed as revision 19059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 11:32:03 +00:00
Reimar Döffinger
a5d2745d8e Change maskbit variable to contain (1 << maskbit)
Originally committed as revision 19058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:58:20 +00:00
Reimar Döffinger
e0b3af9059 Remove check that thanks to padding is no longer necessary.
Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:53:47 +00:00
Reimar Döffinger
0b99764459 100l, the compression field in lcl extradata must be interpreted as
int8_t, not uint8_t to allow -1 for "no compression".
The original code worked, but only when char was signed.

Originally committed as revision 19056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:50:54 +00:00
Reimar Döffinger
e4f141ad60 One more use for FFMIN.
Originally committed as revision 19055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:44:42 +00:00
Reimar Döffinger
0d48e6ec7f Pad the decompression buffer and use av_memcpy_backptr for the mszh decompression.
Originally committed as revision 19054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:42:26 +00:00
Reimar Döffinger
974ce78544 Mark srcptr as const in mszh_decomp
Originally committed as revision 19053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:38:17 +00:00
Reimar Döffinger
6065dcea37 Remove unnecessary put_bits/get_bits includes.
Originally committed as revision 19052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:37:05 +00:00