]> git.sesse.net Git - ffmpeg/log
ffmpeg
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoavctx->priv_data is initialized to 0, get rid of useless extra initialization.
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

15 years agoMerge variable declaration and initialization.
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

15 years agoUse int-size types instead of char where it makes no difference.
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

15 years agoTake advantage of available input padding to optimize mszh_decomp
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

15 years agoChange maskbit variable to contain (1 << maskbit)
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

15 years agoRemove check that thanks to padding is no longer necessary.
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

15 years ago100l, the compression field in lcl extradata must be interpreted as
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

15 years agoOne more use for FFMIN.
Reimar Döffinger [Sun, 31 May 2009 10:44:42 +0000 (10:44 +0000)]
One more use for FFMIN.

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

15 years agoPad the decompression buffer and use av_memcpy_backptr for the mszh decompression.
Reimar Döffinger [Sun, 31 May 2009 10:42:26 +0000 (10:42 +0000)]
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

15 years agoMark srcptr as const in mszh_decomp
Reimar Döffinger [Sun, 31 May 2009 10:38:17 +0000 (10:38 +0000)]
Mark srcptr as const in mszh_decomp

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

15 years agoRemove unnecessary put_bits/get_bits includes.
Reimar Döffinger [Sun, 31 May 2009 10:37:05 +0000 (10:37 +0000)]
Remove unnecessary put_bits/get_bits includes.

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

15 years agoUse bytestream_get_le16 to simplify offset/count calculation for mszh decompression.
Reimar Döffinger [Sun, 31 May 2009 10:35:39 +0000 (10:35 +0000)]
Use bytestream_get_le16 to simplify offset/count calculation for mszh decompression.

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

15 years agoRemove useless & 0x1f
Reimar Döffinger [Sun, 31 May 2009 10:31:37 +0000 (10:31 +0000)]
Remove useless & 0x1f

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

15 years agoDocument padding requirements of mszh_decomp srcptr buffer
Reimar Döffinger [Sun, 31 May 2009 10:28:40 +0000 (10:28 +0000)]
Document padding requirements of mszh_decomp srcptr buffer

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

15 years agoUse srcptr_end variable to avoid having to update both srcptr and srclen.
Reimar Döffinger [Sun, 31 May 2009 10:26:58 +0000 (10:26 +0000)]
Use srcptr_end variable to avoid having to update both srcptr and srclen.

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

15 years agoChange buffer size checks to avoid the undefined overflow case.
Reimar Döffinger [Sun, 31 May 2009 10:23:38 +0000 (10:23 +0000)]
Change buffer size checks to avoid the undefined overflow case.

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