<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 12, 2013 at 9:35 AM, Nabajit Deka <span dir="ltr"><<a href="mailto:nabajit@multicorewareinc.com" target="_blank">nabajit@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Function prototype is wrong here, dst should be int16_t *dst.</div></blockquote><div><br></div><div>waiting for a resend of this series</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 12, 2013 at 8:36 PM, <span dir="ltr"><<a href="mailto:nabajit@multicorewareinc.com" target="_blank">nabajit@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Nabajit Deka<br>
# Date 1384268587 -19800<br>
# Tue Nov 12 20:33:07 2013 +0530<br>
# Node ID 676529ca9c45a14e54a1ad0976252b03fdcd9cd2<br>
# Parent c9851effbce88c9a70f712fbfaf7e83616c5615f<br>
asm: routines for chroma hps filter functions for 8xN block size.<br>
<br>
diff -r c9851effbce8 -r 676529ca9c45 source/common/x86/ipfilter8.asm<br>
--- a/source/common/x86/ipfilter8.asm Tue Nov 12 20:24:34 2013 +0530<br>
+++ b/source/common/x86/ipfilter8.asm Tue Nov 12 20:33:07 2013 +0530<br>
@@ -3600,3 +3600,62 @@<br>
<br>
FILTER_HORIZ_CHROMA 6, 8<br>
FILTER_HORIZ_CHROMA 12, 16<br>
+<br>
+%macro PROCESS_CHROMA_W8 3<br>
+ movu %1, [srcq - 1]<br>
+ pshufb %2, %1, Tm0<br>
+ pmaddubsw %2, coef2<br>
+ pshufb %1, %1, Tm1<br>
+ pmaddubsw %1, coef2<br>
+ phaddw %2, %1<br>
+ psubw %2, %3<br>
+ movu [dstq], %2<br>
+%endmacro<br>
+<br>
+;-----------------------------------------------------------------------------<br>
+; void interp_4tap_horiz_pp_%1x%2(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)<br>
+;-----------------------------------------------------------------------------<br>
+%macro FILTER_HORIZ_CHROMA_8xN 2<br>
+INIT_XMM sse4<br>
+cglobal interp_4tap_horiz_ps_%1x%2, 4, 6, 6, src, srcstride, dst, dststride<br>
+%define coef2 m5<br>
+%define Tm0 m4<br>
+%define Tm1 m3<br>
+%define t2 m2<br>
+%define t1 m1<br>
+%define t0 m0<br>
+<br>
+mov r4d, r4m<br>
+add dststrided, dststrided<br>
+<br>
+%ifdef PIC<br>
+lea r5, [tab_ChromaCoeff]<br>
+movd coef2, [r5 + r4 * 4]<br>
+%else<br>
+movd coef2, [tab_ChromaCoeff + r4 * 4]<br>
+%endif<br>
+<br>
+mov r5d, %2<br>
+<br>
+pshufd coef2, coef2, 0<br>
+mova t2, [tab_c_8192]<br>
+mova Tm0, [tab_Tm]<br>
+mova Tm1, [tab_Tm + 16]<br>
+<br>
+.loop<br>
+PROCESS_CHROMA_W8 t0, t1, t2<br>
+add srcq, srcstrideq<br>
+add dstq, dststrideq<br>
+<br>
+dec r5d<br>
+jnz .loop<br>
+<br>
+RET<br>
+%endmacro<br>
+<br>
+FILTER_HORIZ_CHROMA_8xN 8, 2<br>
+FILTER_HORIZ_CHROMA_8xN 8, 4<br>
+FILTER_HORIZ_CHROMA_8xN 8, 6<br>
+FILTER_HORIZ_CHROMA_8xN 8, 8<br>
+FILTER_HORIZ_CHROMA_8xN 8, 16<br>
+FILTER_HORIZ_CHROMA_8xN 8, 32<br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>