diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-02-14 02:01:35 +0000 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-02-14 08:58:41 -0800 |
commit | 45743239738bd74de6be475cd5abe4bcbee9f81c (patch) | |
tree | f60c0811b14f759c01a63f7bc515b3a74af0692d /libavfilter/x86 | |
parent | ee281b884e2d401f7c3b3ce95849211748ca2b53 (diff) | |
download | ffmpeg-45743239738bd74de6be475cd5abe4bcbee9f81c.tar.gz |
vf_blend: Reduce number of arguments for kernel function
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_blend.asm | 3 | ||||
-rw-r--r-- | libavfilter/x86/vf_blend_init.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libavfilter/x86/vf_blend.asm b/libavfilter/x86/vf_blend.asm index a5ea74c5bc..47471aaaaf 100644 --- a/libavfilter/x86/vf_blend.asm +++ b/libavfilter/x86/vf_blend.asm @@ -42,11 +42,10 @@ cglobal blend_%1, 5, 7, %2, top, top_linesize, bottom, bottom_linesize, dst, end %define dst_linesizeq r5mp %define widthq r6mp %endif - mov endd, dword r8m + mov endd, dword r7m add topq, widthq add bottomq, widthq add dstq, widthq - sub endd, dword r7m ; start neg widthq %endmacro diff --git a/libavfilter/x86/vf_blend_init.c b/libavfilter/x86/vf_blend_init.c index a6baf94f42..555e1e54dc 100644 --- a/libavfilter/x86/vf_blend_init.c +++ b/libavfilter/x86/vf_blend_init.c @@ -27,7 +27,7 @@ void ff_blend_##name##_##opt(const uint8_t *top, ptrdiff_t top_linesize, \ const uint8_t *bottom, ptrdiff_t bottom_linesize, \ uint8_t *dst, ptrdiff_t dst_linesize, \ - ptrdiff_t width, ptrdiff_t start, ptrdiff_t end, \ + ptrdiff_t width, ptrdiff_t height, \ struct FilterParams *param, double *values); BLEND_FUNC(addition, sse2) |