aboutsummaryrefslogtreecommitdiff
path: root/vp8/decoder/mips/dequantize_mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/decoder/mips/dequantize_mips.h')
-rwxr-xr-xvp8/decoder/mips/dequantize_mips.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/vp8/decoder/mips/dequantize_mips.h b/vp8/decoder/mips/dequantize_mips.h
new file mode 100755
index 000000000..732bda716
--- /dev/null
+++ b/vp8/decoder/mips/dequantize_mips.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+
+#ifndef DEQUANTIZE_MIPS_H
+#define DEQUANTIZE_MIPS_H
+
+extern prototype_dequant_idct_add(vp8_dequant_idct_add_mips);
+extern prototype_dequant_dc_idct_add(vp8_dequant_dc_idct_add_mips);
+extern prototype_dequant_dc_idct_add_y_block(vp8_dequant_dc_idct_add_y_block_mips);
+extern prototype_dequant_idct_add_y_block(vp8_dequant_idct_add_y_block_mips);
+extern prototype_dequant_idct_add_uv_block(vp8_dequant_idct_add_uv_block_mips);
+
+#if !CONFIG_RUNTIME_CPU_DETECT
+#undef vp8_dequant_idct_add
+#define vp8_dequant_idct_add vp8_dequant_idct_add_mips
+
+#undef vp8_dequant_dc_idct_add
+#define vp8_dequant_dc_idct_add vp8_dequant_dc_idct_add_mips
+
+#undef vp8_dequant_dc_idct_add_y_block
+#define vp8_dequant_dc_idct_add_y_block vp8_dequant_dc_idct_add_y_block_mips
+
+#undef vp8_dequant_idct_add_y_block
+#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_mips
+
+#undef vp8_dequant_idct_add_uv_block
+#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_mips
+
+#endif
+#endif \ No newline at end of file