changeset 11817:21566c95834c libavcodec

ARM: remove some unnecessary ifdefs, fix implicit declaration warnings
author mru
date Wed, 02 Jun 2010 22:07:54 +0000
parents 7c2369ec6faa
children fd38b5438c26
files arm/h264dsp_init_arm.c arm/h264pred_init_arm.c
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/arm/h264dsp_init_arm.c	Wed Jun 02 22:05:25 2010 +0000
+++ b/arm/h264dsp_init_arm.c	Wed Jun 02 22:07:54 2010 +0000
@@ -86,7 +86,6 @@
                             DCTELEM *block, int stride,
                             const uint8_t nnzc[6*8]);
 
-#if HAVE_NEON
 static void ff_h264dsp_init_neon(H264DSPContext *c)
 {
     c->h264_v_loop_filter_luma   = ff_h264_v_loop_filter_luma_neon;
@@ -118,7 +117,6 @@
     c->h264_idct_add16intra = ff_h264_idct_add16intra_neon;
     c->h264_idct_add8       = ff_h264_idct_add8_neon;
 }
-#endif
 
 void ff_h264dsp_init_arm(H264DSPContext *c)
 {
--- a/arm/h264pred_init_arm.c	Wed Jun 02 22:05:25 2010 +0000
+++ b/arm/h264pred_init_arm.c	Wed Jun 02 22:07:54 2010 +0000
@@ -42,7 +42,6 @@
 void ff_pred8x8_l00_dc_neon(uint8_t *src, int stride);
 void ff_pred8x8_0l0_dc_neon(uint8_t *src, int stride);
 
-#if HAVE_NEON
 static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id)
 {
     h->pred8x8[VERT_PRED8x8     ] = ff_pred8x8_vert_neon;
@@ -68,7 +67,6 @@
     if (codec_id != CODEC_ID_SVQ3 && codec_id != CODEC_ID_RV40)
         h->pred16x16[PLANE_PRED8x8  ] = ff_pred16x16_plane_neon;
 }
-#endif
 
 void ff_h264_pred_init_arm(H264PredContext *h, int codec_id)
 {