Commit Graph

24966 Commits

Author SHA1 Message Date
Jason Garrett-Glaser
a6f8f11b9b Change qmax/qmin limits to 63 instead of 51.
VP8 supports quantizers up to 63.

Originally committed as revision 24157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 06:34:57 +00:00
Ramiro Polla
0a4307d630 configure: properly check for mingw-w64 through installed headers.
mingw-w64 can also target 32-bit code.

Originally committed as revision 24156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 04:08:02 +00:00
Måns Rullgård
7918375f88 intreadwrite: common.h is not needed, attributes.h is sufficient
Originally committed as revision 24155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 00:40:59 +00:00
Måns Rullgård
f4d80ecb22 lfg: add missing includes
Originally committed as revision 24154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 00:40:55 +00:00
Måns Rullgård
47bfd50a4b pixdesc: add missing includes
Originally committed as revision 24153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 00:40:53 +00:00
Måns Rullgård
150ef830f5 fate: fail with a sensible error message if reference file is missing
Originally committed as revision 24152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:55:16 +00:00
Måns Rullgård
34ae2d90e0 Remove dead target from .PHONY list
Originally committed as revision 24151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:37:19 +00:00
Måns Rullgård
7d610af6f2 fate: delete output files from successful tests
Originally committed as revision 24150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:36:04 +00:00
Måns Rullgård
3ec8d24ac9 tiny_psnr: change error exit code from -1 to 1
Originally committed as revision 24149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:39 +00:00
Måns Rullgård
cd3cb048d9 tiny_psnr: check fread() return values
Originally committed as revision 24148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:36 +00:00
Måns Rullgård
58d2b15447 fate: exit with error immediately if test command fails
Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:33 +00:00
Måns Rullgård
f6dddd3374 tiny_psnr: use abs()
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 19:27:07 +00:00
Vitor Sessak
5f0278f51c SIPR tests for "make fate2"
Originally committed as revision 24145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 17:19:18 +00:00
Víctor Paesa
4b04c5ca29 Current Cygwin has mkstemp().
Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 17:09:57 +00:00
Måns Rullgård
c43d77c163 tiny_psnr: skip wav headers on input files
The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.

Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:06:05 +00:00
Måns Rullgård
080ce9071d resample: replace VLA with malloc/free
Originally committed as revision 24142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:05:58 +00:00
Måns Rullgård
a426016cfc resample: check memory allocations in av_resample_init()
Originally committed as revision 24141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:05:52 +00:00
Michael Chinen
603e5c0b71 move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c
patch by Micheal Chinen < mchinen gmail >

Originally committed as revision 24140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 12:14:33 +00:00
Michael Chinen
f8280ff4c0 rename get_length to ff_get_v_length and put_v to ff_put_v
patch by Michael Chinen < mchinen gmail >

Originally committed as revision 24139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 12:10:47 +00:00
Måns Rullgård
9ebf4fb660 libxvid: add some const fixing a warning
Originally committed as revision 24138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 10:53:36 +00:00
Måns Rullgård
a30b336061 Allow using libxvid RC without enabling encoding wrapper
Originally committed as revision 24137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 10:53:30 +00:00
Måns Rullgård
7e264ca136 fate: add oneoff test for twinvq
Originally committed as revision 24135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:55 +00:00
Måns Rullgård
aab3ea5f7d fate: add oneoff comparison method
This adds the 'oneoff' comparison method.  It compares two s16le pcm
files with a max difference <= the fuzz factor treated as success.
Default fuzz is 1.  On failure, the full tiny_psnr output is printed.

Originally committed as revision 24134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:51 +00:00
Måns Rullgård
3ade7d32c1 fate: pass additional variables to test script
This passes the following additional variables to the test script:

- CMP  method to use comparing output with reference, default 'diff'
- REF  reference file, default 'tests/ref/fate/${test}'
- FUZZ maximum fuzz factor in comparison, meaning depends on CMP

Originally committed as revision 24133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:45 +00:00
Vitor Sessak
cb0067ec25 tiny_psnr: print max absolute difference between files
Regression test reference updates are due to the extra output
from tiny_psnr.

