From 7dfe244fbd9a3c0a24cac441a4ec777da8f3a666 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 19 Apr 2011 21:25:10 +0200 Subject: sws: remove disabled cruft. --- libswscale/rgb2rgb.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'libswscale/rgb2rgb.c') diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 12d6287a4b..74cc42e3b0 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -124,34 +124,6 @@ void sws_rgb2rgb_init(int flags) #endif /* HAVE_MMX2 || HAVE_AMD3DNOW || HAVE_MMX */ } -#if LIBSWSCALE_VERSION_MAJOR < 1 -void palette8topacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette) -{ - sws_convertPalette8ToPacked32(src, dst, num_pixels, palette); -} - -void palette8topacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette) -{ - sws_convertPalette8ToPacked24(src, dst, num_pixels, palette); -} - -/** - * Palette is assumed to contain BGR16, see rgb32to16 to convert the palette. - */ -void palette8torgb16(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette) -{ - long i; - for (i=0; i