platform/upstream/libav.git
15 years agoRecord MPEG-4 sprite trajectory points [up to num_sprite_warping_points][isY].
Gwenole Beauchesne [Mon, 30 Mar 2009 20:39:08 +0000 (20:39 +0000)]
Record MPEG-4 sprite trajectory points [up to num_sprite_warping_points][isY].

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

15 years agoAdd required va/va.h header, should fix 'make checkheaders'.
Diego Biurrun [Mon, 30 Mar 2009 15:36:59 +0000 (15:36 +0000)]
Add required va/va.h header, should fix 'make checkheaders'.

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

15 years agoSkip creation of tests/data directory in individual regression test scripts.
Diego Biurrun [Mon, 30 Mar 2009 13:29:10 +0000 (13:29 +0000)]
Skip creation of tests/data directory in individual regression test scripts.
It is already being taken care of by the Makefile.

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

15 years agoFix timefilter test program build without previously building libavformat.
Diego Biurrun [Mon, 30 Mar 2009 13:09:44 +0000 (13:09 +0000)]
Fix timefilter test program build without previously building libavformat.
The test program depends on symbols from this library.

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

15 years agoMove generated file aynth1.sw to the data subdirectory. Thus it does not have
Diego Biurrun [Mon, 30 Mar 2009 12:27:03 +0000 (12:27 +0000)]
Move generated file aynth1.sw to the data subdirectory.  Thus it does not have
to be removed separately and there is less clutter in the tests directory.

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

15 years agoUse correct PRId64 instead of "lld" in printf string, fixes compiler warnings.
Reimar Döffinger [Mon, 30 Mar 2009 12:23:28 +0000 (12:23 +0000)]
Use correct PRId64 instead of "lld" in printf string, fixes compiler warnings.

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

15 years agoRename regression.sh --> codec-regression.sh. Now all regression test scripts
Diego Biurrun [Mon, 30 Mar 2009 12:00:16 +0000 (12:00 +0000)]
Rename regression.sh --> codec-regression.sh. Now all regression test scripts
carry the regression test they run as prefix in their name.

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

15 years agoThe definition of rate and distortion is not conditional of lambda being
Michael Niedermayer [Mon, 30 Mar 2009 10:39:20 +0000 (10:39 +0000)]
The definition of rate and distortion is not conditional of lambda being
fixed (at least the current text sounded odd to me).

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

15 years agoRename server-regression.sh --> ffserver-regression.sh for consistency.
Diego Biurrun [Mon, 30 Mar 2009 10:05:00 +0000 (10:05 +0000)]
Rename server-regression.sh --> ffserver-regression.sh for consistency.

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

15 years agoRename servertest target to ffservertest.
Diego Biurrun [Mon, 30 Mar 2009 05:24:10 +0000 (05:24 +0000)]
Rename servertest target to ffservertest.

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

15 years agocosmetics: Rename 'do_libav' function to 'do_lavf'.
Diego Biurrun [Mon, 30 Mar 2009 05:22:22 +0000 (05:22 +0000)]
cosmetics: Rename 'do_libav' function to 'do_lavf'.

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

15 years agomlpdec: Simplify check for substream_parity_present.
Ramiro Polla [Mon, 30 Mar 2009 03:46:52 +0000 (03:46 +0000)]
mlpdec: Simplify check for substream_parity_present.

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

15 years agomlpdec: Simplify no restart header seen error.
Ramiro Polla [Mon, 30 Mar 2009 03:44:20 +0000 (03:44 +0000)]
mlpdec: Simplify no restart header seen error.

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

15 years agomlpdec: Simplify substream length mismatch error.
Ramiro Polla [Mon, 30 Mar 2009 03:42:40 +0000 (03:42 +0000)]
mlpdec: Simplify substream length mismatch error.

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

15 years agomlpdec: Prettify substream parity check.
Ramiro Polla [Mon, 30 Mar 2009 03:37:19 +0000 (03:37 +0000)]
mlpdec: Prettify substream parity check.

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

15 years agomlpdec: Cleaner and better termination word check.
Ramiro Polla [Mon, 30 Mar 2009 03:34:15 +0000 (03:34 +0000)]
mlpdec: Cleaner and better termination word check.

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

15 years agomlpdec: More validation for read_channel_params()
Ramiro Polla [Mon, 30 Mar 2009 03:20:01 +0000 (03:20 +0000)]
mlpdec: More validation for read_channel_params()

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

