1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
FFmpeg/tests/checkasm
Linjie Fu ddf6ca3a0e tests/checkasm: add overflow test for hevc_add_res
Add overflow test for hevc_add_res when int16_t coeff = -32768.

The result of C is good, while ASM is not.

To verify:
    make fate-checkasm-hevc_add_res
    ffmpeg/tests/checkasm/checkasm --test=hevc_add_res

./checkasm --test=hevc_add_res
checkasm: using random seed 679391863
MMXEXT:
    hevc_add_res_4x4_8_mmxext (hevc_add_res.c:69)
  - hevc_add_res.add_residual [FAILED]
SSE2:
    hevc_add_res_8x8_8_sse2 (hevc_add_res.c:69)
    hevc_add_res_16x16_8_sse2 (hevc_add_res.c:69)
    hevc_add_res_32x32_8_sse2 (hevc_add_res.c:69)
  - hevc_add_res.add_residual [FAILED]
AVX:
    hevc_add_res_8x8_8_avx (hevc_add_res.c:69)
    hevc_add_res_16x16_8_avx (hevc_add_res.c:69)
    hevc_add_res_32x32_8_avx (hevc_add_res.c:69)
  - hevc_add_res.add_residual [FAILED]
AVX2:
    hevc_add_res_32x32_8_avx2 (hevc_add_res.c:69)
  - hevc_add_res.add_residual [FAILED]
checkasm: 8 of 14 tests have failed

Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2020-03-27 10:57:40 +01:00
..
aarch64 Merge commit 'd05c9cde0e87c23ca42957646bea483dfc09d6bf' 2017-10-30 21:03:50 -03:00
arm Merge commit '2816f8a8bb33bd67fec5e94f5d357918caf4e055' 2017-03-23 18:01:47 -03:00
x86 checkasm: add a checkasm_checked_call function that doesn't issue emms 2017-06-14 19:18:56 -03:00
.gitignore Split global .gitignore file into per-directory files 2016-05-13 14:55:56 +02:00
aacpsdsp.c checkasm: aacpsdsp: Tolerate extra intermediate precision in stereo_interpolate 2019-12-18 15:15:29 +02:00
af_afir.c checkasm: af_afir: Use a dynamic tolerance depending on values 2019-12-12 23:57:08 +02:00
alacdsp.c checkasm: add alacdsp tests 2015-10-06 20:25:49 -03:00
audiodsp.c Merge commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5' 2017-03-20 22:35:07 +01:00
blockdsp.c libavcodec/blockdsp : add AVX version 2017-10-03 19:47:37 -03:00
bswapdsp.c checkasm: Explicitly declare function prototypes 2015-08-20 19:22:34 +02:00
checkasm.c checkasm: Check HAVE_GETSTDHANDLE here as well 2020-01-24 22:17:18 +02:00
checkasm.h checkasm/vf_eq: add test for vf_eq 2019-09-26 08:10:31 +08:00
exrdsp.c libavcodec/exr : add x86 SIMD for predictor 2017-10-01 17:35:30 -03:00
fixed_dsp.c checkasm: add _fixed suffix to fixed_dsp tests 2017-06-01 13:12:20 -03:00
flacdsp.c checkasm: add flacdsp decorrelate tests 2015-09-17 15:33:07 -03:00
float_dsp.c checkasm: float_dsp: Scale FLT/DBL_EPSILON sufficiently when comparing 2019-12-11 22:19:45 +02:00
fmtconvert.c Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c' 2016-01-02 12:50:13 +01:00
g722dsp.c checkasm: add a g722dsp test 2017-07-13 17:00:19 -03:00
h264dsp.c Merge commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc' 2019-03-14 16:31:41 -03:00
h264pred.c Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb' 2016-06-21 21:55:34 +02:00
h264qpel.c Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1' 2016-01-02 11:55:44 +01:00
hevc_add_res.c tests/checkasm: add overflow test for hevc_add_res 2020-03-27 10:57:40 +01:00
hevc_idct.c checkasm/hevc_idct : update test bit depth from 8 9 and 10 to 8 10 and 12 2018-03-19 00:56:01 -03:00
hevc_sao.c checkasm/hevc_sao : add hevc_sao for checkasm 2018-03-07 23:53:32 -03:00
huffyuvdsp.c checkasm : add test for huffyuvdsp add_int16 2017-11-21 09:41:42 +01:00
jpeg2000dsp.c checkasm/jpeg2000dsp: add test for ict_float 2017-11-20 18:33:57 -03:00
llviddsp.c checkasm/llviddsp: fix mixed code and declarations 2017-12-10 00:51:35 -03:00
llviddspenc.c checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_pred 2018-01-28 20:23:16 +01:00
Makefile checkasm/vf_eq: add test for vf_eq 2019-09-26 08:10:31 +08:00
opusdsp.c checkasm/opusdsp: declare opus_deemphasis as a function returning a float 2019-09-18 11:42:06 -03:00
pixblockdsp.c Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3' 2017-03-20 15:58:32 +01:00
sbrdsp.c checkasm: sbrdsp: Fix a spurious test failure by calculating a better epsilon for sum_square 2020-02-08 23:00:21 +02:00
sw_rgb.c checkasm/sw_rgb: fix the function declaration warning 2018-05-10 19:28:51 +08:00
synth_filter.c Merge commit '568a4323fbde03665b2b23a98068d02b39121812' 2016-01-02 12:45:34 +01:00
utvideodsp.c checkasm/utvideo : be more explicit to the WIDTH_PADDED define 2017-12-01 21:08:07 +01:00
v210dec.c checkasm: add test for v210dec 2019-05-02 19:21:37 +02:00
v210enc.c checkasm: v210: Fix array overwrite 2015-09-17 10:33:06 +02:00
vf_blend.c lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes 2018-05-30 02:42:10 +02:00
vf_colorspace.c tests/checkasm/vf_colorspace: Make bpp_mask const 2016-04-13 22:39:41 +02:00
vf_eq.c checkasm/vf_eq: add test for vf_eq 2019-09-26 08:10:31 +08:00
vf_gblur.c checkasm/vf_gblur: add test for horiz_slice simd 2019-06-12 08:54:05 +08:00
vf_hflip.c checkasm/vf_hflip : add test for vf_hflip byte and short simd 2017-12-13 11:34:29 +01:00
vf_nlmeans.c tests/checkasm/nlmeans: fix invalid read/write on ii buffer 2018-05-18 19:12:11 +02:00
vf_threshold.c checkasm/vf_threshold : add test for threshold16 2017-12-09 14:47:13 +01:00
videodsp.c checkasm: add videodsp emulated_edge_mc test. 2016-01-21 10:25:27 -05:00
vp8dsp.c Merge commit '87c6c78604e4dd16f1f45862b27ca006da010527' 2017-03-19 15:11:44 -03:00
vp9dsp.c Merge commit 'effc1430b2fe5997d9d55bf28dc507c27125eb27' 2017-04-04 15:26:18 -03:00