diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-25 17:16:55 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-25 17:16:55 +0000 |
commit | acf20201dbb99020c694c0d4edd31ddc7e17c44b (patch) | |
tree | 4bdac2f567868da20e4cbda19a98519a95623ab9 /postproc/rgb2rgb_template.c | |
parent | c186b34afa6cd610da1fe555de8faf52125b2be8 (diff) | |
download | mpv-acf20201dbb99020c694c0d4edd31ddc7e17c44b.tar.bz2 mpv-acf20201dbb99020c694c0d4edd31ddc7e17c44b.tar.xz |
remove remaining cpudetect dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9988 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/rgb2rgb_template.c')
-rw-r--r-- | postproc/rgb2rgb_template.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index 01ba6ed6f2..cedbf700a7 100644 --- a/postproc/rgb2rgb_template.c +++ b/postproc/rgb2rgb_template.c @@ -241,17 +241,6 @@ static inline void RENAME(rgb15to16)(const uint8_t *src,uint8_t *dst,unsigned sr } } -static inline void RENAME(bgr24torgb24)(const uint8_t *src, uint8_t *dst, unsigned src_size) -{ - unsigned j,i,num_pixels=src_size/3; - for(i=0,j=0; j<num_pixels; i+=3,j+=3) - { - dst[j+0] = src[i+2]; - dst[j+1] = src[i+1]; - dst[j+2] = src[i+0]; - } -} - static inline void RENAME(rgb16to15)(const uint8_t *src,uint8_t *dst,unsigned src_size) { register const uint8_t* s=src; |