Jerry Jiang
884506dfe2
Implement optimal huffman encoding for (M)JPEG.
...
> seems to break
> make fate-vsynth1-mjpeg-444
Fixed.
8 years ago
erankor
37557b28b9
mov: add fate test for decryption with edit list
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
dce863421b
avformat/matroskaenc: don't reserve more bytes than needed for the Colour master size
...
Found-by: Aaron Colwell <acolwell@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
d1df72a702
fate: add SCC test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
25f4f08ba5
avcodec/h264dec: Fix regression with "make fate-h264-attachment-631 THREADS=8"
...
This treats the case of no slices like no frames which it basically is.
The field is added to the context as other nal related fields are also there
and passing the has_slices field per *arguments is ugly and not consistent
Found-by: ubitux
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Daniil Cherednik
c2500d62c6
dcaenc: Implementation of Huffman codes for DCA encoder
...
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Martin Vignali
1412e5a004
fate/psd : add test for bitmap and duotone
...
The duotone file is interpreted as gray
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Martin Vignali
682769d3d3
fate/psd : add test for 256 color
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Turner
3126ca2825
avutil/tests: added selftest for aes_ctr.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
49abd5dbb8
avfilter/avf_aphasemeter: make video output optional
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Burt P
f317080024
af_hdcd: more FATE tests
...
Additional/Modified FATE tests improve code coverage from 63.7% to 98.1%.
Changed fate-suite sample files:
* filter/hdcd-mix.flac (958K) added. It is a much better test than
filter/hdcd.flac (910K), which is now unused, but can't be removed.
* filter/hdcd-fake20bit.flac (168K) added. It is the first second of
filter/hdcd.flac, with the 16-bit LSB copied into bit 20 of a 24-bit
stream. There isn't an actual non-16-bit HDCD sample available to test.
Signed-off-by: Burt P <pburt0@gmail.com>
8 years ago
Pavel Koshevoy
47cd8effea
fate: Add test for ticket 6024, truncated decoding mode
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Turner
9f76ad2a46
avutil: Added selftest for libavutil/audio_fifo.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Martin Vignali
6672a49e5a
fate/psd: add tests for uncompress and rle samples
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Derek Buitenhuis
b7e4ea0c80
fate: Add h264 test for frame num gaps
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
Wan-Teh Chang
3703f13333
avutil/tests: run the cpu_init.c test conditionally on HAVE_THREADS
...
Suggested by Diego Biurrun and James Almer.
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
1b39a30247
fate: add av_image_check_size() test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
06c62ce09c
fate: add a monoscopic spherical matroska test
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
77aa8005ec
fate: improve fate-mov dependencies
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Vittorio Giovara
0c0da45f0f
fate: Add a monoscopic spherical mov test
8 years ago
Thomas Turner
da3c69a5a9
Added test for libavcodec/avpacket.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
059a786c20
fate/mov: Rename a couple of entries to respect the file naming scheme
8 years ago
Vittorio Giovara
115b834dcf
fate: Add test for mov displaymatrix
8 years ago
Martin Vignali
c9d1f4883d
fate/exr: add test for pxr24 with half and uint32 channel
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Muhammad Faiz
ebb4c783d0
fate/swresample: add resample exact_lin and exact_lin_async test
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Wan-Teh Chang
048b46b4e2
avutil/tests: add cpu_init to .gitignore and tests/fate
...
This is a follow-up to commit d84a21207e
,
which added the libavutil/tests/cpu_init.c.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
00c8079816
fate: Add h264 extradata reload tests
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Nicolas George
22aa649c13
fate/colorkey: disable audio stream.
...
The test is not supposed to cover audio.
Also, using -vframes along with an audio stream depends on
the exact order the frames are processed by filters, it is
too much constraint to guarantee.
8 years ago
James Almer
f6f1fc2db1
fate: fix fate-api dependencies
...
No need to run the whole fate-lavf set. fate-lavf-flv_fmt is enough to
create the required source file.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Sasi Inguva
c8dc11bb9e
lavf/mov.c: Fallback to finding non-keyframe in fix_index, if keyframe search fails.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Steven Liu
863ebe6f83
avformat/flvenc: add add_keyframe_index option
...
Add keyframe index metadata
Used to facilitate seeking; particularly for HTTP pseudo streaming.
1. read live streaming or file by sequence
2. if use add_keyframe_index option, add a mark flag at the position,
use to insert new context at the last step.
3. add the keyframes *offset* and *timestamp* into a list
4. if use add_keyframe_index option, shift the metadata data from
mark flag offset
5. insert the keyframes *offset* and *timestamp* from the list by
sequence
6. free the list
7. end.
Add FATE test case;
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Steven Liu <liuqi@gosun.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
26e9efab1e
fate: Remove show_formats for fate-mov-zombie test
...
This includes the absolute path
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
5dc237aaaa
fate: add zombie test
...
This test tests some odd sample with odd aspect ratio
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
7e603fb322
fate: add bsf tests for ticket 5927
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Rodger Combs
d401c37ef5
tests/fate/avformat: add segment.c tests
8 years ago
Martin Vignali
584f509a4b
fate filter metadata : add test for aphasemeter - Test a mono file (in phase) -> 1. as result - Test a out of phase 1000 Hz -> -1. as result
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Sasi Inguva
5e965582d5
lavf/mov.c: Use the correct timescale when seeking for audio.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
Andreas Cadhalpun
97792e85c3
fate: add apng encoding/muxing test
...
Also test the fallback to png creation for a single frame.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Rodger Combs
f53c26c694
lavfi/vf_overlay: support NV12 and NV21
...
Tested-by: Michael on x86-32/64 linux, mingw, mips/arm qemu linux
8 years ago
Tobias Rapp
03a6feb213
fate: Add MXF D10/DNXHD/DV25 probe tests
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rodger Combs
3b3f979894
fate/hevc: add automatic bsf test
8 years ago
Rodger Combs
ed4e081a36
fate/aac: add automatic bsf test
8 years ago
Rodger Combs
a6da754ef9
fate/h264: make mp4toannexb test use auto-BSF
8 years ago
James Almer
cc71fa319f
avformat/matroskaenc: write DisplayWidth and DisplayHeight elements only if they differ from PixelWidth and PixelHeight
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Mark Reid
0cfd6ccede
tests/fate: add mxf metadata streams test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Muhammad Faiz
2c1be03cb3
fate: add swr-convertaudio test
...
test for flt to s16
should pass on correct rounding to nearest
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Muhammad Faiz
c593a70cda
fate: add test for firequalizer filter
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
James Almer
8063978bfc
avformat/matroskaenc: don't write a FlagInterlaced element if it would write the default value
...
The spec says:
"Mandatory elements with a default value may be left out of the file. In the absence
of a mandatory element, the element's default value is used."
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Rodger Combs
0212867202
tests: add -nostdin flag when calling ffmpeg
...
This fixes a long-standing issue where running FATE in parallel could result
in the terminal being left misconfigured, particularly if a test failed or
was canceled wtih ^C.
8 years ago
James Almer
3b189fae73
avformat/matroskaenc: write a CRC32 element on SeekHead
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com>
Tested-by: Jerome Martinez <jerome@mediaarea.net>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago