OSDN Git Service
Diego Biurrun [Thu, 11 Jun 2009 09:31:31 +0000 (09:31 +0000)]
Split decoder-specific code off from vc1.c into vc1dec.c and keep code
shared between decoder and parser in vc1.c.
Originally committed as revision 19152 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 11 Jun 2009 08:16:08 +0000 (08:16 +0000)]
Add const in cast. Removes warning:
libavcodec/resample.c:215: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 19151 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 11 Jun 2009 08:14:50 +0000 (08:14 +0000)]
give s->resample_context to avoid segfault, avclass was moved
Originally committed as revision 19150 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Thu, 11 Jun 2009 06:28:06 +0000 (06:28 +0000)]
Disable native Vorbis encoder; quality is much worse than libvorbis and
there really isn't a reason to use it on purpose unless you're improving it.
Originally committed as revision 19149 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 11 Jun 2009 05:13:23 +0000 (05:13 +0000)]
Remove time_rate, we cannot compute exactly when fragments are
used and we cannot determine if fragments are present or not in
streamed mode.
Originally committed as revision 19148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 11 Jun 2009 04:30:05 +0000 (04:30 +0000)]
if b frames are parsed, set codec->has_b_frames
Originally committed as revision 19147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 11 Jun 2009 04:07:29 +0000 (04:07 +0000)]
Remove even condition on pad and crop.
Odd padding or cropping is needed when encoders only support
even resolution.
Originally committed as revision 19146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 10 Jun 2009 20:50:53 +0000 (20:50 +0000)]
Add code to enable and disable all VAAPI and VDPAU parts.
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.
Originally committed as revision 19145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 10 Jun 2009 19:36:18 +0000 (19:36 +0000)]
Remove Mans as MPEG-TS maintainer, he never intended to maintain MPEG-TS.
Originally committed as revision 19144 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Wed, 10 Jun 2009 15:08:02 +0000 (15:08 +0000)]
Support seeking as defined by the rfc
a PLAY with Range alone while in PLAY status should be interpreted
as an enqueue
a PAUSE followed by a PLAY with Range is the proper way to ask to
seek to a point.
See rfc2326
Originally committed as revision 19143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Wed, 10 Jun 2009 14:56:50 +0000 (14:56 +0000)]
Make sure buffer end remains constant within the loop
otherwise ff_find_start_code could read over the buffer size
Originally committed as revision 19142 to svn://svn.ffmpeg.org/ffmpeg/trunk
Haruhiko Yamagata [Tue, 9 Jun 2009 21:16:40 +0000 (21:16 +0000)]
Add field prev_interlaced_frame to H264Context to be able to flag soft telecine
progressive.
Patch by Haruhiko Yamagata, h D yamagata A nifty D com
Originally committed as revision 19141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Tue, 9 Jun 2009 20:58:32 +0000 (20:58 +0000)]
Make asf_get_packet() and asf_parse_packet() static. See "[PATCH] asfdec.c:
make get/parse_packet static" thread from 2 months ago.
Originally committed as revision 19140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 9 Jun 2009 20:29:52 +0000 (20:29 +0000)]
Express the H.264 parser dependency on the golomb code in configure instead of
in the Makefile as it is done for all other parts that depend on golomb.
Originally committed as revision 19139 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 9 Jun 2009 20:07:01 +0000 (20:07 +0000)]
Add missing dependencies for H.264 and VC-1 parsers.
Originally committed as revision 19138 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Tue, 9 Jun 2009 18:30:15 +0000 (18:30 +0000)]
Add additional dependencies for sdp and rtsp demuxers.
This fixes compilation when the rtsp muxer is disabled.
Originally committed as revision 19137 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Tue, 9 Jun 2009 10:06:25 +0000 (10:06 +0000)]
Properly initialize AVFrames to default values in the MPEG decoder (fixes
the AVFrame pts when decoding MPEG 1 and 2 video)
Originally committed as revision 19136 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 9 Jun 2009 07:18:58 +0000 (07:18 +0000)]
cosmetics: Add missing ending backslash to installed header list.
Originally committed as revision 19135 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Jun 2009 19:30:54 +0000 (19:30 +0000)]
Clarify (re)get_buffer() and CODEC_CAP_DR1 relation.
Originally committed as revision 19132 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 7 Jun 2009 15:15:45 +0000 (15:15 +0000)]
Remove comments that refer to fixed-point AMR implementations.
Originally committed as revision 19130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 6 Jun 2009 20:16:53 +0000 (20:16 +0000)]
clarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen
Originally committed as revision 19128 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Sat, 6 Jun 2009 17:40:33 +0000 (17:40 +0000)]
K&R formatting of already submitted G.729 code
Originally committed as revision 19127 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Holik [Sat, 6 Jun 2009 17:32:59 +0000 (17:32 +0000)]
Cosmetics : Use dprintf instead of printf.
Patch by Peter Holik < $firstname @ $lastname . at >
Originally committed as revision 19126 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Sat, 6 Jun 2009 16:46:40 +0000 (16:46 +0000)]
Cosmetics : Fix indentation after last commit.
Originally committed as revision 19125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Holik [Sat, 6 Jun 2009 16:44:21 +0000 (16:44 +0000)]
Introduce http_get_line and modify http_connect to use http_get_line.
Patch by Peter Holik <$firstname @ $lastname . at>
Originally committed as revision 19124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Sat, 6 Jun 2009 12:42:11 +0000 (12:42 +0000)]
Convert structure names to FFmpeg style
Originally committed as revision 19123 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 6 Jun 2009 09:37:46 +0000 (09:37 +0000)]
Remove '\p' doxygen markup, as it should improve plain text doxy
readability.
Originally committed as revision 29351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Stefano Sabatini [Sat, 6 Jun 2009 09:35:15 +0000 (09:35 +0000)]
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Sat, 6 Jun 2009 08:46:08 +0000 (08:46 +0000)]
Get new buffer during frame decoding in VB video decoder, not only once
during decoder initialization.
Originally committed as revision 19121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Sat, 6 Jun 2009 05:38:09 +0000 (05:38 +0000)]
Internal routine should not use name of standard function.
Use g729_prng instead.
Originally committed as revision 19120 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 5 Jun 2009 23:39:11 +0000 (23:39 +0000)]
Ensure that the extradata buffer is padded appripriately in the ogg demuxer.
Spotted by valgrind.
Originally committed as revision 19119 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Fri, 5 Jun 2009 17:11:46 +0000 (17:11 +0000)]
Remove ff_g729_ and g729_ prefixes from static routines.
Originally committed as revision 19118 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 5 Jun 2009 12:32:40 +0000 (12:32 +0000)]
Add support for external OpenCORE libraries for AMR-NB/WB support.
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 5 Jun 2009 11:04:03 +0000 (11:04 +0000)]
Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 5 Jun 2009 10:58:48 +0000 (10:58 +0000)]
Move around one paragraph, add headings for greater clarity.
Originally committed as revision 19115 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 5 Jun 2009 09:51:31 +0000 (09:51 +0000)]
Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1.
This is in preparation for the (L)GPL license upgrade code that will add
version 3 of these licenses.
Originally committed as revision 19114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 09:05:17 +0000 (09:05 +0000)]
vmware video decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19113 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 09:02:14 +0000 (09:02 +0000)]
zmbv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:53:39 +0000 (08:53 +0000)]
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
Baptiste Coudurier [Fri, 5 Jun 2009 08:48:34 +0000 (08:48 +0000)]
renderware txd image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:47:39 +0000 (08:47 +0000)]
tmv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19109 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:46:04 +0000 (08:46 +0000)]
tiff image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19108 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:44:26 +0000 (08:44 +0000)]
vp3 and theora decoders use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19107 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:42:32 +0000 (08:42 +0000)]
targa image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19106 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:41:19 +0000 (08:41 +0000)]
sun rasterfile image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19105 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:40:31 +0000 (08:40 +0000)]
snow decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19104 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:37:55 +0000 (08:37 +0000)]
smacker video decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19103 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:36:26 +0000 (08:36 +0000)]
kmvc decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19102 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:35:36 +0000 (08:35 +0000)]
ptx image decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19101 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:33:58 +0000 (08:33 +0000)]
libopenjpeg wrapper uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:32:41 +0000 (08:32 +0000)]
png decoder use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:29:29 +0000 (08:29 +0000)]
pcx decoder use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:29:05 +0000 (08:29 +0000)]
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
Baptiste Coudurier [Fri, 5 Jun 2009 08:21:54 +0000 (08:21 +0000)]
dxa decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19096 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:20:51 +0000 (08:20 +0000)]
bfi decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:19:33 +0000 (08:19 +0000)]
bmp decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19094 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:18:17 +0000 (08:18 +0000)]
amv decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:17:36 +0000 (08:17 +0000)]
bethesda vid decoder uses reget_buffer, set CODEC_CAP_DR1
Originally committed as revision 19092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:12:14 +0000 (08:12 +0000)]
4xm decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19091 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 5 Jun 2009 08:08:49 +0000 (08:08 +0000)]
indeo3 decoder uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Thu, 4 Jun 2009 23:25:09 +0000 (23:25 +0000)]
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Thu, 4 Jun 2009 22:50:38 +0000 (22:50 +0000)]
Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
Originally committed as revision 29350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Thu, 4 Jun 2009 22:10:52 +0000 (22:10 +0000)]
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Originally committed as revision 29349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Pavel Pavlov [Thu, 4 Jun 2009 21:55:52 +0000 (21:55 +0000)]
Use DECLARE_ALIGNED macro instead of gcc __attribute__.
Patch by Pavel Pavlov <pavel at summit-tech dot ca>
Originally committed as revision 29348 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Biurrun [Thu, 4 Jun 2009 10:37:29 +0000 (10:37 +0000)]
cosmetics: K&R style reformatting
Originally committed as revision 19088 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Thu, 4 Jun 2009 06:25:53 +0000 (06:25 +0000)]
Move function for reading whole specified amount of data from RTSP
demuxer into more common place.
Originally committed as revision 19087 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Wed, 3 Jun 2009 23:48:28 +0000 (23:48 +0000)]
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
Alex Converse [Wed, 3 Jun 2009 23:34:35 +0000 (23:34 +0000)]
Add the .adts file extension to the ADTS muxer.
Originally committed as revision 19085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 3 Jun 2009 23:13:53 +0000 (23:13 +0000)]
broken stsd length might be < 16, fix elst-assert.mp4
Originally committed as revision 19084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 3 Jun 2009 22:36:59 +0000 (22:36 +0000)]
Change find_tag return type to int64_t, fix a bug
where size is negative and url_fseek then seek backward
causing infinite loop. This also support 4gb unsigned size.
Originally committed as revision 19083 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 3 Jun 2009 19:24:51 +0000 (19:24 +0000)]
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
Michael Niedermayer [Wed, 3 Jun 2009 19:23:34 +0000 (19:23 +0000)]
Print ct_type and pic_struct.
Originally committed as revision 19081 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Wed, 3 Jun 2009 18:50:46 +0000 (18:50 +0000)]
AAC ADTS to AudioSpecificConfig bitstream filter
Originally committed as revision 19080 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 3 Jun 2009 11:23:16 +0000 (11:23 +0000)]
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
Reimar Döffinger [Wed, 3 Jun 2009 11:20:35 +0000 (11:20 +0000)]
Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
Originally committed as revision 19078 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 3 Jun 2009 10:25:21 +0000 (10:25 +0000)]
Clarify the input AVPacket for avcodec_decode*()
Originally committed as revision 19077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 2 Jun 2009 15:35:58 +0000 (15:35 +0000)]
Testing RGB48 variants requires bigger stride in swscale-example.c
Originally committed as revision 29343 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Kostya Shishkov [Tue, 2 Jun 2009 15:31:51 +0000 (15:31 +0000)]
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
Kostya Shishkov [Tue, 2 Jun 2009 12:30:11 +0000 (12:30 +0000)]
YUV into RGB48 BE/LE conversion support
Originally committed as revision 29342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Kostya Shishkov [Tue, 2 Jun 2009 12:28:49 +0000 (12:28 +0000)]
Partial (low bits ignored, no direct transcoding into other RGB formats) support
for inputting RGB48BE/LE.
Originally committed as revision 29341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Baptiste Coudurier [Tue, 2 Jun 2009 07:53:44 +0000 (07:53 +0000)]
do not parse full header for private streams
Originally committed as revision 19075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 2 Jun 2009 07:30:19 +0000 (07:30 +0000)]
correctly handle maximum streams limit
Originally committed as revision 19074 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 2 Jun 2009 07:26:58 +0000 (07:26 +0000)]
export data from private streams
Originally committed as revision 19073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 1 Jun 2009 16:07:48 +0000 (16:07 +0000)]
Remove the const qualifier for the name field of AVFilterInOut, since
it is meant to be freed.
Fix warnings.
Originally committed as revision 19072 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sun, 31 May 2009 20:19:16 +0000 (20:19 +0000)]
indent
Originally committed as revision 19071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sun, 31 May 2009 20:17:58 +0000 (20:17 +0000)]
Remove useless if(), leftover from the vhook removal.
Originally committed as revision 19070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 19:51:21 +0000 (19:51 +0000)]
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
Reimar Döffinger [Sun, 31 May 2009 18:17:33 +0000 (18:17 +0000)]
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
Reimar Döffinger [Sun, 31 May 2009 17:44:35 +0000 (17:44 +0000)]
lcldec: ensure that the offset for av_memcpy_backptr is valid.
Originally committed as revision 19067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 31 May 2009 16:30:12 +0000 (16:30 +0000)]
Implement avfilter_graph_config_links().
Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:50:30 +0000 (11:50 +0000)]
I will take care of the lcl de-/encoder while Roberto is unavailable.
Originally committed as revision 19065 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:47:52 +0000 (11:47 +0000)]
Fix memleak due to c->decomp_buf never being freed.
Originally committed as revision 19064 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:42:50 +0000 (11:42 +0000)]
Only call inflateEnd when we were actually using the zlib code.
Originally committed as revision 19063 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:41:49 +0000 (11:41 +0000)]
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
Reimar Döffinger [Sun, 31 May 2009 11:35:20 +0000 (11:35 +0000)]
Merge variable declaration and initialization.
Originally committed as revision 19061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:34:19 +0000 (11:34 +0000)]
Use int-size types instead of char where it makes no difference.
Originally committed as revision 19060 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 11:32:03 +0000 (11:32 +0000)]
Take advantage of available input padding to optimize mszh_decomp
Originally committed as revision 19059 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 10:58:20 +0000 (10:58 +0000)]
Change maskbit variable to contain (1 << maskbit)
Originally committed as revision 19058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 10:53:47 +0000 (10:53 +0000)]
Remove check that thanks to padding is no longer necessary.
Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 31 May 2009 10:50:54 +0000 (10:50 +0000)]
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