comparison arm/h264dsp_init_arm.c @ 11817:21566c95834c libavcodec

ARM: remove some unnecessary ifdefs, fix implicit declaration warnings
author mru
date Wed, 02 Jun 2010 22:07:54 +0000
parents 2a4dc3c0b012
children ba14e3adeccd
comparison
equal deleted inserted replaced
11816:7c2369ec6faa 11817:21566c95834c
84 const uint8_t nnzc[6*8]); 84 const uint8_t nnzc[6*8]);
85 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset, 85 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset,
86 DCTELEM *block, int stride, 86 DCTELEM *block, int stride,
87 const uint8_t nnzc[6*8]); 87 const uint8_t nnzc[6*8]);
88 88
89 #if HAVE_NEON
90 static void ff_h264dsp_init_neon(H264DSPContext *c) 89 static void ff_h264dsp_init_neon(H264DSPContext *c)
91 { 90 {
92 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; 91 c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
93 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; 92 c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon;
94 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon; 93 c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon;
116 c->h264_idct_dc_add = ff_h264_idct_dc_add_neon; 115 c->h264_idct_dc_add = ff_h264_idct_dc_add_neon;
117 c->h264_idct_add16 = ff_h264_idct_add16_neon; 116 c->h264_idct_add16 = ff_h264_idct_add16_neon;
118 c->h264_idct_add16intra = ff_h264_idct_add16intra_neon; 117 c->h264_idct_add16intra = ff_h264_idct_add16intra_neon;
119 c->h264_idct_add8 = ff_h264_idct_add8_neon; 118 c->h264_idct_add8 = ff_h264_idct_add8_neon;
120 } 119 }
121 #endif
122 120
123 void ff_h264dsp_init_arm(H264DSPContext *c) 121 void ff_h264dsp_init_arm(H264DSPContext *c)
124 { 122 {
125 if (HAVE_NEON) ff_h264dsp_init_neon(c); 123 if (HAVE_NEON) ff_h264dsp_init_neon(c);
126 } 124 }