Browse Source

renaming ARCH_BFIN to HAVE_BFIN

Originally committed as revision 24309 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Marc Hoffman 18 years ago
parent
commit
49488d12bf
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libswscale/swscale.c
  2. +1
    -1
      libswscale/swscale_internal.h
  3. +1
    -1
      libswscale/yuv2rgb.c

+ 1
- 1
libswscale/swscale.c View File

@@ -2041,7 +2041,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
flags |= SWS_CPU_CAPS_MMX;
#elif defined (HAVE_ALTIVEC)
flags |= SWS_CPU_CAPS_ALTIVEC;
#elif defined (ARCH_BFIN)
#elif defined (HAVE_BFIN)
flags |= SWS_CPU_CAPS_BFIN;
#endif
#endif /* RUNTIME_CPUDETECT */


+ 1
- 1
libswscale/swscale_internal.h View File

@@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif


#ifdef ARCH_BFIN
#ifdef HAVE_BFIN
uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4)));


+ 1
- 1
libswscale/yuv2rgb.c View File

@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
}
#endif

#ifdef ARCH_BFIN
#ifdef HAVE_BFIN
if (c->flags & SWS_CPU_CAPS_BFIN)
{
SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);


Loading…
Cancel
Save