Hello, In attach patch to add a checkasm test, for lowpass_line (8 and 16) and AVX2 version for lowpass_line (8 and 16)
001 : Modify init part of vf_interlace (add ff_interlace_init and modify ff_interlace_init_x86) 002 : Checkasm test for lowpass_line can be test with ./tests/checkasm/checkasm --test=vf_interlace --bench or make fate-checkasm 003 : AVX2 version for lowpass_line (8 and 16) For the checkasm test, i add an align test (related to ticket 6491) but i only "unalign" the "mref value" (if i unalign src in this test, i have a crash) I can't find a "real" filter command line who reproduce the same crash (if someone have a command line example for that, i will modify the checkasm and the asm) Checkasm result : (in my tests the AVX version is always slower, than SSE version (not sure it's interested to keep AVX version) ./tests/checkasm/checkasm --test=vf_interlace --bench benchmarking with native FFmpeg timers nop: 36.2 checkasm: using random seed 1323076929 SSE2: - vf_interlace.lowpass_line_8 [OK] - vf_interlace.lowpass_line_16 [OK] AVX: - vf_interlace.lowpass_line_8 [OK] - vf_interlace.lowpass_line_16 [OK] AVX2: - vf_interlace.lowpass_line_8 [OK] - vf_interlace.lowpass_line_16 [OK] checkasm: all 6 tests passed lowpass_line_8_c: 311.2 lowpass_line_8_sse2: 44.4 lowpass_line_8_avx: 46.9 lowpass_line_8_avx2: 26.7 lowpass_line_16_c: 182.9 lowpass_line_16_sse2: 44.4 lowpass_line_16_avx: 48.4 lowpass_line_16_avx2: 28.2 Martin
0001-avfilter-vf_interlace-move-func-init-in.patch
Description: Binary data
0002-checkasm-vf_interlace-add-test-for-lowpass_line-8-an.patch
Description: Binary data
0003-avfilter-vf_interlace-add-AVX2-for-lowpass_line-8-an.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel