Define mm_support() for ARM.
Patch by Matthieu Castet <castet matthieu free fr> Originally committed as revision 14032 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fe4a5b185f
commit
37dcd091da
1 changed files with 9 additions and 0 deletions
|
|
@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block)
|
|||
}
|
||||
#endif
|
||||
|
||||
int mm_support(void)
|
||||
{
|
||||
int result = 0;
|
||||
#ifdef HAVE_IWMMXT
|
||||
result |= MM_IWMMXT;
|
||||
#endif /* result */
|
||||
return result;
|
||||
}
|
||||
|
||||
void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
|
||||
{
|
||||
int idct_algo= avctx->idct_algo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue