Anton Khirnov
e745d7525a
rawdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc. Set r_frame_rate and
avg_frame_rate instead.
13 years ago
Aneesh Dogra
97334f106c
utvideo: add fate tests covering all codec variants
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Alexis Ballier
1af91978db
qtrle.c: Fix for ticket #226 .
...
In 1bpp mode, interpret skip&0x80 as "start a new line" instead of "go to next line", this is almost the same except for the first line which was always skipped before and caused to try to write an extra line at the end of the frame (ticket #226 ).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Derek Buitenhuis
55a280569f
fate: Add a test for the VBLE decoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Anton Khirnov
3eedd29bd7
bethsoftvideo: return proper consumed size for palette packets.
...
Also check for sufficient packet size.
13 years ago
Justin Ruggles
5872c78122
cdg: skip packets that don't contain a cdg command.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
0844b57c11
crcenc: add flags
...
AVFMT_NOTIMESTAMPS for crc, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framecrc, as it prints dts.
Many FATE changes, because avconv is no longer duplicating frames in
those tests.
Also added -vsync 0 for some tests to prevent avconv from dropping
frames until it can be fixed more properly.
13 years ago
Carl Eugen Hoyos
eb664d4ae3
Increase Westwood Studios VQA palette dynamics.
13 years ago
Carl Eugen Hoyos
a95906af57
Increase Pictor/PC Paint palette dynamics.
13 years ago
Carl Eugen Hoyos
105cf82acb
Increase FLI/FLC Animation palette dynamics for some samples.
13 years ago
Carl Eugen Hoyos
942e9be5d7
Increase Bethesda VID palette dynamics.
13 years ago
Carl Eugen Hoyos
9780c33eca
Increase Psygnosis YOP palette dynamics.
13 years ago
Carl Eugen Hoyos
0e8da94c2f
Increase AVS palette dynamics.
13 years ago
Themaister
0827222b9c
Use more accurate conversion for rgb15/16 to rgb24/32 (C/MMX).
...
Fate update by michael.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3bdfef31ac
fraps: check for overread
...
Fixeds Ticket619
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
266f6eefc6
nuv: do not use data not initialized by LZO decompression.
...
This fixes visible corruption in the incomplete last frame
of the FATE sample.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
f5cd136f2b
ffmpeg: add -map_channel option.
...
Based on an initial work by Baptiste Coudurier.
13 years ago
Justin Ruggles
1baa25c7da
shorten: fix end-of-stream decoding.
...
enable CODEC_CAP_DELAY to flush any remaining frames in the buffer.
Stop decoding when the FN_QUIT command is found so that a trailing seek table
isn't decoded as a normal frame.
decode all channels in the same call to avcodec_decode_audio3() so that
decoding will not stop after the first channel of the last frame.
Updated FATE reference. More valid audio is now decoded.
13 years ago
Martin Storsjö
6e6003a4d2
g722: Add a fate test for the encoder
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
91038cdbd1
prores: get correct size for coded V plane if alpha is present
...
The size check must be updated to take into account both manners
in which v_data_size might be set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cd14e297e6
prores: do not set pixel format on codec init
...
The pixel format is not known until the frame header is parsed.
Guessing it here only causes trouble for the caller if the guess
turns out to be wrong (and actually causes very wrong output by
avconv/avplay).
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
ff5790c761
adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.
...
There are still 2 nibbles to decode once the last byte in the packet has been
read. Updated FATE reference.
13 years ago
Ronald S. Bultje
f78cd0c243
prores-idct: fix overflow in c code.
...
Fix the fate ref for prores-422_proxy by reverting the changes to it
in commit f492df0927
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Janne Grunau
8aa80ec5e3
fate: update prores-alpha ref after changing pix_fmt to yuv444p10le
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
337496980e
prores: use C idct for fate as the SSE code is not matching the SSE* code down at the bits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
f492df0927
prores: add appropriate -fix_fmt parameter to FATE command
...
Also correct CRCs for Sequence_1-Apple_ProRes_422_Proxy.mov, previous
CRCs were generated with the non-bitexact x86_64 assembler IDCT.
13 years ago
Michael Niedermayer
530d8529d0
fate: enable the prores tests
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
a62d36697d
prores: add FATE tests
13 years ago
Michael Niedermayer
045c5283c3
cdg: set timestamps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
c2f2dfb3dd
motionpixels: decode only the 111 complete frames for fate
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
d337dd3a90
motionpixels: Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffer
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
e60619f9b4
Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffer used in motion pixels decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
68bbaac7e5
fate: only test 10seconds of the g729 data, the reference files are too huge otherwise.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
96b0764196
fate: g729 test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Baptiste Coudurier
bf334535b4
adpcmdec: Fix QT IMA ADPCM decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
775af761a0
eval: test isnan(sqrt(-1)) instead of just sqrt(-1)
...
sqrt(-1) returns "some NaN", it's not specified which exactly.
13 years ago
Stefano Sabatini
8cee38a298
eval: implement not() expression
13 years ago
Stefano Sabatini
9bc393908a
eval: add sqrt function for computing the square root
13 years ago
Michael Niedermayer
5c5306df96
lavf/utils: rewrite real fps calculation code.
...
The new code is free of biasing to the first timestamps
Fixes fraps.fps.test.zip
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5166376f24
smacker: fix a few off by 1 errors
...
stereo & 16bit is untested due to lack of samples
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
8f5bb35f40
ffmpeg: fix video synchronization code to be exact on constant fps videos. Fixes Ticket137
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d67e74929c
smacker: fix a few off by 1 errors
...
stereo & 16bit is untested due to lack of samples
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
e42a3dd123
Allow reading of growing avi files (ie currently being written)
...
This uses the RIFF header stored size to figure out the expected AVI file size, instead
of the actual file. To work fully it requires handling failed avio_seek() instead
of assuming they always succeed.
Some fate file has been cut off and contains half a frame at the end which previously
was not output during demuxing. This frame is now output to encoder, thus fate
diff update.
13 years ago
Baptiste Coudurier
08fa23d6c2
v210dec: switch to PIX_FMT_422P10
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
1717ba0cdd
fifo: add FIFO API test program, and fate test
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
abe0b8e9f3
sws: use shift for chroma sample up convertion
...
sws: use shifts for non full range luma sample upconvertion
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Baptiste Coudurier
2c6348ea67
fate: add h264 intra 4:2:2 tests
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
ef44a60710
avconv: rescue poor abused recording_time global.
...
Keep a per-OutputFile instance of it, thus making -t work with multiple
output files.
13 years ago
Kostya Shishkov
a43b1e74e2
rmdec: parse FPS in RealMedia properly
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Kostya Shishkov
48ce8b8da7
Use parsers for RealVideo 3/4 to determine correct PTS
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago