Commit Graph

500 Commits

Author SHA1 Message Date
Michael Niedermayer
f612801465 fix timestamps used for ratecontrol
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate

Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 22:46:41 +00:00
Michael Niedermayer
e559c30a20 allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

Originally committed as revision 10458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 15:06:46 +00:00
Michael Niedermayer
7d7f57d939 store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...

Originally committed as revision 10436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:51:13 +00:00
Michael Niedermayer
a68ca08e30 cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess

Originally committed as revision 10433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:14:20 +00:00
David Conrad
7a297ceb8f Update mkv regression tests after r10421
Originally committed as revision 10430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 15:58:08 +00:00
David Conrad
46491f138c Matroska regression tests
Originally committed as revision 10391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:05:54 +00:00
Neil Brown
9fcbcca60a If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:56:26 +00:00
Michael Niedermayer
d593e32983 use 16bit IDWT (a SIMD implementation of it should be >2x faster then with
the old 32bit code)
disable mmx/sse2 optimizations as they need a rewrite now

Originally committed as revision 10218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:00:51 +00:00
Michael Niedermayer
b538791bc9 use more bits on the encoder side
negligible increase in quality

Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 10:49:14 +00:00
Michael Niedermayer
ce611a27be Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

Originally committed as revision 10172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 16:29:40 +00:00
David Conrad
99e8b22dc5 Use PRId64 in seek test
Originally committed as revision 10098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:18:14 +00:00
Michael Niedermayer
f38e2b13bd nut regression test
Originally committed as revision 10057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:38:31 +00:00
Baptiste Coudurier
9031aeb1cd take care to use video track field number as duration
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Michael Niedermayer
371bf80642 ignore preroll, it is generally not what AVStream.start_time should contain
Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:36:55 +00:00
Michael Niedermayer
d7826b58d2 make wmv1 and wmv2 playable with M$ DMO decoder
Originally committed as revision 9950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 20:03:37 +00:00
Michael Niedermayer
a3be5e589b update seek regressions for r9917
(correct initial timestamps which have AV_NOPTS_VALUE)

sorry, i will rm tests/seek_test ; make ; make seektest from now on

Before r9917 lavf replaced the initial dts which were unknown (AV_NOPTS_VALUE)
by values starting from -frame_duration or another guessed value.
After r9917 lavf buffers packets until it finds a known timestamp or it buffered
too much, it will then correct the previous unknown timestamps in the buffer exactly.
For the seek tests that meant that a few initial timestamps would get changed.
If no packet in the whole stream contains a timestamp then all timestamps
will be changed by first_frame_duration or so as 0 is used instead of
-frame_duration as startpoint ...

Originally committed as revision 9949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 19:41:36 +00:00
Michael Niedermayer
d2f8f410bc flashsv regression test
closes issue5

Originally committed as revision 9912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:35:50 +00:00
Andreas Öman
6b8bcd3ed3 regression tests for yuv440p yuvj440p
patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 9765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 16:06:14 +00:00
Baptiste Coudurier
51d2ff8044 round timestamps up, k2 broadcast server seems to need it
Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:06:58 +00:00
Måns Rullgård
1e56c151bc set locale to C in seek test
Originally committed as revision 9584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:49:05 +00:00
Benoit Fouet
d31c98bf80 update regression checksums after r9447
Originally committed as revision 9468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 15:41:00 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
4fbd52f0b8 Merge tests Makefile into the top-level Makefile.
This gets rid of some recursion and simplifies the code.

Originally committed as revision 9255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 22:36:39 +00:00
Diego Biurrun
46076a95a0 The server configuration file is passed as a command line parameter.
Originally committed as revision 9254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 21:36:58 +00:00
Benoit Fouet
9f6c879365 seek tests only available with GPL enabled
Originally committed as revision 9154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 07:11:03 +00:00
Diego Biurrun
822dc0b820 Mark phony swscale_error target as such.
Originally committed as revision 9150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 15:18:51 +00:00
Diego Biurrun
2d2fe55737 10l: Revert accidental removal of unused code.
Originally committed as revision 9142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 15:52:57 +00:00
Diego Biurrun
0fd5a1b935 Exit with error when running libavtest and not configured with --enable-gpl.
Originally committed as revision 9141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 14:07:44 +00:00
Diego Biurrun
faed2a7f8f Rename variable for consistency.
Originally committed as revision 9140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 14:05:50 +00:00
Diego Biurrun
1b1a1608be whitespace cosmetics
Originally committed as revision 9139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 14:05:01 +00:00
Diego Biurrun
acfd623e8f better variable names
Originally committed as revision 9138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 13:59:13 +00:00
Diego Biurrun
0cda58aaaa Remove comments that are neither very enlightening nor particularly up-to-date.
Originally committed as revision 9137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 13:50:14 +00:00
Diego Biurrun
6fea73ceef Do not hide the commands make runs.
Originally committed as revision 9136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 13:48:19 +00:00
Diego Biurrun
dd4ca89143 Fix seek_test compilation for out-of-tree builds.
Originally committed as revision 9135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 13:36:02 +00:00
Diego Biurrun
59a2385e73 Remove portability comment, it should be pure POSIX now.
Originally committed as revision 9130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 13:29:22 +00:00
Diego Biurrun
dc75f7eeb4 whitespace cosmetics
Originally committed as revision 9129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 13:28:34 +00:00
Diego Biurrun
6d593d4356 'grep -q' is a GNU extension.
Originally committed as revision 9128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 13:27:08 +00:00
Diego Biurrun
f1f836fd3b Do not fail or print an error if the logfile already exists.
Originally committed as revision 9127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 13:22:01 +00:00
Diego Biurrun
036ab241e5 Also remove seek_test upon clean.
Originally committed as revision 9125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 12:41:41 +00:00
Diego Biurrun
90a7f95654 Replace multiple rules for compiling binaries by one pattern rule.
Originally committed as revision 9123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 23:32:50 +00:00
Diego Biurrun
244e1e644c Use proper license header.
Originally committed as revision 9122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 23:14:54 +00:00
Diego Biurrun
c9639fab61 typo
Originally committed as revision 9121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 23:13:10 +00:00
Diego Biurrun
79e95835e0 Remove obsolete and non-working DSP test program.
Originally committed as revision 9120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 22:47:47 +00:00
Michael Niedermayer
e21c53bd39 forgotten h.261 seek regression checksum update due to
"r9076 | michael | 2007-05-20 03:05:34 +0200 (Sun, 20 May 2007) | 2 lines

slightly more correct spliting of frames"

Originally committed as revision 9089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:43:47 +00:00
Ronald S. Bultje
f3ab6d9146 Do not specify directories in #include path, -I flags take care of this.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:56:30 +00:00
Zuxy Meng
2462e4b765 Remove trailing / from -I flags, MinGW appears to dislike them.
patch by Zuxy Meng, zuxy.meng gmail com

Originally committed as revision 8948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 09:05:30 +00:00
Daniel Cardenas
711737af8e give the position offset of the file in the packet
update seek regression test reference file accordingly
patch by Daniel Cardenas: Daniel Car cox net
original thread: [Ffmpeg-devel] [PATCH] Debug help for file position
date: 05/01/2007 02:42 AM

Originally committed as revision 8871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:36:45 +00:00
Benoit Fouet
994cb3333d update reference file for seek test after delivery 8826
Originally committed as revision 8870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:28:15 +00:00
Benoit Fouet
be47dad75f modify order in which files are diff'd
Originally committed as revision 8869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 12:03:34 +00:00