summaryrefslogtreecommitdiff
path: root/vp8/encoder/firstpass.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2012-01-12 16:55:44 -0800
committerJohn Koleszar <jkoleszar@google.com>2012-01-30 12:10:48 -0800
commit109b69a70696701f5d886a21719cf62d75782fa1 (patch)
tree488dfc3dfdc0398cd79226b4bb6aa74a3a302734 /vp8/encoder/firstpass.c
parent0b0bc8d098a6c009b27357a68275ec25af18e7a4 (diff)
downloadlibvpx-109b69a70696701f5d886a21719cf62d75782fa1.tar
libvpx-109b69a70696701f5d886a21719cf62d75782fa1.tar.gz
libvpx-109b69a70696701f5d886a21719cf62d75782fa1.tar.bz2
libvpx-109b69a70696701f5d886a21719cf62d75782fa1.zip
RTCD: add arnr functions
This commit continues the process of converting to the new RTCD system. It removes the last of the VP8_ENCODER_RTCD struct references. Change-Id: I2a44f52d7cccf5177e1ca98a028ead570d045395
Diffstat (limited to 'vp8/encoder/firstpass.c')
-rw-r--r--vp8/encoder/firstpass.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index 09f184c6b..6e5532c01 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -31,12 +31,6 @@
//#define OUTPUT_FPF 1
-#if CONFIG_RUNTIME_CPU_DETECT
-#define IF_RTCD(x) (x)
-#else
-#define IF_RTCD(x) NULL
-#endif
-
extern void vp8_build_block_offsets(MACROBLOCK *x);
extern void vp8_setup_block_ptrs(MACROBLOCK *x);
extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi);
@@ -674,7 +668,7 @@ void vp8_first_pass(VP8_COMP *cpi)
d->bmi.mv.as_mv.col <<= 3;
this_error = motion_error;
vp8_set_mbmode_and_mvs(x, NEWMV, &d->bmi.mv);
- vp8_encode_inter16x16y(IF_RTCD(&cpi->rtcd), x);
+ vp8_encode_inter16x16y(x);
sum_mvr += d->bmi.mv.as_mv.row;
sum_mvr_abs += abs(d->bmi.mv.as_mv.row);
sum_mvc += d->bmi.mv.as_mv.col;