make vp8_mv_pred() and vp8_cal_sad() available in real-time mode.
Unified · Split
| @@ -1419,6 +1419,7 @@ static int vp8_rd_pick_best_mbsegmentation(VP8_COMP *cpi, MACROBLOCK *x, · 1418 unmodified lines | |||
| 1419 | 1419 | ||
| 1420 | return bsi.segment_rd; | 1420 | return bsi.segment_rd; |
| 1421 | } | 1421 | } |
| 1422 | #endif | ||
| 1422 | 1423 | ||
| 1423 | static void swap(int *x,int *y) | 1424 | static void swap(int *x,int *y) |
| 1424 | { | 1425 | { |
| @@ -1706,6 +1707,7 @@ void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffse · 281 unmodified lines | |||
| 1706 | } | 1707 | } |
| 1707 | } | 1708 | } |
| 1708 | 1709 | ||
| 1710 | #if !(CONFIG_REALTIME_ONLY) | ||
| 1709 | int vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int recon_uvoffset, int *returnrate, int *returndistortion, int *returnintra) | 1711 | int vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int recon_uvoffset, int *returnrate, int *returndistortion, int *returnintra) |
| 1710 | { | 1712 | { |
| 1711 | BLOCK *b = &x->block[0]; | 1713 | BLOCK *b = &x->block[0]; |