Simplify mm_support() for ARM (by Måns).
Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
37dcd091da
commit
0abf0c5398
@ -205,11 +205,7 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block)
|
|||||||
|
|
||||||
int mm_support(void)
|
int mm_support(void)
|
||||||
{
|
{
|
||||||
int result = 0;
|
return ENABLE_IWMMXT * MM_IWMMXT;
|
||||||
#ifdef HAVE_IWMMXT
|
|
||||||
result |= MM_IWMMXT;
|
|
||||||
#endif /* result */
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
|
void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user