1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.

This commit is contained in:
Ronald S. Bultje
2011-05-24 10:03:26 -04:00
parent 75abcdb391
commit e66149e714
16 changed files with 171 additions and 340 deletions

View File

@@ -116,12 +116,11 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t
32-bit C version, and and&add trick by Michael Niedermayer
*/
void sws_rgb2rgb_init(int flags)
void sws_rgb2rgb_init(void)
{
rgb2rgb_init_c();
#if HAVE_MMX2 || HAVE_AMD3DNOW || HAVE_MMX
rgb2rgb_init_x86(flags);
#endif /* HAVE_MMX2 || HAVE_AMD3DNOW || HAVE_MMX */
if (HAVE_MMX)
rgb2rgb_init_x86();
}
void rgb32to24(const uint8_t *src, uint8_t *dst, long src_size)