diff options
author | Shiyou Yin <yinshiyou-hf@loongson.cn> | 2018-09-18 05:59:41 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-09-19 19:33:59 +0300 |
commit | ba175578d14e6c8f5df8b63bdbb3bcac86dcdc30 (patch) | |
tree | e57941b2295358ac002826df9529d59c479bced6 /libavcodec/cabac_functions.h | |
parent | cd732ac4728082967208f63a5a4fc5b91b96dee9 (diff) |
avcodec: [loongson] optimize get_cabac_inline.
This optimization improved h264 decoding performance about 4%(from 74fps to 77fps, tested on loongson 3A3000).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cabac_functions.h')
-rw-r--r-- | libavcodec/cabac_functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h index fe72a826cf..bb2b4210b7 100644 --- a/libavcodec/cabac_functions.h +++ b/libavcodec/cabac_functions.h @@ -45,6 +45,9 @@ #if ARCH_X86 # include "x86/cabac.h" #endif +#if ARCH_MIPS +# include "mips/cabac.h" +#endif static const uint8_t * const ff_h264_norm_shift = ff_h264_cabac_tables + H264_NORM_SHIFT_OFFSET; static const uint8_t * const ff_h264_lps_range = ff_h264_cabac_tables + H264_LPS_RANGE_OFFSET; |