[FFmpeg-devel] [PATCH 6/9] avcodec: [loongson] optimize get_cabac_inline with asm.
Shiyou Yin
yinshiyou-hf at loongson.cn
Wed Jul 11 12:46:03 EEST 2018
Optimize function get_cabac_inline with asm for loongson platform.
Change-Id: I538ad5c2d2fc20793aa36b6697c956a1b5ddbc78
Signed-off-by: Shiyou Yin <yinshiyou-hf at loongson.cn>
---
libavcodec/cabac_functions.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h
index fe72a82..bb2b421 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;
--
2.1.0
More information about the ffmpeg-devel
mailing list