diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-25 17:16:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-25 17:16:55 +0000 |
commit | 700490a4d119aad0627821da025ac522a92cac5f (patch) | |
tree | ad15e39643c55c7e68f3709b96e05ebd72f65dbc /postproc/rgb2rgb_template.c | |
parent | 93d45466335db2e4a69155b5871d6aa5d6215907 (diff) | |
download | ffmpeg-700490a4d119aad0627821da025ac522a92cac5f.tar.gz |
remove remaining cpudetect dependancy
Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
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; |