diff postproc/rgb2rgb_template.c @ 9987:988c2ffc5bc1

remove remaining cpudetect dependancy
author michael
date Fri, 25 Apr 2003 17:16:55 +0000
parents 50ef22bcc0c3
children a32fb6812221
line wrap: on
line diff
--- a/postproc/rgb2rgb_template.c	Fri Apr 25 13:57:17 2003 +0000
+++ b/postproc/rgb2rgb_template.c	Fri Apr 25 17:16:55 2003 +0000
@@ -241,17 +241,6 @@
     }
 }
 
-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;