1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/tests/checkasm
Andrey Semashev d7eb8d8475 lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes
Generic C implementation of vf_blend performs reads and writes of 16-bit
elements, which requires the buffers to be aligned to at least 2-byte
boundary.

Also, the change fixes source buffer overrun caused by src_offset being
added to to test handling of misaligned buffers.

Fixes: #7226

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-30 02:42:10 +02: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: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to aacpsdsp 2017-07-13 17:03:28 -03: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: add vf_nlmeans test for ssd_integral_image 2018-05-08 10:28:06 +02:00
checkasm.h checkasm: add vf_nlmeans test for ssd_integral_image 2018-05-08 10:28:06 +02: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 tests/checkasm/float_dsp: Increase allowed difference for float_dsp.vector_dmul 2017-11-27 03:31:53 +01: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 '516c479172755c63063180b0c0953b68b670cdbd' 2017-11-11 15:21:22 -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 Merge commit 'e00db9f78bb475ed5103364f61892f4e75ef89ba' 2017-10-28 18:18:41 -03: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: add vf_nlmeans test for ssd_integral_image 2018-05-08 10:28:06 +02:00
pixblockdsp.c Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3' 2017-03-20 15:58:32 +01:00
sbrdsp.c checkasm: use declare_func_float() in sbrdsp sum_square test 2017-07-04 23:02:57 -03: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
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_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