ffmpeg.git
11 years agoKill warnings of possibly unused variables by using av_unused.
Ramiro Polla [Thu, 11 Jun 2009 17:10:54 +0000 (17:10 +0000)]
Kill warnings of possibly unused variables by using av_unused.

Originally committed as revision 29355 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agocosmetics: Reformat to K&R and prettyprint newly created files.
Diego Biurrun [Thu, 11 Jun 2009 15:35:23 +0000 (15:35 +0000)]
cosmetics: Reformat to K&R and prettyprint newly created files.

Originally committed as revision 19156 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
Patrick Dehne [Thu, 11 Jun 2009 15:26:57 +0000 (15:26 +0000)]
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com

Originally committed as revision 19155 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix compilation: #undef standard library functions that are
Diego Biurrun [Thu, 11 Jun 2009 15:15:43 +0000 (15:15 +0000)]
Fix compilation: #undef standard library functions that are
forbidden within FFmpeg, but allowed in example code.

Originally committed as revision 29354 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoAdd libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
Diego Biurrun [Thu, 11 Jun 2009 10:19:04 +0000 (10:19 +0000)]
Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
This fixes swscale-example compilation.

Originally committed as revision 29353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agocosmetics: Reformat file to K&R style upon Kostya's request.
Diego Biurrun [Thu, 11 Jun 2009 10:16:51 +0000 (10:16 +0000)]
cosmetics: Reformat file to K&R style upon Kostya's request.

Originally committed as revision 19154 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years ago10l: Add vc1dec.o to the list of WMV3 objects, same as for VC-1.
Diego Biurrun [Thu, 11 Jun 2009 09:40:24 +0000 (09:40 +0000)]
10l: Add vc1dec.o to the list of WMV3 objects, same as for VC-1.
Even after the split into shared and decoder-specific code, WMV3
continues to have the same dependencies as VC-1.

Originally committed as revision 19153 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSplit decoder-specific code off from vc1.c into vc1dec.c and keep code
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

11 years agoAdd const in cast. Removes warning:
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

11 years agogive s->resample_context to avoid segfault, avclass was moved
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

11 years agoDisable native Vorbis encoder; quality is much worse than libvorbis and
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

11 years agoRemove time_rate, we cannot compute exactly when fragments are
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

11 years agoif b frames are parsed, set codec->has_b_frames
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

11 years agoRemove even condition on pad and crop.
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

11 years agoAdd code to enable and disable all VAAPI and VDPAU parts.
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

11 years agoRemove Mans as MPEG-TS maintainer, he never intended to maintain MPEG-TS.
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

11 years agoSupport seeking as defined by the rfc
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

11 years agoMake sure buffer end remains constant within the loop
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

11 years agoAdd field prev_interlaced_frame to H264Context to be able to flag soft telecine
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

11 years agoMake asf_get_packet() and asf_parse_packet() static. See "[PATCH] asfdec.c:
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

11 years agoExpress the H.264 parser dependency on the golomb code in configure instead of
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

11 years agoAdd missing dependencies for H.264 and VC-1 parsers.
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

11 years agoAdd additional dependencies for sdp and rtsp demuxers.
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

