From 4ce0a94656591eb2a6f567e0c6778e2cc96c17b0 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 28 Jul 2011 12:30:19 +0200 Subject: [PATCH] lsws: remove deprecated and unused stuff after the 0->1 major bump --- libswscale/rgb2rgb.c | 28 ---------------------------- libswscale/rgb2rgb.h | 11 ----------- libswscale/swscale.h | 16 ---------------- libswscale/swscale_unscaled.c | 8 -------- libswscale/utils.c | 7 ------- 5 files changed, 70 deletions(-) diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 84ef43b774..9a7f698935 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -123,34 +123,6 @@ void sws_rgb2rgb_init(void) rgb2rgb_init_x86(); } -#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