ref: 58d2e70fc523a0e716902fd940a3bb4f8a7e8f0f
parent: 350ffe8dae8e11fb4d00b00c467c1c99ca797f8b
author: Yunqing Wang <yunqingwang@google.com>
date: Mon Feb 7 03:21:14 EST 2011
Fix link error in real-time mode make vp8_mv_pred() and vp8_cal_sad() available in real-time mode. Change-Id: I71dbae241b486ba943458dcbae552ec4a51689d3
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -1419,6 +1419,7 @@
return bsi.segment_rd;
}
+#endif
static void swap(int *x,int *y)
{
@@ -1706,6 +1707,7 @@
}
}
+#if !(CONFIG_REALTIME_ONLY)
int vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int recon_uvoffset, int *returnrate, int *returndistortion, int *returnintra)
{
BLOCK *b = &x->block[0];