From 70c25c62051f018cb2d2c2b51bd2d631a4c61650 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Oct 2012 18:39:44 +0100 Subject: sws: move fillPlane16() to header so it can be used from more than 1 place Signed-off-by: Michael Niedermayer --- libswscale/swscale_unscaled.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'libswscale/swscale_unscaled.c') diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index ba0303c252..f35d1ba352 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -139,26 +139,6 @@ static void fillPlane(uint8_t *plane, int stride, int width, int height, int y, } } -static void fillPlane16(uint8_t *plane, int stride, int width, int height, int y, - int alpha, int bits, const int big_endian) -{ - int i, j; - uint8_t *ptr = plane + stride * y; - int v = alpha ? 0xFFFF>>(15-bits) : (1<