comparison armv4l/dsputil_iwmmxt.c @ 2979:bfabfdf9ce55 libavcodec

COSMETICS: tabs --> spaces, some prettyprinting
author diego
date Thu, 22 Dec 2005 01:10:11 +0000
parents 930e56f92c57
children 0b546eab515d
comparison
equal deleted inserted replaced
2978:403183bbb505 2979:bfabfdf9ce55
136 void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx) 136 void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx)
137 { 137 {
138 mm_flags = mm_support(); 138 mm_flags = mm_support();
139 139
140 if (avctx->dsp_mask) { 140 if (avctx->dsp_mask) {
141 if (avctx->dsp_mask & FF_MM_FORCE) 141 if (avctx->dsp_mask & FF_MM_FORCE)
142 mm_flags |= (avctx->dsp_mask & 0xffff); 142 mm_flags |= (avctx->dsp_mask & 0xffff);
143 else 143 else
144 mm_flags &= ~(avctx->dsp_mask & 0xffff); 144 mm_flags &= ~(avctx->dsp_mask & 0xffff);
145 } 145 }
146 146
147 if (!(mm_flags & MM_IWMMXT)) return; 147 if (!(mm_flags & MM_IWMMXT)) return;
148 148
149 c->add_pixels_clamped = add_pixels_clamped_iwmmxt; 149 c->add_pixels_clamped = add_pixels_clamped_iwmmxt;