[x265] [PATCH] asm: 16bpp code for quant and dequant_normal

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


>@@ -1154,8 +1151,11 @@
> ; void dequant_normal(const int32_t* quantCoef, int32_t* coef, int num, int scale, int shift)
> ;-----------------------------------------------------------------------------
> INIT_XMM sse4
>-cglobal dequant_normal, 2,5,8
>-    movd        m1, r3m             ; m1 = word [scale]
>+cglobal dequant_normal, 4,5,5
>+    movd        m1, r3             ; m1 = word [scale]
>+    cmp         r3d, 255
r3 is scale, it maximum is (72 << per), when QP more than 12, the code will enter slower path.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140220/2911f375/attachment.html>


More information about the x265-devel mailing list