From dfe224f377be3e45758c69d881ca7874b82d647a Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 13 Jan 2014 01:06:20 +0100 Subject: aarch64: get_cabac inline asm Based on the x86 branchless get_cabac asm. get_cabac_noinline() gets approximately 20% faster (no cycle counts available) compared to clang from Xcode 5.1 beta5. More than 6% faster overall. A part of the overall speedup might be explained by additional inlining of get_cabac(). --- libavcodec/cabac.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 7401bc96a9..426f338e34 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -31,6 +31,7 @@ #include "put_bits.h" +extern uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63]; #define H264_NORM_SHIFT_OFFSET 0 #define H264_LPS_RANGE_OFFSET 512 #define H264_MLPS_STATE_OFFSET 1024 -- cgit v1.2.3