ffmpeg.git
13 years agoDisentangle nested preprocessor directives.
Diego Biurrun [Wed, 13 Feb 2008 08:08:03 +0000 (08:08 +0000)]
Disentangle nested preprocessor directives.

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

13 years agoPrint Theora bitstream version at DEBUG, not at VERBOSE level.
Diego Biurrun [Wed, 13 Feb 2008 08:05:51 +0000 (08:05 +0000)]
Print Theora bitstream version at DEBUG, not at VERBOSE level.

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

13 years agocosmetics: Replace // by /* */ comments.
Diego Biurrun [Wed, 13 Feb 2008 01:18:12 +0000 (01:18 +0000)]
cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

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

13 years agoDo not use ranges with tr, the results are locale-dependent.
Diego Biurrun [Mon, 11 Feb 2008 23:17:06 +0000 (23:17 +0000)]
Do not use ranges with tr, the results are locale-dependent.
Suggested by Rich Felker.

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

13 years agoreturn error when dv audio extraction fails
Baptiste Coudurier [Mon, 11 Feb 2008 22:37:44 +0000 (22:37 +0000)]
return error when dv audio extraction fails

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

13 years agoremove obsolete comments
Baptiste Coudurier [Mon, 11 Feb 2008 22:34:43 +0000 (22:34 +0000)]
remove obsolete comments

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

13 years agoremove useless braces
Baptiste Coudurier [Mon, 11 Feb 2008 22:34:03 +0000 (22:34 +0000)]
remove useless braces

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

13 years agocosmetics, indentation, braces
Baptiste Coudurier [Mon, 11 Feb 2008 22:33:35 +0000 (22:33 +0000)]
cosmetics, indentation, braces

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

13 years agosplit chunks in the case of big compressed audio frames,
Baptiste Coudurier [Mon, 11 Feb 2008 22:32:35 +0000 (22:32 +0000)]
split chunks in the case of big compressed audio frames,
might be tweaked, fix qt_dv_pal_test.mov.

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

13 years agouse correct demux mechanism when audio compression id is -2, dv audio does not matter...
Baptiste Coudurier [Mon, 11 Feb 2008 22:23:05 +0000 (22:23 +0000)]
use correct demux mechanism when audio compression id is -2, dv audio does not matter, demux partially qt_dv_pal_test.mov which does NOT use cid -2

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

13 years agoFactor bytewidth determination in its own function
Vitor Sessak [Mon, 11 Feb 2008 21:49:24 +0000 (21:49 +0000)]
Factor bytewidth determination in its own function

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

13 years agofcp imx 40 fourccs
Baptiste Coudurier [Mon, 11 Feb 2008 15:20:35 +0000 (15:20 +0000)]
fcp imx 40 fourccs

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

13 years agoindentation
Baptiste Coudurier [Mon, 11 Feb 2008 14:10:52 +0000 (14:10 +0000)]
indentation

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

13 years agomore correct and simpler
Baptiste Coudurier [Mon, 11 Feb 2008 14:10:29 +0000 (14:10 +0000)]
more correct and simpler

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

13 years agoAdd 'reservoir' flag to lavc's flags2 controlling whether or not codes may
Paul Kelly [Mon, 11 Feb 2008 08:01:07 +0000 (08:01 +0000)]
Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

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

13 years agoDo not use GNU-specific (or BSD-specific or whatever they may be)
D Richard Felker III [Mon, 11 Feb 2008 03:30:42 +0000 (03:30 +0000)]
Do not use GNU-specific (or BSD-specific or whatever they may be)
constants which are completely unneeded anyway. Note that 3 is a cheap
integer bound for log10(1<<CHAR_BIT).

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

13 years agoCoding style changes
Vitor Sessak [Sun, 10 Feb 2008 18:05:02 +0000 (18:05 +0000)]
Coding style changes

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

13 years agoMore code factorization
Vitor Sessak [Sun, 10 Feb 2008 18:04:55 +0000 (18:04 +0000)]
More code factorization

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

13 years agoFactor duplicated loop
Vitor Sessak [Sun, 10 Feb 2008 18:04:52 +0000 (18:04 +0000)]
Factor duplicated loop

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

13 years agoDo not hardcode the list of pixel formats and use PIX_FMT_NB instead.
Vitor Sessak [Sun, 10 Feb 2008 18:04:49 +0000 (18:04 +0000)]
Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.

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

