From: Janne Grunau Date: Thu, 20 Aug 2015 11:55:54 +0000 (+0200) Subject: aarch64: Skip deblocking in 264_deblock_h_chroma_422_neon X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3d86abab097fa26d116112f188458269c6a0415f;p=x264 aarch64: Skip deblocking in 264_deblock_h_chroma_422_neon If the parameters (alpha, beta, tc0[]) indicated that the deblocking should have been skipped, every 2nd chrome line would have deblocked anyway. deblock_h_chroma_422_neon: 2259 (before) deblock_h_chroma_422_neon: 2192 (after) --- diff --git a/common/aarch64/deblock-a.S b/common/aarch64/deblock-a.S index e051a6a1..dafd8291 100644 --- a/common/aarch64/deblock-a.S +++ b/common/aarch64/deblock-a.S @@ -31,9 +31,9 @@ ldr w6, [x4] ccmp w3, #0, #0, ne mov v24.s[0], w6 - and w6, w6, w6, lsl #16 + and w8, w6, w6, lsl #16 b.eq 1f - ands w6, w6, w6, lsl #8 + ands w8, w8, w8, lsl #8 b.ge 2f 1: ret @@ -474,10 +474,11 @@ endfunc function x264_deblock_h_chroma_422_neon, export=1 add x5, x0, x1 + sub x0, x0, #4 add x1, x1, x1 + h264_loop_filter_start mov x7, x30 - bl X(x264_deblock_h_chroma_neon) - ldr w6, [x4] + bl deblock_h_chroma mov x30, x7 sub x0, x5, #4 mov v24.s[0], w6