Anton Khirnov
18c007ba37
lavc: remove a half-working attempt at different defaults for audio/video codecs.
...
It should be replaced with proper per-codec defaults.
14 years ago
Ronald S. Bultje
7d7bacf0f1
swscale: fix overflow in 16-bit vertical scaling.
...
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.
14 years ago
Ronald S. Bultje
f44d50a94c
swscale: fix 16-bit horizontal scaling underflow.
...
When using e.g. lanczos scaling, values can drop below 0, so they
should never be unsigned.
14 years ago
Ronald S. Bultje
42d622fab3
swscale: fix 16-bit scaling when output is 8-bits.
...
We would use the second half of the U plane buffer, rather than the
V plane buffer, to output the V plane pixels.
14 years ago
Anton Khirnov
f5302e5dcf
ffmpeg: deprecate loop_input and loop_output options
...
They were replaced by (de)muxer private options.
14 years ago
Diego Biurrun
bb83478d2c
build: remove unused copy regression test script
...
The copy regression test script is unused, bash-specific and did
not even work properly when it was originally committed.
14 years ago
Anton Khirnov
5e8d2e337e
lavf: deprecate AVStream.quality.
...
AVStream is no place for it and it's unused outside of ffmpeg anyway.
14 years ago
Ronald S. Bultje
dfd8116986
eval: add missing comma to tests.
14 years ago
Michael Niedermayer
16a565d0cb
eval/fate: try to fix nan printing format failures.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
240c5d6f3b
fate: test more FFT etc sizes
...
This tests sizes from 16 to 4096, not only the default 512.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
75a24bef4a
iirfilter: add fate test
...
Change the test program to output text instead of binary files so
it can be compared easily in FATE.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
94350ab986
eval: clear Parser instances before using
...
This prevents random values from the stack being used as
"variables" in expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
27e7144350
fate: add idct8x8 test
...
This tests the IDCT implementations available in the build.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
883fd9e393
eval: add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
84757de0f5
fate: add 'null' comparison method
...
Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection. This can be useful when
the exit status of the test itself determines success while the
output is informative.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8b53755ebd
md5: add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
14376a53b2
crc: add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
03256d96e4
fate: move libavutil test rules to a separate file
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
904b5d302d
fate: add DES test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
29651e1d44
fate-aac: Expand coverage.
...
Add al05_44, al06_44, al17_44.
14 years ago
Ronald S. Bultje
8a8d0ce208
swscale: for >8bit scaling, read in native bit-depth.
...
For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain.
14 years ago
Diego Biurrun
bd9a9a2f18
build: Eliminate obsolete test targets.
...
The targets are now part of FATE and can be run as individual FATE targets.
14 years ago
Mans Rullgard
71f029146c
base64: add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
744765a9c5
aes: improve test program and add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
f6252b4845
adler32: make test program more useful and add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
45f6ffe5e9
swscale: implement >8bit scaling support.
...
This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV).
14 years ago
Mans Rullgard
0291ce840c
fate: move amr[nw]b test rules into separate files
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
ef1ee362b3
swscale: implement >8bit scaling support.
...
This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV).
14 years ago
Michael Niedermayer
9e17d051ac
swscale: Fix yuv422p10
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
b0da4903dd
fate: enable lavfi-pixmt tests on big endian systems
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
842f463c77
fate: merge identical pixdesc_be/le tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
618230c7f4
swscale: update big endian reference values after dff5a835
.
14 years ago
Mans Rullgard
deb3ed01b5
build: replace some addprefix/addsuffix with substitution refs
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
dff5a83532
swscale: re-add support for non-native endianness.
...
This works through some non-obvious hacks in utils.c.
14 years ago
Mans Rullgard
f038cf3c74
build: remove SRC_PATH_BARE variable
...
Setting SRC_PATH to "." when building in-tree removes the need
for a quoted version of the source path since out-of-tree builds
are not possible if the pathname contains spaces.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
698a183e30
build: move test rules to tests/Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ea57502c82
fate: remove output redirections from old regtest scripts
...
All tests are run through the fate-run.sh script which already
sets up redirections. Using the outputs set there simplifies
things somewhat.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald Bultje
d42aaa802e
error_resilience: actually add counter when adding a MV predictor.
...
Without, the predictor isn't actually used.
14 years ago
Anton Khirnov
8035f42968
ffmpeg: use new avformat_open_* API.
14 years ago
Anton Khirnov
7cbc2e60af
codec-regression: remove pointless -r options for dnxhd
14 years ago
Anton Khirnov
d7ee44024c
ffmpeg: don't abuse a global for passing samplerate from input to output
...
It's broken with multiple files or audio streams.
This removes the default samplerate of 44100 for raw input, hence all
the FATE changes.
14 years ago
Michael Niedermayer
0af8a71d66
swscale: fix JPEG-range YUV scaling artifacts.
...
YUV planes were marked as uint16_t, but they contained signed data.
Fixes issue 1108 and 675.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Etienne Buira
39dbe9b6b8
Fix -t option for formats which holds dts and no pts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alexander Strange
6a9c859444
H264/MPEG frame-level multi-threading.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
041dbd3c14
swscale: dont loose precission on RGB/BGR48 input, that is dont drop half the bits.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
2b6bfff2b2
swscale: Do not loose precission on yuv values after rgb->yuv.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
895b616146
swscale: dont loose bits on planar >8bit yuv ind gray nput.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
0781e14ec4
fate: reenable frext-pph10i4_panasonic_a after the bitstream has been fixed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
b51021da7b
fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs.
...
The sample on rsync was corrupt, this one is now bitexact w.r.t. JM.
14 years ago