[FFmpeg-devel] [PATCH 1/2] Rename FF_MM_ symbols related to MultiMedia CPU features as AV_CPU_MM_ symbols, as they are public, and move them from libavcodec/avcodec.h to libavutil/cpu.h.

Stefano Sabatini stefano.sabatini-lala
Mon Aug 30 01:27:07 CEST 2010


On date Sunday 2010-08-29 23:59:35 +0100, M?ns Rullg?rd encoded:
> Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
[...]
> > --- a/libavcodec/arm/dsputil_init_arm.c
> > +++ b/libavcodec/arm/dsputil_init_arm.c
> > @@ -75,7 +75,7 @@ static void simple_idct_arm_add(uint8_t *dest, int line_size, DCTELEM *block)
> >
> >  int mm_support(void)
> >  {
> > -    return HAVE_IWMMXT * FF_MM_IWMMXT;
> > +    return HAVE_IWMMXT * AV_CPU_MM_IWMMXT;
> >  }
> 
> Is the MM part really needed?

Are not those flags related to MultiMedia extensions?

If not then we may have:
AV_CPU_*
av_get_cpu_flags()

Regards.
-- 
FFmpeg = Faithful Frightening Magnificient Powerful Ecletic Goblin



More information about the ffmpeg-devel mailing list