[FFmpeg-cvslog] r23437 - in trunk/libavcodec/arm: h264dsp_init_arm.c h264pred_init_arm.c
mru
subversion
Thu Jun 3 00:07:54 CEST 2010
Author: mru
Date: Thu Jun 3 00:07:54 2010
New Revision: 23437
Log:
ARM: remove some unnecessary ifdefs, fix implicit declaration warnings
Modified:
trunk/libavcodec/arm/h264dsp_init_arm.c
trunk/libavcodec/arm/h264pred_init_arm.c
Modified: trunk/libavcodec/arm/h264dsp_init_arm.c
==============================================================================
--- trunk/libavcodec/arm/h264dsp_init_arm.c Thu Jun 3 00:05:25 2010 (r23436)
+++ trunk/libavcodec/arm/h264dsp_init_arm.c Thu Jun 3 00:07:54 2010 (r23437)
@@ -86,7 +86,6 @@ void ff_h264_idct_add8_neon(uint8_t **de
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 @@ static void ff_h264dsp_init_neon(H264DSP
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)
{
Modified: trunk/libavcodec/arm/h264pred_init_arm.c
==============================================================================
--- trunk/libavcodec/arm/h264pred_init_arm.c Thu Jun 3 00:05:25 2010 (r23436)
+++ trunk/libavcodec/arm/h264pred_init_arm.c Thu Jun 3 00:07:54 2010 (r23437)
@@ -42,7 +42,6 @@ void ff_pred8x8_0lt_dc_neon(uint8_t *src
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 @@ static void ff_h264_pred_init_neon(H264P
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)
{
More information about the ffmpeg-cvslog
mailing list