Commit Graph

248 Commits

Author SHA1 Message Date
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
Kostya Shishkov
ec28509fed Fix regression tests after r11127 and 11129
Patch by kostya

Originally committed as revision 11128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:46:27 +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
Michael Niedermayer
a98d3e829a increaseing preroll time to the minimum of the asf files i have
Originally committed as revision 7955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 22:55:09 +00:00
Michael Niedermayer
d9076fe7c3 remove md5 check for wma as there are rounding differences between cpus
Originally committed as revision 7954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:59:38 +00:00
Michael Niedermayer
0786943a00 disabling vorbis regression test for now, both encoder and decoder behave strange and have to be fixed
Originally committed as revision 7953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:50:57 +00:00
Michael Niedermayer
0d9f863340 dont set the keyframe flag for audio as microshitty doesnt do it and some things have problems with our asfs, maybe that has a positive effect?
Originally committed as revision 7952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:24:53 +00:00
Michel Bardiaux
5600b6e19e Regression changes after addition of fact chunk to non-PCM wav
Originally committed as revision 7951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 18:44:53 +00:00
Michael Niedermayer
2d241e6687 fix broken memset(padding, 0) code
add a few asserts

Originally committed as revision 7903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:49:12 +00:00
Michael Niedermayer
190972a06e iam pretty sure send time is dts and not pts ...
Originally committed as revision 7879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:06:13 +00:00
Michael Niedermayer
3160138fc2 vorbis regression test
(using .asf as our .ogg muxer depends on libogg, nut muxer depends on libnut and vorbis in avi/mpeg is not really a good idea)

Originally committed as revision 7874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:04:30 +00:00
Michael Niedermayer
6d3d8daef9 wma regression test
Originally committed as revision 7865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 23:59:10 +00:00
Måns Rullgård
45ddd8b021 merge fragmented mpeg4adv section in regression.sh
Originally committed as revision 7519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:55:54 +00:00
Michael Niedermayer
396a5e6837 store a few values in the header as difference to the last
this makes frames a few bytes smaller (0.1% for high bitrate but >1% for low bitrates)

Originally committed as revision 7401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 12:24:31 +00:00
Allan Hsu
148c9bdbb8 Patch for the FLV muxer to supply more complete metadata
in the onMetaData header. Patch by Allan Hsu <allan at counterpop dot net>.

Originally committed as revision 7382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-28 12:35:22 +00:00
Michael Niedermayer
d951bb9a5c test DIRECT{0,0} too if flag mv0 is used
slight PSNR/bitrate increase

Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 23:30:57 +00:00
Baptiste Coudurier
49f1ac5a3d change mpeg2 intra vlc test to advanced one, add qprd trell and b frames
Originally committed as revision 7349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 17:55:02 +00:00
Michael Niedermayer
d6975eb82b use qscale_table in adaptive quant
some PSNR/bitrate improvement for adaptive quant

Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:45:53 +00:00
Michael Niedermayer
59743d16c7 dont randomly disallow intr4v in adaptive quant
some PSNR/bitrate gain if adaptive quant is used
initalize qscale_table correctly (it was pretty much random since the qp->lambda change)
  this probably has not much effect as the table isnt used currently IIRC

Originally committed as revision 7342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 14:24:23 +00:00
Michael Niedermayer
51b1a6c939 dont randomly dissallow direct MBs
some PSNR/bitrate gain for b frames with adaptive quant or QPRD

Originally committed as revision 7341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 13:23:49 +00:00
Michael Niedermayer
2d1e5071e2 QPRD & adaptive quantization regression tests
Originally committed as revision 7340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 13:03:07 +00:00
Michael Niedermayer
e4d0e2edb9 fix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)
Originally committed as revision 7334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 17:11:54 +00:00