diff options
author | Måns Rullgård <mans@mansr.com> | 2006-11-14 03:12:29 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-11-14 03:12:29 +0000 |
commit | be6ed6fff4cace79a2c17094ad716bc0944a4274 (patch) | |
tree | 7f152718973ecd354ebd9cde2bfc16ad9ed37c23 /libavcodec/armv4l | |
parent | 8233b75041c4fca97dd71087ba888576be86a0f9 (diff) | |
download | ffmpeg-streaming-be6ed6fff4cace79a2c17094ad716bc0944a4274.zip ffmpeg-streaming-be6ed6fff4cace79a2c17094ad716bc0944a4274.tar.gz |
move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l')
-rw-r--r-- | libavcodec/armv4l/dsputil_iwmmxt.c | 10 | ||||
-rw-r--r-- | libavcodec/armv4l/mpegvideo_iwmmxt.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/armv4l/dsputil_iwmmxt.c b/libavcodec/armv4l/dsputil_iwmmxt.c index d7401e7..70f14d7 100644 --- a/libavcodec/armv4l/dsputil_iwmmxt.c +++ b/libavcodec/armv4l/dsputil_iwmmxt.c @@ -128,7 +128,7 @@ static void nop(uint8_t *block, const uint8_t *pixels, int line_size, int h) return; } -int mm_flags; /* multimedia extension flags */ +int ff_mm_flags; /* multimedia extension flags */ int mm_support(void) { @@ -137,16 +137,16 @@ int mm_support(void) void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx) { - mm_flags = mm_support(); + ff_mm_flags = mm_support(); if (avctx->dsp_mask) { if (avctx->dsp_mask & FF_MM_FORCE) - mm_flags |= (avctx->dsp_mask & 0xffff); + ff_mm_flags |= (avctx->dsp_mask & 0xffff); else - mm_flags &= ~(avctx->dsp_mask & 0xffff); + ff_mm_flags &= ~(avctx->dsp_mask & 0xffff); } - if (!(mm_flags & MM_IWMMXT)) return; + if (!(ff_mm_flags & MM_IWMMXT)) return; c->add_pixels_clamped = add_pixels_clamped_iwmmxt; diff --git a/libavcodec/armv4l/mpegvideo_iwmmxt.c b/libavcodec/armv4l/mpegvideo_iwmmxt.c index 1336ac5..ba42a39 100644 --- a/libavcodec/armv4l/mpegvideo_iwmmxt.c +++ b/libavcodec/armv4l/mpegvideo_iwmmxt.c @@ -110,7 +110,7 @@ static void dct_unquantize_h263_inter_iwmmxt(MpegEncContext *s, void MPV_common_init_iwmmxt(MpegEncContext *s) { - if (!(mm_flags & MM_IWMMXT)) return; + if (!(ff_mm_flags & MM_IWMMXT)) return; s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_iwmmxt; #if 0 |