13 years agoDo not hardcode the type of AVFilterFormats.formats in allocation
Vitor Sessak [Sun, 10 Feb 2008 18:04:43 +0000 (18:04 +0000)]
Do not hardcode the type of AVFilterFormats.formats in allocation

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

13 years agoOops, my last commit broke compilation...
Vitor Sessak [Sun, 10 Feb 2008 18:04:38 +0000 (18:04 +0000)]
Oops, my last commit broke compilation...

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

13 years agoMake regression tests to pass with libavfilter.
Vitor Sessak [Sun, 10 Feb 2008 18:04:36 +0000 (18:04 +0000)]
Make regression tests to pass with libavfilter.

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

13 years agoNeed to be careful when dealing with references.
Vitor Sessak [Sun, 10 Feb 2008 18:04:32 +0000 (18:04 +0000)]
Need to be careful when dealing with references.

Commited in SoC by Bobby Bingham

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

13 years ago10l. parameter was unused and redundant.
Vitor Sessak [Sun, 10 Feb 2008 18:04:27 +0000 (18:04 +0000)]
10l. parameter was unused and redundant.

Commited in SoC by Bobby Bingham

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

13 years agoavfilter_formats_unref() should remove the given reference, not the last
Vitor Sessak [Sun, 10 Feb 2008 18:03:18 +0000 (18:03 +0000)]
avfilter_formats_unref() should remove the given reference, not the last
reference.

Commited in SoC by Bobby Bingham

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

13 years agoFirst libavfilter commit.
Vitor Sessak [Sun, 10 Feb 2008 18:02:11 +0000 (18:02 +0000)]
First libavfilter commit.

Original log message:
Forgot to add in the big colorspace commit

Commited in SoC by Bobby Bingham

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

13 years agoasm argument that might be in memory needs a size
Loren Merritt [Sun, 10 Feb 2008 01:45:42 +0000 (01:45 +0000)]
asm argument that might be in memory needs a size

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

13 years agoMake dither4 & dither8 const.
Carl Eugen Hoyos [Sat, 9 Feb 2008 22:57:37 +0000 (22:57 +0000)]
Make dither4 & dither8 const.

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

13 years agoAllow compilation with icc 10.1.
Carl Eugen Hoyos [Sat, 9 Feb 2008 20:47:11 +0000 (20:47 +0000)]
Allow compilation with icc 10.1.

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

13 years agoRemove pointless #if.
Diego Biurrun [Sat, 9 Feb 2008 18:07:20 +0000 (18:07 +0000)]
Remove pointless #if.

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

13 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 18:02:28 +0000 (18:02 +0000)]
Remove pointless code.

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

13 years agoUse HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Diego Biurrun [Sat, 9 Feb 2008 17:55:07 +0000 (17:55 +0000)]
Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.

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

13 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 17:26:40 +0000 (17:26 +0000)]
Remove pointless code.

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

13 years agoassert() and note about odd len.
Michael Niedermayer [Sat, 9 Feb 2008 14:45:36 +0000 (14:45 +0000)]
assert() and note about odd len.

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

13 years ago30% faster ff_vorbis_floor1_render_list, 3% faster overall
Loren Merritt [Sat, 9 Feb 2008 13:53:15 +0000 (13:53 +0000)]
30% faster ff_vorbis_floor1_render_list, 3% faster overall

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

13 years agouse fewer registers in apply_welch_window_sse2
Loren Merritt [Sat, 9 Feb 2008 05:29:47 +0000 (05:29 +0000)]
use fewer registers in apply_welch_window_sse2

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

13 years agooptimize apply_welch_window()
Michael Niedermayer [Sat, 9 Feb 2008 03:42:48 +0000 (03:42 +0000)]
optimize apply_welch_window()

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

13 years agoUse a consistent capitalization for 'Snow' as discussed on the list
Mike Melanson [Fri, 8 Feb 2008 19:17:46 +0000 (19:17 +0000)]
Use a consistent capitalization for 'Snow' as discussed on the list

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

13 years agocosmetics, remove whitespaces before and after parenthesis
Baptiste Coudurier [Wed, 6 Feb 2008 18:57:00 +0000 (18:57 +0000)]
cosmetics, remove whitespaces before and after parenthesis

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