15 years agomlpdec: whitespace cosmetics.
Ramiro Polla [Mon, 30 Mar 2009 03:12:39 +0000 (03:12 +0000)]
mlpdec: whitespace cosmetics.

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

15 years agomlpdec: Simplify &foo[0] to foo and use index (which has just been initialized
Ramiro Polla [Mon, 30 Mar 2009 03:08:55 +0000 (03:08 +0000)]
mlpdec: Simplify &foo[0] to foo and use index (which has just been initialized
to MAX_BLOCKSIZE) instead of MAX_BLOCKSIZE, so both copies to/from state data
look alike.

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

15 years agomlpdec: Split filter_state_buffer into [fi]irbuf and fp to [fi]ir.
Ramiro Polla [Mon, 30 Mar 2009 03:05:38 +0000 (03:05 +0000)]
mlpdec: Split filter_state_buffer into [fi]irbuf and fp to [fi]ir.

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

15 years agomlpdec: Unroll copying filter state data and filtering for the two filters.
Ramiro Polla [Mon, 30 Mar 2009 02:59:45 +0000 (02:59 +0000)]
mlpdec: Unroll copying filter state data and filtering for the two filters.

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

15 years agomlpdec: Max filter orders for FIR and IIR are 8 and 4 respectively.
Ramiro Polla [Mon, 30 Mar 2009 02:54:19 +0000 (02:54 +0000)]
mlpdec: Max filter orders for FIR and IIR are 8 and 4 respectively.

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

15 years agoRename libav.regression.ref --> lavf.regression.ref.
Diego Biurrun [Sun, 29 Mar 2009 21:29:46 +0000 (21:29 +0000)]
Rename libav.regression.ref --> lavf.regression.ref.
This matches the new name of the test target.

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

15 years agoRename libav.regression.ref --> lavf.regression.ref.
Diego Biurrun [Sun, 29 Mar 2009 21:27:24 +0000 (21:27 +0000)]
Rename libav.regression.ref --> lavf.regression.ref.
This matches the new name of the test target.

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

15 years agoRename libavtest target to lavftest to better express what it tests.
Diego Biurrun [Sun, 29 Mar 2009 21:24:04 +0000 (21:24 +0000)]
Rename libavtest target to lavftest to better express what it tests.
Also rename related variables to match the new name.

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

15 years agoRename test.conf --> ffserver.conf, the new name is more meaningful.
Diego Biurrun [Sun, 29 Mar 2009 20:17:23 +0000 (20:17 +0000)]
Rename test.conf --> ffserver.conf, the new name is more meaningful.

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

15 years agoMerge the 3 COPY_FROM_* macros with lots of duplicated code into a single
Reimar Döffinger [Sun, 29 Mar 2009 18:15:02 +0000 (18:15 +0000)]
Merge the 3 COPY_FROM_* macros with lots of duplicated code into a single
copy_from function.

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

15 years agoChange CHECK_STREAM_PTR macro to correctly handle the (extremely unlikely)
Reimar Döffinger [Sun, 29 Mar 2009 17:50:46 +0000 (17:50 +0000)]
Change CHECK_STREAM_PTR macro to correctly handle the (extremely unlikely)
overflow case.

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

15 years agoSimplify check for leftover bytes after decoding for interplayvideo.
Reimar Döffinger [Sun, 29 Mar 2009 17:42:03 +0000 (17:42 +0000)]
Simplify check for leftover bytes after decoding for interplayvideo.

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

15 years agoGet rid of pointless "B" array in interplayvideo decoder.
Reimar Döffinger [Sun, 29 Mar 2009 17:35:22 +0000 (17:35 +0000)]
Get rid of pointless "B" array in interplayvideo decoder.

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

15 years agoReplace many tiny loops in the interplayvideo decoder by memset, memcpy
Reimar Döffinger [Sun, 29 Mar 2009 17:23:40 +0000 (17:23 +0000)]
Replace many tiny loops in the interplayvideo decoder by memset, memcpy
or initializers.

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

15 years agoRename seek_test.sh --> seek-regression.sh for greater consistency.
Diego Biurrun [Sun, 29 Mar 2009 17:22:07 +0000 (17:22 +0000)]
Rename seek_test.sh --> seek-regression.sh for greater consistency.

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

15 years agoMake ipvideo_decode_block array constant, compile-time initialized instead
Reimar Döffinger [Sun, 29 Mar 2009 17:15:42 +0000 (17:15 +0000)]
Make ipvideo_decode_block array constant, compile-time initialized instead
of initializing it each time the decoder is initialized.

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

15 years agoGeneralize example target rule in common.mak so that it sets a -example$(EXESUF)
Diego Biurrun [Sun, 29 Mar 2009 14:35:38 +0000 (14:35 +0000)]
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
suffix for all example files instead of doing this in individual Makefiles.

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

15 years agoGeneralize example target rule in common.mak so that it sets a -example$(EXESUF)
Diego Biurrun [Sun, 29 Mar 2009 14:35:20 +0000 (14:35 +0000)]
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
suffix for all example files instead of doing this in individual Makefiles.

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

15 years agoRename apiexample.c --> api-example.c to be consistent with other example files.
Diego Biurrun [Sun, 29 Mar 2009 14:28:56 +0000 (14:28 +0000)]
Rename apiexample.c --> api-example.c to be consistent with other example files.

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

15 years agoMove swscale AltiVec template code to ppc subdirectory.
Diego Biurrun [Sun, 29 Mar 2009 14:18:44 +0000 (14:18 +0000)]
Move swscale AltiVec template code to ppc subdirectory.

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

15 years agoAltiVec optimizations in libswscale are no longer GPL.
Diego Biurrun [Sun, 29 Mar 2009 13:48:43 +0000 (13:48 +0000)]
AltiVec optimizations in libswscale are no longer GPL.

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

15 years agoRelicense file to LGPL with the permission of Romain Dolbeau, the author.
Diego Biurrun [Sun, 29 Mar 2009 13:47:30 +0000 (13:47 +0000)]
Relicense file to LGPL with the permission of Romain Dolbeau, the author.

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

15 years agomingw32: Restore creation of import libraries. They are still not being
Ramiro Polla [Sun, 29 Mar 2009 03:42:32 +0000 (03:42 +0000)]
mingw32: Restore creation of import libraries. They are still not being
installed, but they're good for creating -dev packages.

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

15 years agoDon't strip the first three characters off of any metadata in ASF file.
Ronald S. Bultje [Sat, 28 Mar 2009 03:54:31 +0000 (03:54 +0000)]
Don't strip the first three characters off of any metadata in ASF file.
See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by
David DeHaven <dave sagetv com>.

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

15 years agomlpdec: Remove few random dprintf()s.
Ramiro Polla [Sat, 28 Mar 2009 00:53:52 +0000 (00:53 +0000)]
mlpdec: Remove few random dprintf()s.

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

15 years agomlpdec: Check for blocksize in proper range.
Ramiro Polla [Fri, 27 Mar 2009 23:55:38 +0000 (23:55 +0000)]
mlpdec: Check for blocksize in proper range.

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

15 years agomlpdec: quant_step_size can be any value from 0 to 0xF.
Ramiro Polla [Fri, 27 Mar 2009 23:48:08 +0000 (23:48 +0000)]
mlpdec: quant_step_size can be any value from 0 to 0xF.

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

15 years agomlpdec: output_shift can be any value from -8 to 7.
Ramiro Polla [Fri, 27 Mar 2009 23:47:18 +0000 (23:47 +0000)]
mlpdec: output_shift can be any value from -8 to 7.

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

15 years agomlpdec: output_shift is signed
Ramiro Polla [Fri, 27 Mar 2009 23:45:52 +0000 (23:45 +0000)]
mlpdec: output_shift is signed

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

15 years agomlpdec: Split read_channel_params() into its own function.
Ramiro Polla [Fri, 27 Mar 2009 23:42:22 +0000 (23:42 +0000)]
mlpdec: Split read_channel_params() into its own function.

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

15 years agomlpdec: Split read_matrix_params() into its own function.
Ramiro Polla [Fri, 27 Mar 2009 23:32:32 +0000 (23:32 +0000)]
mlpdec: Split read_matrix_params() into its own function.

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

15 years agoAdd myself as mlp* maintainer.
Ramiro Polla [Fri, 27 Mar 2009 23:27:16 +0000 (23:27 +0000)]
Add myself as mlp* maintainer.

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

15 years agoMove bfin specific code to its subdir.
Ramiro Polla [Fri, 27 Mar 2009 22:56:56 +0000 (22:56 +0000)]
Move bfin specific code to its subdir.

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

15 years agoMake rtp_write_header() fail in case of unsupported payload type
Luca Abeni [Fri, 27 Mar 2009 21:36:44 +0000 (21:36 +0000)]
Make rtp_write_header() fail in case of unsupported payload type

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

15 years agoMove output-example dependency declaration after subdir.mak include so that it is
Diego Biurrun [Fri, 27 Mar 2009 17:06:39 +0000 (17:06 +0000)]
Move output-example dependency declaration after subdir.mak include so that it is
not the first (and thus default) target and output-example is not always built.

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

15 years agoMerge some cases for reading raw data with different bit depths in BMP
Kostya Shishkov [Fri, 27 Mar 2009 16:31:47 +0000 (16:31 +0000)]
Merge some cases for reading raw data with different bit depths in BMP

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

15 years agoFix seek test build, by undefining printf and fprintf.
Benoit Fouet [Fri, 27 Mar 2009 08:24:46 +0000 (08:24 +0000)]
Fix seek test build, by undefining printf and fprintf.

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

15 years agoCheck for INIT_VLC_USE_STATIC
Michael Niedermayer [Fri, 27 Mar 2009 03:03:50 +0000 (03:03 +0000)]
Check for INIT_VLC_USE_STATIC

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

15 years agoMove output_example.c --> libavformat/output-example.c.
Diego Biurrun [Fri, 27 Mar 2009 00:01:06 +0000 (00:01 +0000)]
Move output_example.c --> libavformat/output-example.c.
The libavformat directory is a better place for a libavformat API example.

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

15 years agoMake static the list of registered filters.
Víctor Paesa [Thu, 26 Mar 2009 21:46:45 +0000 (21:46 +0000)]
Make static the list of registered filters.

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

15 years agoRemove unnecessary CFLAGS variable from output_example link command.
Diego Biurrun [Thu, 26 Mar 2009 17:16:11 +0000 (17:16 +0000)]
Remove unnecessary CFLAGS variable from output_example link command.

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

15 years agoRemoving example programs is already handled by the generic clean commands,
Diego Biurrun [Thu, 26 Mar 2009 14:37:14 +0000 (14:37 +0000)]
Removing example programs is already handled by the generic clean commands,
so there is no need to remove output_example individually.

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

15 years agoRename cs_test.c --> colorspace-test.c. This is more consistent with the names
Diego Biurrun [Thu, 26 Mar 2009 14:20:15 +0000 (14:20 +0000)]
Rename cs_test.c --> colorspace-test.c.  This is more consistent with the names
of other test programs and more descriptive of what the program does.

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

15 years agoFix a warning on an uninitialized variable.
Benoit Fouet [Thu, 26 Mar 2009 14:15:42 +0000 (14:15 +0000)]
Fix a warning on an uninitialized variable.

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

15 years agoUse a wildcard match instead of a list to remove test programs.
Diego Biurrun [Thu, 26 Mar 2009 10:12:21 +0000 (10:12 +0000)]
Use a wildcard match instead of a list to remove test programs.
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.

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

15 years agoUse intptr_t when casting pointers to int.
Ramiro Polla [Thu, 26 Mar 2009 01:34:02 +0000 (01:34 +0000)]
Use intptr_t when casting pointers to int.

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

15 years agoMove yuv2rgb code to subdirs.
Ramiro Polla [Thu, 26 Mar 2009 01:30:10 +0000 (01:30 +0000)]
Move yuv2rgb code to subdirs.

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

15 years agoCreate swscale subdirs for out-of-tree builds.
Ramiro Polla [Thu, 26 Mar 2009 01:29:20 +0000 (01:29 +0000)]
Create swscale subdirs for out-of-tree builds.

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

15 years agofft-test does not depend on fdctref.o.
Diego Biurrun [Wed, 25 Mar 2009 19:00:15 +0000 (19:00 +0000)]
fft-test does not depend on fdctref.o.

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

15 years agoMove adding the '-test$(EXESUF)' suffix to test programs into common.mak.
Diego Biurrun [Wed, 25 Mar 2009 18:19:20 +0000 (18:19 +0000)]
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.

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

15 years agoprettyprinting cosmetics
Diego Biurrun [Wed, 25 Mar 2009 18:14:28 +0000 (18:14 +0000)]
prettyprinting cosmetics

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

15 years agoswscale-example is an API example, not a test program.
Diego Biurrun [Wed, 25 Mar 2009 18:08:52 +0000 (18:08 +0000)]
swscale-example is an API example, not a test program.

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

15 years agocosmetics: Group all path variables together in config.mak.
Diego Biurrun [Wed, 25 Mar 2009 17:46:25 +0000 (17:46 +0000)]
cosmetics: Group all path variables together in config.mak.

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

15 years agotypo: beomes --> becomes
Diego Biurrun [Wed, 25 Mar 2009 14:19:22 +0000 (14:19 +0000)]
typo: beomes --> becomes

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

15 years agoMove licensing information into a separate file called LICENSE and
Diego Biurrun [Wed, 25 Mar 2009 14:05:20 +0000 (14:05 +0000)]
Move licensing information into a separate file called LICENSE and
rewrite it for greater clarity in the process.

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

15 years agoClarify that our LGPL/GPL licenses come with an explicit "or later" clause.
Diego Biurrun [Wed, 25 Mar 2009 10:28:01 +0000 (10:28 +0000)]
Clarify that our LGPL/GPL licenses come with an explicit "or later" clause.

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

15 years agoThe Mersenne Twister PRNG was removed, mention replacement.
Diego Biurrun [Wed, 25 Mar 2009 10:18:47 +0000 (10:18 +0000)]
The Mersenne Twister PRNG was removed, mention replacement.

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

15 years agocosmetics: Reformat paragraphs and other cosmetic changes.
Diego Biurrun [Wed, 25 Mar 2009 10:12:31 +0000 (10:12 +0000)]
cosmetics: Reformat paragraphs and other cosmetic changes.

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

15 years agoset wrong_dts for iMovie created files which has huge ctts delay, fix ffmpeg_sample.m4v
Baptiste Coudurier [Wed, 25 Mar 2009 06:07:13 +0000 (06:07 +0000)]
set wrong_dts for iMovie created files which has huge ctts delay, fix ffmpeg_sample.m4v

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

15 years agoClear some more variables that are used on subdir Makefiles.
Ramiro Polla [Wed, 25 Mar 2009 00:50:56 +0000 (00:50 +0000)]
Clear some more variables that are used on subdir Makefiles.

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

15 years agocosmetics: add an @return to documentation for decode_frame_header()
Justin Ruggles [Tue, 24 Mar 2009 22:44:12 +0000 (22:44 +0000)]
cosmetics: add an @return to documentation for decode_frame_header()

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

15 years agoAdd _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI
Diego Biurrun [Tue, 24 Mar 2009 16:28:48 +0000 (16:28 +0000)]
Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI
extensions of POSIX. Avoids implicit declaration warnings on some systems.

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

15 years agoAdds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertion
Cédric Schieli [Tue, 24 Mar 2009 07:11:35 +0000 (07:11 +0000)]
Adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertion

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

15 years agoFix some places where "non-alpha to YUVA420P" do not fill the alpha plane
Cédric Schieli [Tue, 24 Mar 2009 07:10:19 +0000 (07:10 +0000)]
Fix some places where "non-alpha to YUVA420P" do not fill the alpha plane

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

15 years agoSimpler and more elegant fix to the x86_32/OSX+PIC build failure
Cédric Schieli [Tue, 24 Mar 2009 07:09:19 +0000 (07:09 +0000)]
Simpler and more elegant fix to the x86_32/OSX+PIC build failure

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

15 years agostrchr(string, '\0') returns non-NULL, and is thus not suited for use in
Ronald S. Bultje [Tue, 24 Mar 2009 03:24:59 +0000 (03:24 +0000)]
strchr(string, '\0') returns non-NULL, and is thus not suited for use in
redir_isspace(char) to check if '\0' is a space or not. Therefore, we now
use memchr(), since then we can give the length of the string (i.e. the
length excluding the terminating '\0'). Fixes issue 919, see also the
follow-ups in the "[PATCH] rtsp.c small cleanups" mailinglist thread.

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

15 years agoUpdate apiexample.c to use the newer avcodec_decode_audio2() API. This also
Robert Swain [Tue, 24 Mar 2009 02:26:10 +0000 (02:26 +0000)]
Update apiexample.c to use the newer avcodec_decode_audio2() API. This also
fixes compilation.

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

15 years agoflacdec: split frame header decoding and validation into a separate
Justin Ruggles [Tue, 24 Mar 2009 01:17:55 +0000 (01:17 +0000)]
flacdec: split frame header decoding and validation into a separate
function

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

15 years agoUse PIX_FMT_NE() for defining the PIX_FMT_RGB32 variants macros.
Stefano Sabatini [Mon, 23 Mar 2009 23:01:11 +0000 (23:01 +0000)]
Use PIX_FMT_NE() for defining the PIX_FMT_RGB32 variants macros.

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

15 years agoMake the PIX_FMT_NE() macro more generic.
Stefano Sabatini [Mon, 23 Mar 2009 22:57:55 +0000 (22:57 +0000)]
Make the PIX_FMT_NE() macro more generic.

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

15 years agoAdd MPEG-2 bitstream decoding through VA API.
Gwenole Beauchesne [Mon, 23 Mar 2009 22:09:13 +0000 (22:09 +0000)]
Add MPEG-2 bitstream decoding through VA API.

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

15 years agoMove declaration of 'pict' closer to where it is used and initialize it.
avcoder [Mon, 23 Mar 2009 16:43:06 +0000 (16:43 +0000)]
Move declaration of 'pict' closer to where it is used and initialize it.
Patch by avcoder: gmail(ffmpeg)

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

15 years agoMove av_class to AVResampleContext instead of ReSampleContext.
Benoit Fouet [Mon, 23 Mar 2009 10:58:05 +0000 (10:58 +0000)]
Move av_class to AVResampleContext instead of ReSampleContext.
Fixes issue 852.

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

15 years agoAAC: Ignore cc_domain for independent (time domain) coupling.
Alex Converse [Mon, 23 Mar 2009 05:13:26 +0000 (05:13 +0000)]
AAC: Ignore cc_domain for independent (time domain) coupling.

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

15 years agoAdd pcxenc.o to the $OBJS list, it was erroneously removed from it in
Stefano Sabatini [Sun, 22 Mar 2009 23:42:06 +0000 (23:42 +0000)]
Add pcxenc.o to the $OBJS list, it was erroneously removed from it in
r18164.
Fix compilation.

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

15 years agoflacdec: cosmetics: white space
Justin Ruggles [Sun, 22 Mar 2009 23:22:44 +0000 (23:22 +0000)]
flacdec: cosmetics: white space

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

15 years agoflacdec: cosmetics: separate the pure frame header parsing code from
Justin Ruggles [Sun, 22 Mar 2009 23:19:49 +0000 (23:19 +0000)]
flacdec: cosmetics: separate the pure frame header parsing code from
other frame header decoding code

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

15 years agoRename 'tests' target to 'testprogs'. It is too easily confused with the
Diego Biurrun [Sun, 22 Mar 2009 23:15:54 +0000 (23:15 +0000)]
Rename 'tests' target to 'testprogs'. It is too easily confused with the
'test' target and a directory named tests exists.

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

15 years agoRename 'tests' target to 'testprogs'. It is too easily confused with the
Diego Biurrun [Sun, 22 Mar 2009 23:13:21 +0000 (23:13 +0000)]
Rename 'tests' target to 'testprogs'. It is too easily confused with the
'test' target and a directory named tests exists.

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

15 years agoRemove unnecessary CLEANFILES declaration. Test programs do not require it.
Diego Biurrun [Sun, 22 Mar 2009 23:09:20 +0000 (23:09 +0000)]
Remove unnecessary CLEANFILES declaration. Test programs do not require it.

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

15 years agoSplit AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
Diego Biurrun [Sun, 22 Mar 2009 22:50:22 +0000 (22:50 +0000)]
Split AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
so that they can be enabled and disabled individually.

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

15 years agoMake the pixel formats which were defined as macros:
Stefano Sabatini [Sun, 22 Mar 2009 22:50:19 +0000 (22:50 +0000)]
Make the pixel formats which were defined as macros:
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA

defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1

defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.

This change breaks ABI backward compatibility.

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

15 years agoflacdec: allow sample rate to change mid-stream, but log a warning
Justin Ruggles [Sun, 22 Mar 2009 22:38:06 +0000 (22:38 +0000)]
flacdec: allow sample rate to change mid-stream, but log a warning
message when it does

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