mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-20 01:20:18 +00:00
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>
|
||
|---|---|---|
| .. | ||
| aarch64 | ||
| arm | ||
| x86 | ||
| .gitignore | ||
| aacpsdsp.c | ||
| af_afir.c | ||
| alacdsp.c | ||
| audiodsp.c | ||
| blockdsp.c | ||
| bswapdsp.c | ||
| checkasm.c | ||
| checkasm.h | ||
| exrdsp.c | ||
| fixed_dsp.c | ||
| flacdsp.c | ||
| float_dsp.c | ||
| fmtconvert.c | ||
| g722dsp.c | ||
| h264dsp.c | ||
| h264pred.c | ||
| h264qpel.c | ||
| hevc_add_res.c | ||
| hevc_idct.c | ||
| hevc_sao.c | ||
| huffyuvdsp.c | ||
| jpeg2000dsp.c | ||
| llviddsp.c | ||
| llviddspenc.c | ||
| Makefile | ||
| opusdsp.c | ||
| pixblockdsp.c | ||
| sbrdsp.c | ||
| sw_rgb.c | ||
| synth_filter.c | ||
| utvideodsp.c | ||
| v210dec.c | ||
| v210enc.c | ||
| vf_blend.c | ||
| vf_colorspace.c | ||
| vf_eq.c | ||
| vf_gblur.c | ||
| vf_hflip.c | ||
| vf_nlmeans.c | ||
| vf_threshold.c | ||
| videodsp.c | ||
| vp8dsp.c | ||
| vp9dsp.c | ||