|
|
|
@ -87,7 +87,7 @@ SECTION .text |
|
|
|
|
|
|
|
|
|
%macro filter_h_fn 1 |
|
|
|
|
%assign %%px mmsize/2 |
|
|
|
|
cglobal %1_8tap_1d_h_ %+ %%px, 6, 6, 11, dst, dstride, src, sstride, h, filtery |
|
|
|
|
cglobal vp9_%1_8tap_1d_h_ %+ %%px, 6, 6, 11, dst, dstride, src, sstride, h, filtery |
|
|
|
|
mova m6, [pw_256] |
|
|
|
|
mova m7, [filteryq+ 0] |
|
|
|
|
%if ARCH_X86_64 && mmsize > 8 |
|
|
|
@ -148,7 +148,7 @@ filter_h_fn avg |
|
|
|
|
%if ARCH_X86_64 |
|
|
|
|
%macro filter_hx2_fn 1 |
|
|
|
|
%assign %%px mmsize |
|
|
|
|
cglobal %1_8tap_1d_h_ %+ %%px, 6, 6, 14, dst, dstride, src, sstride, h, filtery |
|
|
|
|
cglobal vp9_%1_8tap_1d_h_ %+ %%px, 6, 6, 14, dst, dstride, src, sstride, h, filtery |
|
|
|
|
mova m13, [pw_256] |
|
|
|
|
mova m8, [filteryq+ 0] |
|
|
|
|
mova m9, [filteryq+16] |
|
|
|
@ -204,9 +204,9 @@ filter_hx2_fn avg |
|
|
|
|
%macro filter_v_fn 1 |
|
|
|
|
%assign %%px mmsize/2 |
|
|
|
|
%if ARCH_X86_64 |
|
|
|
|
cglobal %1_8tap_1d_v_ %+ %%px, 6, 8, 11, dst, dstride, src, sstride, h, filtery, src4, sstride3 |
|
|
|
|
cglobal vp9_%1_8tap_1d_v_ %+ %%px, 6, 8, 11, dst, dstride, src, sstride, h, filtery, src4, sstride3 |
|
|
|
|
%else |
|
|
|
|
cglobal %1_8tap_1d_v_ %+ %%px, 4, 7, 11, dst, dstride, src, sstride, filtery, src4, sstride3 |
|
|
|
|
cglobal vp9_%1_8tap_1d_v_ %+ %%px, 4, 7, 11, dst, dstride, src, sstride, filtery, src4, sstride3 |
|
|
|
|
mov filteryq, r5mp |
|
|
|
|
%define hd r4mp |
|
|
|
|
%endif |
|
|
|
@ -278,7 +278,7 @@ filter_v_fn avg |
|
|
|
|
|
|
|
|
|
%macro filter_vx2_fn 1 |
|
|
|
|
%assign %%px mmsize |
|
|
|
|
cglobal %1_8tap_1d_v_ %+ %%px, 6, 8, 14, dst, dstride, src, sstride, h, filtery, src4, sstride3 |
|
|
|
|
cglobal vp9_%1_8tap_1d_v_ %+ %%px, 6, 8, 14, dst, dstride, src, sstride, h, filtery, src4, sstride3 |
|
|
|
|
mova m13, [pw_256] |
|
|
|
|
lea sstride3q, [sstrideq*3] |
|
|
|
|
lea src4q, [srcq+sstrideq] |
|
|
|
@ -348,11 +348,11 @@ filter_vx2_fn avg |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%if %2 <= 16 |
|
|
|
|
cglobal %1%2, 5, 7, 4, dst, dstride, src, sstride, h, dstride3, sstride3 |
|
|
|
|
cglobal vp9_%1%2, 5, 7, 4, dst, dstride, src, sstride, h, dstride3, sstride3 |
|
|
|
|
lea sstride3q, [sstrideq*3] |
|
|
|
|
lea dstride3q, [dstrideq*3] |
|
|
|
|
%else |
|
|
|
|
cglobal %1%2, 5, 5, 4, dst, dstride, src, sstride, h |
|
|
|
|
cglobal vp9_%1%2, 5, 5, 4, dst, dstride, src, sstride, h |
|
|
|
|
%endif |
|
|
|
|
.loop: |
|
|
|
|
%%srcfn m0, [srcq] |
|
|
|
|