Revision 69796008 libswscale/swscale.c

View differences:

libswscale/swscale.c
193 193
static const uint64_t bgr2YCoeff  attribute_used __attribute__((aligned(8))) = 0x000020E540830C8BULL;
194 194
static const uint64_t bgr2UCoeff  attribute_used __attribute__((aligned(8))) = 0x0000ED0FDAC23831ULL;
195 195
static const uint64_t bgr2VCoeff  attribute_used __attribute__((aligned(8))) = 0x00003831D0E6F6EAULL;
196
#endif
196
#endif /* FAST_BGR2YV12 */
197 197
static const uint64_t bgr2YOffset attribute_used __attribute__((aligned(8))) = 0x1010101010101010ULL;
198 198
static const uint64_t bgr2UVOffset attribute_used __attribute__((aligned(8)))= 0x8080808080808080ULL;
199 199
static const uint64_t w1111       attribute_used __attribute__((aligned(8))) = 0x0001000100010001ULL;
200
#endif
200
#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
201 201

  
202 202
// clipping helper table for C implementations:
203 203
static unsigned char clip_table[768];
......
1428 1428
	  return swScale_C;
1429 1429
#endif
1430 1430
	return swScale_C;
1431
#endif
1431
#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
1432 1432
#else //RUNTIME_CPUDETECT
1433 1433
#ifdef HAVE_MMX2
1434 1434
	return swScale_MMX2;
......
1868 1868
#elif defined (HAVE_ALTIVEC)
1869 1869
	flags |= SWS_CPU_CAPS_ALTIVEC;
1870 1870
#endif
1871
#endif
1871
#endif /* RUNTIME_CPUDETECT */
1872 1872
	if(clip_table[512] != 255) globalInit();
1873 1873
	if(rgb15to16 == NULL) sws_rgb2rgb_init(flags);
1874 1874

  
......
2113 2113
			initMMX2HScaler(      dstW, c->lumXInc, c->funnyYCode , c->lumMmx2Filter, c->lumMmx2FilterPos, 8);
2114 2114
			initMMX2HScaler(c->chrDstW, c->chrXInc, c->funnyUVCode, c->chrMmx2Filter, c->chrMmx2FilterPos, 4);
2115 2115
		}
2116
#endif
2116
#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
2117 2117
	} // Init Horizontal stuff
2118 2118

  
2119 2119

  
......
2712 2712
#endif
2713 2713
	c->funnyYCode=NULL;
2714 2714
	c->funnyUVCode=NULL;
2715
#endif
2715
#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
2716 2716

  
2717 2717
	av_free(c->lumMmx2Filter);
2718 2718
	c->lumMmx2Filter=NULL;

Also available in: Unified diff