13 years agoAdd support for speex in ogg
Reimar Döffinger [Wed, 6 Feb 2008 12:37:37 +0000 (12:37 +0000)]
Add support for speex in ogg

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

13 years agosse2 h264 motion compensation. not new code, just separate out the cases that didn...
Loren Merritt [Wed, 6 Feb 2008 12:32:31 +0000 (12:32 +0000)]
sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.

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

13 years agoput loop counter in a register if possible. makes some of the qpel functions 3% faster.
Loren Merritt [Wed, 6 Feb 2008 04:44:21 +0000 (04:44 +0000)]
put loop counter in a register if possible. makes some of the qpel functions 3% faster.

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

13 years agofix aliasing warnings. simpler too.
Loren Merritt [Wed, 6 Feb 2008 04:14:07 +0000 (04:14 +0000)]
fix aliasing warnings. simpler too.

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

13 years agoconstant was excessively aligned
Loren Merritt [Wed, 6 Feb 2008 03:51:53 +0000 (03:51 +0000)]
constant was excessively aligned

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

13 years agoAllow the user to select which codec out of several in stsd he wants.
Michael Niedermayer [Wed, 6 Feb 2008 01:51:32 +0000 (01:51 +0000)]
Allow the user to select which codec out of several in stsd he wants.

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

13 years agoCheck that we have enough input data in IMC decoder.
Reimar Döffinger [Tue, 5 Feb 2008 18:39:55 +0000 (18:39 +0000)]
Check that we have enough input data in IMC decoder.

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

13 years agossse3 h264 motion compensation.
Loren Merritt [Tue, 5 Feb 2008 11:22:55 +0000 (11:22 +0000)]
ssse3 h264 motion compensation.
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.

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

13 years agoadd qpel rounder once during hv rather than twice during hv and whatever it's average...
Loren Merritt [Tue, 5 Feb 2008 03:58:13 +0000 (03:58 +0000)]
add qpel rounder once during hv rather than twice during hv and whatever it's averaged with

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

13 years agoseek regression ref update for ogg
Baptiste Coudurier [Tue, 5 Feb 2008 01:35:34 +0000 (01:35 +0000)]
seek regression ref update for ogg

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

13 years agoclean up an ugliness introduced in r11826. this syntax will require fewer changes...
Loren Merritt [Tue, 5 Feb 2008 01:16:48 +0000 (01:16 +0000)]
clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.

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

13 years agoFix issue 338:
Baptiste Coudurier [Tue, 5 Feb 2008 01:16:47 +0000 (01:16 +0000)]
Fix issue 338:
Correctly interleave ogg packets per granule
and set eos correctly, 2 packets buffering is needed.
It duplicates interleave_per_dts a bit,
if someone has a good solution, I'll implement it.

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

13 years agoit seems ogg requires granule to be -1 on unfinished packets
Baptiste Coudurier [Tue, 5 Feb 2008 01:01:56 +0000 (01:01 +0000)]
it seems ogg requires granule to be -1 on unfinished packets

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

13 years agoDeprecate old and inefficient per instruction asm().
Michael Niedermayer [Mon, 4 Feb 2008 20:03:08 +0000 (20:03 +0000)]
Deprecate old and inefficient per instruction asm().

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

13 years agoUpdate seektest regression as well to previous lavf/nut commits
Oded Shimon [Mon, 4 Feb 2008 19:03:50 +0000 (19:03 +0000)]
Update seektest regression as well to previous lavf/nut commits

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

13 years agoreduce code duplication
Loren Merritt [Mon, 4 Feb 2008 16:20:46 +0000 (16:20 +0000)]
reduce code duplication

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

13 years agoCorrect fatal ambiguity.
Michael Niedermayer [Mon, 4 Feb 2008 13:12:15 +0000 (13:12 +0000)]
Correct fatal ambiguity.

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

13 years agoCorrect incorrect statement about warnings.
Michael Niedermayer [Mon, 4 Feb 2008 13:10:14 +0000 (13:10 +0000)]
Correct incorrect statement about warnings.

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

13 years agoString pointers of ogg_codec_t should have const attribute.
Reimar Döffinger [Mon, 4 Feb 2008 12:32:25 +0000 (12:32 +0000)]
String pointers of ogg_codec_t should have const attribute.

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

