]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoRename regression test result files from b-libav* to b-lavf* for consistency.
diego [Mon, 30 Mar 2009 21:32:52 +0000 (21:32 +0000)]
Rename regression test result files from b-libav* to b-lavf* for consistency.
This requires updating the gxf regression checksum since the gxf muxer puts
the filename in files it creates.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18253 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoQuote stored configure arguments containing spaces
mru [Mon, 30 Mar 2009 21:12:44 +0000 (21:12 +0000)]
Quote stored configure arguments containing spaces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix running regression tests on remote targets
mru [Mon, 30 Mar 2009 20:57:01 +0000 (20:57 +0000)]
Fix running regression tests on remote targets

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18251 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRecord MPEG-4 sprite trajectory points [up to num_sprite_warping_points][isY].
gb [Mon, 30 Mar 2009 20:39:08 +0000 (20:39 +0000)]
Record MPEG-4 sprite trajectory points [up to num_sprite_warping_points][isY].

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSkip creation of tests/data directory in individual regression test scripts.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18248 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix timefilter test program build without previously building libavformat.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove generated file aynth1.sw to the data subdirectory. Thus it does not have
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18246 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename regression.sh --> codec-regression.sh. Now all regression test scripts
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18245 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThe definition of rate and distortion is not conditional of lambda being
michael [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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18244 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18243 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18242 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18240 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18238 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18237 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18236 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18235 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18234 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: Simplify &foo[0] to foo and use index (which has just been initialized
ramiro [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18233 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18232 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18231 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18230 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename libav.regression.ref --> lavf.regression.ref.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18229 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename libav.regression.ref --> lavf.regression.ref.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18228 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename libavtest target to lavftest to better express what it tests.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18227 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18226 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMerge the 3 COPY_FROM_* macros with lots of duplicated code into a single
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18225 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18223 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18222 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18221 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18220 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake ipvideo_decode_block array constant, compile-time initialized instead
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18219 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGlobally ignore all example binaries.
diego [Sun, 29 Mar 2009 14:42:52 +0000 (14:42 +0000)]
Globally ignore all example binaries.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGeneralize example target rule in common.mak so that it sets a -example$(EXESUF)
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18217 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18216 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomingw32: Restore creation of import libraries. They are still not being
ramiro [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDon't strip the first three characters off of any metadata in ASF file.
rbultje [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>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18213 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18212 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18211 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18210 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agooutput_shift is signed
ramiro [Fri, 27 Mar 2009 23:45:52 +0000 (23:45 +0000)]
output_shift is signed

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18208 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18207 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSplit read_matrix_params() into its own function.
ramiro [Fri, 27 Mar 2009 23:32:32 +0000 (23:32 +0000)]
Split read_matrix_params() into its own function.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18204 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove output-example dependency declaration after subdir.mak include so that it is
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18203 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18202 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18200 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove output_example.c --> libavformat/output-example.c.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18199 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18197 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemoving example programs is already handled by the generic clean commands,
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18196 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18195 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake svn:ignore properties globally consistent. Ignore all .d, .ho, .exe, -test
diego [Thu, 26 Mar 2009 12:41:11 +0000 (12:41 +0000)]
Make svn:ignore properties globally consistent. Ignore all .d, .ho, .exe, -test
files, all generated libraries and headers and example programs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse a wildcard match instead of a list to remove test programs.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18192 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18191 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18190 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18189 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18188 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18187 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18186 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove licensing information into a separate file called LICENSE and
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18185 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18184 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18183 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18182 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoset wrong dts for iMovie created files which has huge ctts delay, fix ffmpeg_sample.m4v
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18181 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18180 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18179 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18178 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agostrchr(string, '\0') returns non-NULL, and is thus not suited for use in
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate apiexample.c to use the newer avcodec_decode_audio2() API. This also
superdump [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18176 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18175 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18174 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18173 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18172 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove declaration of 'pict' closer to where it is used and initialize it.
benoit [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)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18171 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18170 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18169 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd pcxenc.o to the $OBJS list, it was erroneously removed from it in
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18168 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18167 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: cosmetics: separate the pure frame header parsing code from
jbr [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18166 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename 'tests' target to 'testprogs'. It is too easily confused with the
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18165 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSplit AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18164 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake the pixel formats which were defined as macros:
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18163 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: allow sample rate to change mid-stream, but log a warning
jbr [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18162 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd rule for building API example programs.
diego [Sun, 22 Mar 2009 22:33:41 +0000 (22:33 +0000)]
Add rule for building API example programs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18161 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFactorize: use the X_NE() macro in avcodec_get_pix_fmt().
stefano [Sun, 22 Mar 2009 22:13:10 +0000 (22:13 +0000)]
Factorize: use the X_NE() macro in avcodec_get_pix_fmt().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18160 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: cosmetics: indentation
jbr [Sun, 22 Mar 2009 22:12:03 +0000 (22:12 +0000)]
flacdec: cosmetics: indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18159 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement X_NE() macro.
stefano [Sun, 22 Mar 2009 22:10:36 +0000 (22:10 +0000)]
Implement X_NE() macro.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18158 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: change frame bps validation to return an error value if bps
jbr [Sun, 22 Mar 2009 22:10:33 +0000 (22:10 +0000)]
flacdec: change frame bps validation to return an error value if bps
changes since this is not currently supported by the decoder.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18157 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: cosmetics: add some braces to if/else statements
jbr [Sun, 22 Mar 2009 21:53:28 +0000 (21:53 +0000)]
flacdec: cosmetics: add some braces to if/else statements

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18156 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoflacdec: skip frame when allocated data size is too large
jbr [Sun, 22 Mar 2009 21:31:23 +0000 (21:31 +0000)]
flacdec: skip frame when allocated data size is too large

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18155 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l: don't check against current layout until after validating ch_mode.
jbr [Sun, 22 Mar 2009 21:13:10 +0000 (21:13 +0000)]
10l: don't check against current layout until after validating ch_mode.
should have been in last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18154 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b