aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/vp8.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-01 22:38:15 +0000
committerMans Rullgard <mans@mansr.com>2011-02-11 15:48:11 +0000
commita7878c9f73c12cfa685bd8af8f3afcca85f56a8b (patch)
tree8d78fafcffa217021277ffe000f35edaa9e9adae /libavcodec/arm/vp8.h
parent7da48fd0111adf504cfcfc5ebda7fd0681968041 (diff)
downloadffmpeg-a7878c9f73c12cfa685bd8af8f3afcca85f56a8b.tar.gz
VP8: ARM optimised decode_block_coeffs_internal
Approximately 5% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/vp8.h')
-rw-r--r--libavcodec/arm/vp8.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/arm/vp8.h b/libavcodec/arm/vp8.h
new file mode 100644
index 0000000000..90e7344b62
--- /dev/null
+++ b/libavcodec/arm/vp8.h
@@ -0,0 +1,29 @@
+/**
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_ARM_VP8_H
+#define AVCODEC_ARM_VP8_H
+
+#if HAVE_ARMV6
+#define decode_block_coeffs_internal ff_decode_block_coeffs_armv6
+int ff_decode_block_coeffs_armv6(VP56RangeCoder *rc, DCTELEM block[16],
+ uint8_t probs[8][3][NUM_DCT_TOKENS-1],
+ int i, uint8_t *token_prob, int16_t qmul[2]);
+#endif
+
+#endif