Commit Graph

12515 Commits

Author SHA1 Message Date
Loren Merritt 20d565be6d 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
2008-02-06 04:44:21 +00:00
Loren Merritt 7080ec2937 fix aliasing warnings. simpler too.
Originally committed as revision 11875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 04:14:07 +00:00
Loren Merritt a2b7bc8e71 constant was excessively aligned
Originally committed as revision 11874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 03:51:53 +00:00
Michael Niedermayer 744a9c75cf 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
2008-02-06 01:51:32 +00:00
Reimar Döffinger 63f2670a53 Check that we have enough input data in IMC decoder.
Originally committed as revision 11872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 18:39:55 +00:00
Loren Merritt ddf969705f 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
2008-02-05 11:22:55 +00:00
Loren Merritt b64dfbb8d2 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
2008-02-05 03:58:13 +00:00
Baptiste Coudurier 485f076dc2 seek regression ref update for ogg
Originally committed as revision 11869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:35:34 +00:00
Loren Merritt fa9b873e08 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
2008-02-05 01:16:48 +00:00
Baptiste Coudurier 37b74c8651 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
2008-02-05 01:16:47 +00:00
Baptiste Coudurier 2dd3c9e0fa it seems ogg requires granule to be -1 on unfinished packets
Originally committed as revision 11866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:01:56 +00:00
Michael Niedermayer 9a7871f77d Deprecate old and inefficient per instruction asm().
Originally committed as revision 11865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 20:03:08 +00:00
Oded Shimon eb757a6251 Update seektest regression as well to previous lavf/nut commits
Originally committed as revision 11864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 19:03:50 +00:00
Loren Merritt b2f775860b reduce code duplication
Originally committed as revision 11863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 16:20:46 +00:00
Michael Niedermayer beaa4a9133 Correct fatal ambiguity.
Originally committed as revision 11862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 13:12:15 +00:00
Michael Niedermayer 53407b64c8 Correct incorrect statement about warnings.
Originally committed as revision 11861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 13:10:14 +00:00
Reimar Döffinger c901197693 String pointers of ogg_codec_t should have const attribute.
Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 12:32:25 +00:00
Christophe Lorenz 23ef05756e 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
2008-02-04 12:18:00 +00:00
Diego Biurrun 9908c1a8bf Update policy entry about compiler warnings to reflect ml discussions.
Originally committed as revision 11858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 12:16:14 +00:00
Reimar Döffinger cd41a73f89 Fix a possible use of an uninitialized pointer.
Originally committed as revision 11857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 12:13:09 +00:00
Oded Shimon 4ddcc983b4 back_ptr calculation used wrong timebase when searching for back syncpoint
Originally committed as revision 11856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:48:41 +00:00
Oded Shimon 02c986a8d6 Fix intented algo in syncpoint writing before keyframes in NUT muxer
Originally committed as revision 11855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:45:32 +00:00
Oded Shimon 82badd27f1 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
2008-02-04 10:34:35 +00:00
Oded Shimon eae213af43 Remove old workaround in nutdec.c for libnut bug
Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:30:38 +00:00
Oded Shimon b19e3983cf 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
2008-02-04 10:29:03 +00:00
Oded Shimon 103d74ea5c 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
2008-02-04 10:27:32 +00:00
Diego Biurrun 1db38dad33 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
2008-02-04 10:26:35 +00:00
Michael Niedermayer f70eccdb39 2 more missing consts found by -Wwrite-strings.
Originally committed as revision 11849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:06:04 +00:00
Michael Niedermayer 37e4979a2c Remove incorrect cast found by -Wwrite-strings.
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:04:27 +00:00
Michael Niedermayer 8df94c73dc Another const found by -Wwrite-strings.
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:01:52 +00:00
Michael Niedermayer 1701cbfafc const
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:49:14 +00:00
Michael Niedermayer 8dd8dc5790 fix 8 "initialization discards qualifiers from pointer target type"
warnings

Originally committed as revision 11845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:42:27 +00:00
Michael Niedermayer f73008d820 const
Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:37:36 +00:00
Michael Niedermayer 0fca8bc835 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
2008-02-04 00:33:52 +00:00
Michael Niedermayer 7ebab67901 -Wwrite-strings nitpicking fix
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:31:31 +00:00
Michael Niedermayer 4cf97abb98 Missing const found by -Wwrite-strings.
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:26:43 +00:00
Michael Niedermayer 20e4beaef7 const
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 23:25:35 +00:00
Michael Niedermayer 652a5bf69d 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
2008-02-03 22:31:25 +00:00
Michael Niedermayer f522310b6d Missing const found by -Wwrite-strings.
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:56:13 +00:00
Måns Rullgård 9d6a96af24 remove single-frame images from seektest
Originally committed as revision 11837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:38:56 +00:00
Diego Biurrun 751a649390 typo
Originally committed as revision 11836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:37:49 +00:00
Michael Niedermayer 9aceb3cfbc Make string constants const. Why is this not default?
Originally committed as revision 11835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:33:26 +00:00
Måns Rullgård 704abfec05 remove useless/incorrect comments in regression.sh
Originally committed as revision 11834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:32 +00:00
Måns Rullgård 2009721d99 split lavf regression tests
Originally committed as revision 11833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:29 +00:00
Måns Rullgård 4383ed5cba split regression tests allowing make to run them in parallel
Originally committed as revision 11832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:26 +00:00
Måns Rullgård d2e40fe5e1 get seek regression test filenames from reference file
Originally committed as revision 11831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:22 +00:00
Uoti Urpala 4bdd3b76fe 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
2008-02-03 17:54:30 +00:00
Loren Merritt b313e8159c avg_pixels4_mmx2
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:04:33 +00:00
Loren Merritt 6c01d0069d use mmx2/3dnow avg functions in avg_qpel*_mc00
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 16:19:37 +00:00
Reimar Döffinger 7abe438045 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
2008-02-03 11:18:53 +00:00