13 years agoAdd dv50 tag to support samples with dv50 fourcc in AVI.
Christophe Lorenz [Mon, 4 Feb 2008 12:18:00 +0000 (12:18 +0000)]
Add dv50 tag to support samples with dv50 fourcc in AVI.
patch by christophelorenz  christophelorenz gmail com

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

13 years agoUpdate policy entry about compiler warnings to reflect ml discussions.
Diego Biurrun [Mon, 4 Feb 2008 12:16:14 +0000 (12:16 +0000)]
Update policy entry about compiler warnings to reflect ml discussions.

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

13 years agoFix a possible use of an uninitialized pointer.
Reimar Döffinger [Mon, 4 Feb 2008 12:13:09 +0000 (12:13 +0000)]
Fix a possible use of an uninitialized pointer.

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

13 years agoback_ptr calculation used wrong timebase when searching for back syncpoint
Oded Shimon [Mon, 4 Feb 2008 10:48:41 +0000 (10:48 +0000)]
back_ptr calculation used wrong timebase when searching for back syncpoint

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

13 years agoFix intented algo in syncpoint writing before keyframes in NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:45:32 +0000 (10:45 +0000)]
Fix intented algo in syncpoint writing before keyframes in NUT muxer

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

13 years agonut->max_distance was not set at all anywhere in the NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:34:35 +0000 (10:34 +0000)]
nut->max_distance was not set at all anywhere in the NUT muxer

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

13 years agoRemove old workaround in nutdec.c for libnut bug
Oded Shimon [Mon, 4 Feb 2008 10:30:38 +0000 (10:30 +0000)]
Remove old workaround in nutdec.c for libnut bug

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

13 years agomissing " && j<syncpoint_count" protection in the index parsing, as the
Oded Shimon [Mon, 4 Feb 2008 10:29:03 +0000 (10:29 +0000)]
missing " && j<syncpoint_count" protection in the index parsing, as the
spec instructs...

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

13 years agoff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
Oded Shimon [Mon, 4 Feb 2008 10:27:32 +0000 (10:27 +0000)]
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params

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

13 years agoMake luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
Diego Biurrun [Mon, 4 Feb 2008 10:26:35 +0000 (10:26 +0000)]
Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov

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

13 years ago2 more missing consts found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:06:04 +0000 (01:06 +0000)]
2 more missing consts found by -Wwrite-strings.

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

13 years agoRemove incorrect cast found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:04:27 +0000 (01:04 +0000)]
Remove incorrect cast found by -Wwrite-strings.

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

13 years agoAnother const found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:01:52 +0000 (01:01 +0000)]
Another const found by -Wwrite-strings.

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

13 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:49:14 +0000 (00:49 +0000)]
const

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

13 years agofix 8 "initialization discards qualifiers from pointer target type"
Michael Niedermayer [Mon, 4 Feb 2008 00:42:27 +0000 (00:42 +0000)]
fix 8 "initialization discards qualifiers from pointer target type"
warnings

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

13 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:37:36 +0000 (00:37 +0000)]
const

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

13 years agoFix info packet type, found by oded as well as the new pedantic const
Michael Niedermayer [Mon, 4 Feb 2008 00:33:52 +0000 (00:33 +0000)]
Fix info packet type, found by oded as well as the new pedantic const
warnings.

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

13 years ago-Wwrite-strings nitpicking fix
Michael Niedermayer [Mon, 4 Feb 2008 00:31:31 +0000 (00:31 +0000)]
-Wwrite-strings nitpicking fix

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

13 years agoMissing const found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 00:26:43 +0000 (00:26 +0000)]
Missing const found by -Wwrite-strings.

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

13 years agoconst
Michael Niedermayer [Sun, 3 Feb 2008 23:25:35 +0000 (23:25 +0000)]
const

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

13 years agoWarn if a comparison is always true or always false due to the
Michael Niedermayer [Sun, 3 Feb 2008 22:31:25 +0000 (22:31 +0000)]
Warn if a comparison is always true or always false due to the
limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug

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

13 years agoMissing const found by -Wwrite-strings.
Michael Niedermayer [Sun, 3 Feb 2008 21:56:13 +0000 (21:56 +0000)]
Missing const found by -Wwrite-strings.

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

13 years agoremove single-frame images from seektest
Måns Rullgård [Sun, 3 Feb 2008 21:38:56 +0000 (21:38 +0000)]
remove single-frame images from seektest

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

