summaryrefslogtreecommitdiff
path: root/vp8/common/rtcd_defs.sh
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2012-08-02 14:26:04 -0700
committerJohann <johannkoenig@google.com>2012-08-02 15:26:24 -0700
commit4b0b43632bdb268222b1647771a1cf748235f61e (patch)
tree227d3e032b114a618b60ec8465431074d14d5485 /vp8/common/rtcd_defs.sh
parent0e17ee56e808891f17da7460c2210c3b14b57f1f (diff)
downloadlibvpx-4b0b43632bdb268222b1647771a1cf748235f61e.tar
libvpx-4b0b43632bdb268222b1647771a1cf748235f61e.tar.gz
libvpx-4b0b43632bdb268222b1647771a1cf748235f61e.tar.bz2
libvpx-4b0b43632bdb268222b1647771a1cf748235f61e.zip
Pass B_PREDICTION_MODE to intra4x4_predict
Use the correct type when calling and inside the function. Change-Id: Idbaf1bf58b9574f0cba73d78780e9aedd8889dfd
Diffstat (limited to 'vp8/common/rtcd_defs.sh')
-rw-r--r--vp8/common/rtcd_defs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/vp8/common/rtcd_defs.sh b/vp8/common/rtcd_defs.sh
index 29b871ded..05d0df4f4 100644
--- a/vp8/common/rtcd_defs.sh
+++ b/vp8/common/rtcd_defs.sh
@@ -1,5 +1,7 @@
common_forward_decls() {
cat <<EOF
+#include "vp8/common/blockd.h"
+
struct blockd;
struct macroblockd;
struct loop_filter_info;
@@ -144,7 +146,7 @@ specialize vp8_build_intra_predictors_mby_s sse2 ssse3
prototype void vp8_build_intra_predictors_mbuv_s "struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride"
specialize vp8_build_intra_predictors_mbuv_s sse2 ssse3
-prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left"
+prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left"
# No existing specializations
#