From c0038328830d7b341c28d7c99b0236a33617fd21 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 13 Apr 2011 20:57:29 +0200 Subject: swscale: move away x86 specific code from rgb2rgb Keep only the plain C code in the main rgb2rgb.c and move the x86 specific optimizations to x86/rgb2rgb.c Change the initialization pattern a little so some of it can be factorized to behave more like dsputils. --- libswscale/rgb2rgb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libswscale/rgb2rgb.h') diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h index 1ef4feeb0b..bde1134541 100644 --- a/libswscale/rgb2rgb.h +++ b/libswscale/rgb2rgb.h @@ -168,4 +168,6 @@ extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u void sws_rgb2rgb_init(int flags); +void rgb2rgb_init_x86(int flags); + #endif /* SWSCALE_RGB2RGB_H */ -- cgit v1.2.3