Commit Graph

221 Commits

Author SHA1 Message Date
Stefan de Konink 426a6f34a0 Splits the totalbitrate in a videodatarate and audiodatarate part.
Patch by Stefan de Konink stefan konink de

Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:10:46 +00:00
David Conrad 4bcafc9a23 Update regression tests after r16651
Originally committed as revision 16656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 18:34:47 +00:00
Carl Eugen Hoyos ede935a1bd Revert r15615: Enable AC-3 decoding regression tests.
AC-3 decoding regression test fails with gcc 2.95.3 because of missing
SSE support.

Originally committed as revision 15625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 22:58:45 +00:00
Carl Eugen Hoyos 2e00584efc Enable AC-3 decoding regression tests.
Originally committed as revision 15615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 21:47:30 +00:00
Justin Ruggles 6682ae42a4 write actual min and max frame size to FLAC header. update regression test checksum.
Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:25:50 +00:00
Justin Ruggles a9f8587e15 write MD5 checksum to FLAC header. update regression tests.
Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 21:39:54 +00:00
Justin Ruggles 2b90551764 update FLAC regression test due to expected change after r15324
Originally committed as revision 15325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 20:10:30 +00:00
Michael Niedermayer 3e3c638e69 Switch regression tests to swscale.
Plain C, x86-32 and -64 have been tested and should work, other
archs that had asm optmizations in swscale likely will need some fixes
to either fall back on C if SWS_BITEXACT is set or make the asm match C.
This also disables the PAL8 test as neither swscale nor the old scaler
really support PAL8 output, imgconvert supported a fixed 666 palette
as output and swscale supports fixed 884 and 422.

Originally committed as revision 15305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 03:49:54 +00:00
Peter Ross 287ba997b5 Remove further 1sample=2byte assumptions within FFmpeg to allow
F32LE/F64BE/F64LE audio to be encoded properly.

Originally committed as revision 15192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 10:18:04 +00:00
Michael Niedermayer d3b4b74c32 Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
Aurelien Jacobs 38511b9ad3 matroska: fix regression test according to r14862
Originally committed as revision 14865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 13:22:10 +00:00
Peter Ross 6f18fe8ce7 Add regression tests for F32LE, F64BE and F64LE PCM codecs.
Originally committed as revision 14838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 11:26:43 +00:00
Peter Ross 4f5c72e857 PCM regression tests.
Originally committed as revision 14671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 23:31:43 +00:00
Baptiste Coudurier 77c3fb9098 add dv 4:1:1 regression test
Originally committed as revision 14631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 23:03:02 +00:00
Baptiste Coudurier 2cce68f8bd add mpeg2 4:2:2 regression test
Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 21:59:51 +00:00
Michael Niedermayer 1e90317b65 Fix tiny_psnr so it compares all bytes (it did skip the last block).
Also display both file sizes and slightly change the output formatting.
[not split in 3 patches to avoid the huge checksum files from being changed
 and having to be reviewed 3 times, if people want it split i can revert and
 split it]

Originally committed as revision 14374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:24:36 +00:00
Michael Niedermayer 4c453ddbbc Make our flac decoder decode all the data at EOF.
Fixes issue524

Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:51:29 +00:00
Reimar Döffinger ae8afab998 Fix MS ADPCM de- and encoding: first and second sample are swapped.
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf

Originally committed as revision 14201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 14:08:28 +00:00
Michael Niedermayer 65f526835f I think we are also compliant to iso2.
Originally committed as revision 13765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 13:52:53 +00:00
Michael Niedermayer ed6e47c21d Add isom to the compatible brands.
Originally committed as revision 13764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 12:19:01 +00:00
Baptiste Coudurier d29ee34ce3 fix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples += avctx->channels
Originally committed as revision 12965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:06:07 +00:00
Henrik Gulbrandsen 4fa6eac5f1 Correct ASF duration.
Patch by Henrik Gulbrandsen: henrik gulbra net

Originally committed as revision 12916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:19:16 +00:00
Måns Rullgård 733a6d8360 Remove mp4psp regression test
The PSP MP4 format requires an AAC audio stream, so until
we have an AAC encoder we cannot test this format.

The existing test is broken and does not actually use the
PSP format.

Originally committed as revision 12359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:07 +00:00
Kostya Shishkov 9dc92a38a0 IMA ADPCM encoder - QT variant
Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 07:30:41 +00:00
Michael Niedermayer 73e2261318 The last flag fix fixed mpeg4-qprd (there the flags ended up being trashed
through lrintf(), that is gcc put the 32bit int flags in a 32bit float
which caused some to be lost ...).
I wonder why FATE did not pick this up?

Originally committed as revision 12329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 12:45:32 +00:00
Michael Niedermayer b6bffc46b8 Fix trellis quant + AAN DCT.
Originally committed as revision 12221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:43:42 +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 a8fa959a0f rename dv50 regression test output file to dv50.dv
Originally committed as revision 11660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 22:35:44 +00:00
Benjamin Larsson b529ab37ba 4 months of hard development and finally it's done. Closes issue 58. Adpcm_swf regressions tests.
Originally committed as revision 11160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 15:35:23 +00:00
Michael Niedermayer 7548783bc5 correct invalid duration
Originally committed as revision 11152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:23:09 +00:00
Timofei V. Bondarenko 62b3415258 fix predictor initialization for adpcm-ima encoder not to lose first sample
in block in adpcm-ima decoder
Patch by Timofei V. Bondarenko: tim £ ipi, ac, ru
Original thread: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec
Date: 10/15/2007 05:55 PM

Originally committed as revision 10933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 13:08:04 +00:00
Benoit Fouet 40b67a56d1 Fix mov checksums following r10852.
Originally committed as revision 10928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 09:24:16 +00:00
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
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
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 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
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 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
Michael Niedermayer 1c87ed3a34 1000000l for me ive misstakely reverted the regression checksum change from r8444 in r8486
how did i succeed doing such a ridiculously silly thing? well i think it happened like:
1. verifying that the regression tests pass with old resample2.c
2. updating the regressions to the new resample2.c ... failed svn complained
3. svn up
4. updating the regressions to the new resample2.c success (r8485)

at that point everything was still ok

5. some more resample2.c work update regressions, read diff, commit (r8486)

my misstake was that the svn up at point 3 was run in tests/  -> iam an idiot

Originally committed as revision 8489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 01:48:40 +00:00
Michael Niedermayer 8ec04d344a set more reasonable cutoff for audio rate conversion
Originally committed as revision 8486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 14:27:16 +00:00
Michael Niedermayer 4ba67eeed5 update resgression tests after the resampler changes
Originally committed as revision 8485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:52:24 +00:00
Bill O'Shaughnessy 4140a5234e AC-3 encoded volume is too high. Revert revision 7160:
bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level

Originally committed as revision 8444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:18:05 +00:00
Michael Niedermayer 75b213ed54 prevent audio packets from being fragmented, wmp mac doesnt seem to like that and microshitty also doesnt seem to ever fragment them
Originally committed as revision 8265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 17:54:49 +00:00
Michael Niedermayer ff0e0b62a2 update forgotten regression test chcksums for
====
Author: michael
Date: Mon Mar  5 03:41:49 2007
New Revision: 8240

Modified:
   trunk/libavformat/asf-enc.c

Log:
   create codec_comment_header which looks more like what M$ creates, sane or not ...

Originally committed as revision 8260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 14:54:06 +00:00
Michael Niedermayer 1d7d9935b2 always use audio spread (instead of "video no spread" for audio ...)
Originally committed as revision 7960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:32:55 +00:00