Patch by Vitor Sessak

Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:37 +00:00
Diego Biurrun
9eb42c272b Add back previously removed non-existing function params in doxygen comments.
Originally committed as revision 24131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:57:27 +00:00
Stefano Sabatini
16400da6f3 Perform minor style fixes.
Originally committed as revision 24130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:21:10 +00:00
Stefano Sabatini
52706b95bb Update APIchanges after the recent avfilter.h and pixdesc.h changes.
Originally committed as revision 24129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:13:35 +00:00
Stefano Sabatini
9699a96a80 Bump minor after read/write_line() to av_read/write_image_line()
rename, done in r24101.

Originally committed as revision 24128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:13:32 +00:00
Måns Rullgård
f955d45226 Change names of regtest output files to closer match the reference files
Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:10:14 +00:00
Stefano Sabatini
ee4355808c Reindent after r24101.
Originally committed as revision 24126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:05:33 +00:00
Baptiste Coudurier
efdccce500 In mpegts muxer, print VBR instead of dummy 1 when displaying muxrate
Originally committed as revision 24125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:01:31 +00:00
Baptiste Coudurier
b015be2142 In mov muxer, write pixel aspect ratio tag in mov files.
Based on a patch by Daniel Kristjansson, danielk at cuymedia dot net

Originally committed as revision 24124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 21:57:20 +00:00
Måns Rullgård
40fe5019ef configure: fix pcm test deps
10l to me for using non-standard shell syntax

Originally committed as revision 24123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 20:15:54 +00:00
Diego Biurrun
ad9eff3f9c Do not generate documentation for .d files; they do not contain source code.
Originally committed as revision 24122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:46:22 +00:00
Måns Rullgård
9770a7ad0e Simplify regtest reference makefile dependencies
Originally committed as revision 24121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:08 +00:00
Måns Rullgård
57442411d7 Move regression test dependencies to configure
This allows expressing complex dependencies more easily.

Originally committed as revision 24120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:06 +00:00
Måns Rullgård
31c0121db7 configure: add print_enabled() function
The print_enabled() function prints all elements in a list which
are enabled.

Originally committed as revision 24119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:03 +00:00
Måns Rullgård
a9ef1aef79 regtest: put rgb and yuv reference files in correct place
Originally committed as revision 24118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:00 +00:00
Måns Rullgård
42cb38632e regtest: put rgb and yuv reference files in correct place
SVN design flaw requires deleting dirs in separate step

Originally committed as revision 24117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:43:56 +00:00
Michael Niedermayer
6a522c49c2 Fix infinite loop with clock() returning (clock_t)-1.
Originally committed as revision 24116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:13:31 +00:00
Diego Biurrun
65e3f89ffd Improve variable names in imlt_window_float() and mlt_compensate_output().
Originally committed as revision 24115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 17:55:37 +00:00
Michael Niedermayer
b65c1ccfe1 Change i to unsigned in get_generic_seed().
This is clearer than comparing against an unsigned number to force an unsigned
comparison that we need.

Originally committed as revision 24114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 17:49:39 +00:00
Måns Rullgård
9be24c60d3 Create the regtest reference files only when necessary
This avoid recreating the ref files every time an individual test
is run from the command line.

Originally committed as revision 24113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:30 +00:00
Måns Rullgård
e1621087b6 Clean up make rules for calling codec test scripts
Originally committed as revision 24112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:25 +00:00
Måns Rullgård
4ab20de636 Beautify make messages when generating test data files
Originally committed as revision 24111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:23 +00:00
Ronald S. Bultje
e394953e62 Add missing doxy for function arguments.
Originally committed as revision 24110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:01:59 +00:00
Ronald S. Bultje
ad32966cf9 Fix two doxy warnings.
Originally committed as revision 24109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:00:47 +00:00
Diego Biurrun
e51f04968e Restore array sizes in doxygen parameter names.
Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 13:35:46 +00:00
Howard Chu
0aee2a57c8 Also use 503 for bandwidth limit exceeded
Originally committed as revision 24107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 09:21:24 +00:00