11 years agoProperly initialize AVFrames to default values in the MPEG decoder (fixes
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

11 years agocosmetics: Add missing ending backslash to installed header list.
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

11 years agoClarify (re)get_buffer() and CODEC_CAP_DR1 relation.
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

11 years agoRemove comments that refer to fixed-point AMR implementations.
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

11 years agoclarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen
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

11 years agoK&R formatting of already submitted G.729 code
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

11 years agoCosmetics : Use dprintf instead of printf.
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

11 years agoCosmetics : Fix indentation after last commit.
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

11 years agoIntroduce http_get_line and modify http_connect to use http_get_line.
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

11 years agoConvert structure names to FFmpeg style
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

11 years agoRemove '\p' doxygen markup, as it should improve plain text doxy
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

11 years agoRemove '\p', '\c' and '\e' doxygen markup from doxy, as it should
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

11 years agoGet new buffer during frame decoding in VB video decoder, not only once
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

11 years agoInternal routine should not use name of standard function.
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

11 years agoEnsure that the extradata buffer is padded appripriately in the ogg demuxer.
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

11 years agoRemove ff_g729_ and g729_ prefixes from static routines.
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

11 years agoAdd support for external OpenCORE libraries for AMR-NB/WB support.
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

11 years agoAdd configure option to upgrade (L)GPL to version 3.
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

11 years agoMove around one paragraph, add headings for greater clarity.
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

11 years agoRename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1.
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

11 years agovmware video decoder uses reget_buffer, set CODEC_CAP_DR1
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

11 years agozmbv decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agovc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
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

11 years agorenderware txd image decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agotmv decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agotiff image decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agovp3 and theora decoders use get_buffer, set CODEC_CAP_DR1
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

11 years agotarga image decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agosun rasterfile image decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agosnow decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agosmacker video decoder uses reget_buffer, set CODEC_CAP_DR1
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

11 years agokmvc decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agoptx image decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agolibopenjpeg wrapper uses get_buffer, set CODEC_CAP_DR1
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

11 years agopng decoder use get_buffer, set CODEC_CAP_DR1
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

11 years agopcx decoder use get_buffer, set CODEC_CAP_DR1
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

11 years agopgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1
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

11 years agodxa decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agobfi decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agobmp decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agoamv decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agobethesda vid decoder uses reget_buffer, set CODEC_CAP_DR1
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

11 years ago4xm decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agoindeo3 decoder uses get_buffer, set CODEC_CAP_DR1
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

11 years agoReplace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
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

11 years agoUse DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
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

11 years agoReplace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
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

11 years agoUse DECLARE_ALIGNED macro instead of gcc __attribute__.
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

11 years agocosmetics: K&R style reformatting
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

11 years agoMove function for reading whole specified amount of data from RTSP
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

11 years agoUse fewer macros in x86-optimized mlpdsp.
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

11 years agoAdd the .adts file extension to the ADTS muxer.
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

11 years agobroken stsd length might be < 16, fix elst-assert.mp4
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

11 years agoChange find_tag return type to int64_t, fix a bug
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

11 years agoFix sei_ct_type check so it does not mistreat ct_type= unknown.
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

11 years agoPrint ct_type and pic_struct.
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

11 years agoAAC ADTS to AudioSpecificConfig bitstream filter
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

11 years agoSet AV_PKT_FLAG_KEY in avcodec_decode_video.
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

11 years agoAdd AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
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

11 years agoClarify the input AVPacket for avcodec_decode*()
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

11 years agoTesting RGB48 variants requires bigger stride in swscale-example.c
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

11 years agoCheck combined depth and number of components in TIFF decoder, thus eliminating
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

11 years agoYUV into RGB48 BE/LE conversion support
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

11 years agoPartial (low bits ignored, no direct transcoding into other RGB formats) support
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

11 years agodo not parse full header for private streams
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

11 years agocorrectly handle maximum streams limit
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

11 years agoexport data from private streams
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

11 years agoRemove the const qualifier for the name field of AVFilterInOut, since
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

11 years agoindent
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

11 years agoRemove useless if(), leftover from the vhook removal.
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

11 years agoadd #if CONFIG_ZLIB_DECODER around zlib_decomp function.
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

11 years agomszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressed
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

11 years agolcldec: ensure that the offset for av_memcpy_backptr is valid.
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

11 years agoImplement avfilter_graph_config_links().
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

11 years agoI will take care of the lcl de-/encoder while Roberto is unavailable.
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

11 years agoFix memleak due to c->decomp_buf never being freed.
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

11 years agoOnly call inflateEnd when we were actually using the zlib code.
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