Tomas Härdin
abc5ac3cf5
palettegen: Fill with last color, not black
...
If we fill with black then the generated palette will have one color more
than what the user requested. This also resulted in unwanted black specks in
the output of paletteuse, especially when generating small palettes.
6 years ago
Diego Biurrun
f8df5e2f31
tests: Add a convenience function for video-only lavf tests
...
Rename a test in the process for consistency and simplicity and
remove the remnants of the now-unused lavf regression test scripts.
6 years ago
Diego Biurrun
618d02c1fa
tests: Convert lavf container tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
896fe15dbb
tests: Convert lavf pixfmt conversion tests to non-legacy test scripts
...
Also split monolithic lavf-pixfmt test into individual tests.
6 years ago
Diego Biurrun
a957e9379d
tests: Convert lavf image tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
eb8a811599
tests: Convert audio-only lavf tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
a70eac7a9b
tests: Convert image2pipe tests to non-legacy test scripts
6 years ago
Diego Biurrun
5846b496f0
tests: Use a predefined function for lavf-rm test
6 years ago
Diego Biurrun
dad5fd59f3
tests: Enable CRC test for yuv4mpeg
6 years ago
Diego Biurrun
8629149816
tests: Drop duplicate variable declaration
6 years ago
Diego Biurrun
e22ffb3805
tests: Unify output directory creation
6 years ago
Diego Biurrun
7e5bde93a1
build: Rename OBJDIRS variable to OUTDIRS
...
These directories are not just for object files.
6 years ago
Timo Rothenpieler
15c6390139
avutil/cuda_check: avoid pointlessly exporting same symbol from two libraries
6 years ago
Jun Zhao
84e7aff608
tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts
...
Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the
pkt_dts/pts as negative number like:
"0, 3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Carl Eugen Hoyos
608572ce84
tests/checkasm/checkasm: Do not define an unused function.
...
Fixes the following warning:
tests/checkasm/checkasm.c:615:12: warning: 'bench_init_ffmpeg' defined but not used
6 years ago
Michael Niedermayer
5bcefceec8
avcodec: Add discard_sample_percentage
...
Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Peter Ross
d8ebfd1bdf
avcodec/vp6: select idct based (loosely) on number of coefficients decoded
...
The VP3/4/5/6 reference decoders all use three IDCT versions: one for the
DC-only case, another for blocks with more than 10 coefficients, and an
optimised one for blocks with up to 10 AC coefficents. VP6 relies on the
sparse 10 coefficient version, and without it, IDCT drift occurs.
Fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
6 years ago
Peter Ross
160ebe0a8d
avcodec/vp6: use ff_vp3dsp_[hv]_loop_filter_12
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
6 years ago
Peter Ross
10a57f55e6
avcodec/vp6: use rounded shift for chroma motion vector calculation
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
6 years ago
Janne Grunau
d7f4f5c4a1
checkasm/h264: add loop filter tests
6 years ago
Rafaël Carré
75ea329b78
api-h264-slice-test: fix arguments and help
...
This program only takes 2 arguments
Remove comment that was never right
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
James Almer
f477ee3e89
checkasm/af_afir: relax the max allowed absolute difference
...
Should fix failures on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Steven Liu
2780cd33d9
fate: add tests/fate/hlsenc.mak for hls FATE
...
init add three test examples:
1. check no endlist at the end
2. check endlist at the end
3. check hls_list_size 0 full list
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
6 years ago
James Almer
ba89dc27b5
checkasm: add an af_afir test
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Jun Zhao
90c4534206
lavc/options_table: Change some options location in opt table.
...
Change the some options location in avcodec_options to make code more
readable. And update the fate test with this change.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Michael Niedermayer
f8f762c300
tests/fate/filter-video: increase fuzz for fate-filter-refcmp-psnr-rgb
...
Fixes: test failure on powerpc
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Paul B Mahol
6f058b5cef
avformat/nut: add support for yuva444/422p12 pixel format
6 years ago
Paul B Mahol
ec8502f9cb
avcodec/gif: use avctx->frame_number
6 years ago
Paul B Mahol
faca28c264
avcodec: rewrite gif muxing and encoding
...
Now "-c copy" works.
Update FATE files.
Demuxer only split file into packets, no data is trimmed.
Encoder & muxer currently expect completely another format
where muxer writes stuff like disposal method which should
be really encoder job.
With this patch muxer only modifies delay between two packets.
Codec copy need to have same behavior between demuxer and
muxer to work correctly.
Fixes #6640 .
6 years ago
Carl Eugen Hoyos
464aa60eb5
tests/api-flac-test: Rename NUMBER_OF_FRAMES as NUMBER_OF_AUDIO_FRAMES.
...
In system header /usr/include/sys/mstsave.h, aix defines NUMBER_OF_FRAMES,
causing redefinition warnings.
6 years ago
Gyan Doshi
3b825b2f81
fate: add prog suffix in fate-mov-mp4-with-mov-in24-ver
...
Prevent test failure with builds that set a suffix and/or
extension for the ffprobe binary
6 years ago
Paul B Mahol
3d8d8c7199
avcodec/r210: use correct pixel format
6 years ago
Carl Eugen Hoyos
3c7a2a0b92
tests/ref/fate/vc1test_smm0005: Add a newline.
...
Fixes fate-pixelutils on aix.
6 years ago
Martin Vignali
ffafa53dbf
avcodec/proresdec : add 12b decoding
...
based on patch by Kieran Kunhya
ticket 7163
6 years ago
Peter Ross
dea1224754
additional math.h functions for djgpp
6 years ago
Paul B Mahol
18aea7bdd9
avcodec/opus: set skip_samples
...
Also update fate test. Fixes #5258 .
6 years ago
Martin Vignali
e488d7b4f5
fate/prores-metadata : make output bit exact
6 years ago
Martin Vignali
86e6f0dbc7
swscale : add support for YUVA444P12 and YUVA422P12
6 years ago
Martin Vignali
80b0624099
avutil : add YUVA444P12 and YUVA422P12
6 years ago
Paul B Mahol
97d1ee437b
avformat/movenc: get number of written bytes from bitstream writer
...
Update fate test.
6 years ago
Peter Ross
3fc7b69496
fate-api-h264-slice: use the heap for nal buffer
...
nal buffer is 512 kilobytes
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Peter Ross
7cda7d217c
api-h264-slice-test: use av_be2ne16 instead of ntohs
...
avformat/network.h is not required here.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Philip Langdale
420ab946ac
avutil/cuda_check: Make sure this passes make fate-source
...
The header guards were unnecessarily non-standard and the c file
inclusion trick means the files dont't have standard licence
headers.
Based on a patch by: Martin Vignali <martin.vignali@gmail.com>
6 years ago
Jun Zhao
991cd79155
fate: Add test for vc1test demuxer
...
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Martin Vignali
752bf1f64c
fate/prores_metadata : fix md5 value
6 years ago
Martin Vignali
679ad31469
fate/prores_metadata_bsf : add test for setting color property
6 years ago
Mark Thompson
252e79663d
cbs_h265: Add PTL parsing for sublayers
...
With fate test using the SLPPLP_A_VIDYO_2 conformance file, which contains
two sublayers with full PTL information.
6 years ago
Mark Thompson
fd1d735c0b
fate/libavcodec: Fix config dependency of h264-levels test
6 years ago
Carl Eugen Hoyos
f149a4a5fc
swscale: Add GRAY10
...
Based on ab839054
by Luca Barbato.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Josh de Kock
1052578dad
fate/api-h264-slice-test: use cleaner error handling
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago