diff options
author | Johann <johannkoenig@google.com> | 2011-06-29 10:51:41 -0400 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2011-06-29 10:51:41 -0400 |
commit | 6611f6697849a94888974b81378390cd2bb5bd41 (patch) | |
tree | 3ac145efcd4951c786613cccfe6800ae14c177e9 /vp8/encoder | |
parent | f3a13cb236754734c4b0cdf55bf7e277f91e519c (diff) | |
download | libvpx-6611f6697849a94888974b81378390cd2bb5bd41.tar libvpx-6611f6697849a94888974b81378390cd2bb5bd41.tar.gz libvpx-6611f6697849a94888974b81378390cd2bb5bd41.tar.bz2 libvpx-6611f6697849a94888974b81378390cd2bb5bd41.zip |
clean up warnings when building arm with rtcd
Change-Id: I3683cb87e9cb7c36fc22c1d70f0799c7c46a21df
Diffstat (limited to 'vp8/encoder')
-rw-r--r-- | vp8/encoder/arm/arm_csystemdependent.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/vp8/encoder/arm/arm_csystemdependent.c b/vp8/encoder/arm/arm_csystemdependent.c index 56c858c71..89f8136fe 100644 --- a/vp8/encoder/arm/arm_csystemdependent.c +++ b/vp8/encoder/arm/arm_csystemdependent.c @@ -22,12 +22,15 @@ void vp8_arch_arm_encoder_init(VP8_COMP *cpi) { #if CONFIG_RUNTIME_CPU_DETECT int flags = cpi->common.rtcd.flags; - int has_edsp = flags & HAS_EDSP; - int has_media = flags & HAS_MEDIA; - int has_neon = flags & HAS_NEON; + +#if HAVE_ARMV5TE + if (flags & HAS_EDSP) + { + } +#endif #if HAVE_ARMV6 - if (has_media) + if (flags & HAS_MEDIA) { cpi->rtcd.variance.sad16x16 = vp8_sad16x16_armv6; /*cpi->rtcd.variance.sad16x8 = vp8_sad16x8_c; @@ -74,7 +77,7 @@ void vp8_arch_arm_encoder_init(VP8_COMP *cpi) #endif #if HAVE_ARMV7 - if (has_neon) + if (flags & HAS_NEON) { cpi->rtcd.variance.sad16x16 = vp8_sad16x16_neon; cpi->rtcd.variance.sad16x8 = vp8_sad16x8_neon; @@ -124,7 +127,7 @@ void vp8_arch_arm_encoder_init(VP8_COMP *cpi) #if HAVE_ARMV7 #if CONFIG_RUNTIME_CPU_DETECT - if (has_neon) + if (flags & HAS_NEON) #endif { vp8_yv12_copy_partial_frame_ptr = vpxyv12_copy_partial_frame_neon; |