13 years agotypo
Diego Biurrun [Sun, 3 Feb 2008 21:37:49 +0000 (21:37 +0000)]
typo

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

13 years agoMake string constants const. Why is this not default?
Michael Niedermayer [Sun, 3 Feb 2008 21:33:26 +0000 (21:33 +0000)]
Make string constants const. Why is this not default?

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

13 years agoremove useless/incorrect comments in regression.sh
Måns Rullgård [Sun, 3 Feb 2008 19:26:32 +0000 (19:26 +0000)]
remove useless/incorrect comments in regression.sh

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

13 years agosplit lavf regression tests
Måns Rullgård [Sun, 3 Feb 2008 19:26:29 +0000 (19:26 +0000)]
split lavf regression tests

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

13 years agosplit regression tests allowing make to run them in parallel
Måns Rullgård [Sun, 3 Feb 2008 19:26:26 +0000 (19:26 +0000)]
split regression tests allowing make to run them in parallel

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

13 years agoget seek regression test filenames from reference file
Måns Rullgård [Sun, 3 Feb 2008 19:26:22 +0000 (19:26 +0000)]
get seek regression test filenames from reference file

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

13 years agompegvideo.h has two function declarations with the 'inline' specifier
Uoti Urpala [Sun, 3 Feb 2008 17:54:30 +0000 (17:54 +0000)]
mpegvideo.h has two function declarations with the 'inline' specifier
but no definition for those functions. The C standard requires a
definition to appear in the same translation unit for any function
declared with 'inline'. Most of the files including mpegvideo.h do not
define those functions. Fix this by removing the 'inline' specifiers
from the header.
patch by Uoti Urpala

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

13 years agoavg_pixels4_mmx2
Loren Merritt [Sun, 3 Feb 2008 17:04:33 +0000 (17:04 +0000)]
avg_pixels4_mmx2

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

13 years agouse mmx2/3dnow avg functions in avg_qpel*_mc00
Loren Merritt [Sun, 3 Feb 2008 16:19:37 +0000 (16:19 +0000)]
use mmx2/3dnow avg functions in avg_qpel*_mc00

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

13 years agoRemove ff_mms_set_stream_selection again from asf demuxer,
Reimar Döffinger [Sun, 3 Feb 2008 11:18:53 +0000 (11:18 +0000)]
Remove ff_mms_set_stream_selection again from asf demuxer,
it does not seem like a good solution to the problem and will
cause dependency problems if a libavprotocols should be split out.

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

13 years agoff_h264_idct8_add_sse2.
Loren Merritt [Sun, 3 Feb 2008 07:05:11 +0000 (07:05 +0000)]
ff_h264_idct8_add_sse2.
compared to mmx, 217->126 cycles on core2, 262->220 on k8.

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

13 years agoremove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.
Loren Merritt [Sun, 3 Feb 2008 03:21:47 +0000 (03:21 +0000)]
remove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.

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

13 years agoRemove incorrect casts that should have never been there.
Michael Niedermayer [Sat, 2 Feb 2008 22:55:58 +0000 (22:55 +0000)]
Remove incorrect casts that should have never been there.

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

13 years agoMake avcodec_decode_* functions take const input buffers.
Michael Niedermayer [Sat, 2 Feb 2008 22:54:50 +0000 (22:54 +0000)]
Make avcodec_decode_* functions take const input buffers.

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

13 years ago100l, since we already check for buf_size == 769 we should also
Reimar Döffinger [Sat, 2 Feb 2008 22:34:44 +0000 (22:34 +0000)]
100l, since we already check for buf_size == 769 we should also
handle buf_size < 769 instead of just crashing in smacker decoder.

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

13 years agoUse bytestream_get_be24 to simplify palette parsing.
Reimar Döffinger [Sat, 2 Feb 2008 22:31:11 +0000 (22:31 +0000)]
Use bytestream_get_be24 to simplify palette parsing.

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

13 years agomark qtrle input data as const.
Reimar Döffinger [Sat, 2 Feb 2008 22:09:07 +0000 (22:09 +0000)]
mark qtrle input data as const.

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

13 years agoRemove a pointless cast.
Reimar Döffinger [Sat, 2 Feb 2008 22:03:01 +0000 (22:03 +0000)]
Remove a pointless cast.

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