[x265] [PATCH] asm: added 16bpp support for dct[4x4, 8x8], idct4x4, dst4x4 and idst4x4 primitives

chen chenm003 at 163.com
Wed Feb 19 18:40:16 CET 2014


>@@ -365,11 +360,18 @@
> ;void idst4(int32_t *src, int16_t *dst, intptr_t stride)
> ;-------------------------------------------------------
> INIT_XMM sse2
>-cglobal idst4, 3, 4, 6
>-
>+cglobal idst4, 3, 4, 7
>+%if BIT_DEPTH == 8
>+  %define m6  [pd_2048]
>+  %define IDCT4_SHIFT 12
>+%elif BIT_DEPTH == 10
>+  %define m6  [pd_512]
>+  %define IDCT4_SHIFT 10
>+%else
>+  %error Unsupported BIT_DEPTH!
>+%endif

why do a new define on register name macro?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140220/f30830f1/attachment-0001.html>


More information about the x265-devel mailing list