diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-12 13:03:41 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-12 13:03:41 +0000 |
commit | a51125b52f5e23673782a421cb219b55933f4cec (patch) | |
tree | 5eb2dc71ca27c3e481d5fe546cb45c2532b7cee2 /libswscale/rgb2rgb_template.c | |
parent | c7d89948a3b74bf813afccc346a1a1463a28f34d (diff) | |
download | ffmpeg-a51125b52f5e23673782a421cb219b55933f4cec.tar.gz |
rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()
Originally committed as revision 32190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r-- | libswscale/rgb2rgb_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index 8112dab5bf..663514a76e 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -1225,7 +1225,7 @@ static inline void RENAME(rgb16to32)(const uint8_t *src, uint8_t *dst, long src_ } } -static inline void RENAME(rgb32tobgr32)(const uint8_t *src, uint8_t *dst, long src_size) +static inline void RENAME(shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst, long src_size) { x86_reg idx = 15 - src_size; const uint8_t *s = src-idx; @@ -2912,7 +2912,7 @@ static inline void RENAME(rgb2rgb_init)(void) rgb24to15 = RENAME(rgb24to15); rgb24to16 = RENAME(rgb24to16); rgb24tobgr24 = RENAME(rgb24tobgr24); - rgb32tobgr32 = RENAME(rgb32tobgr32); + shuffle_bytes_2103 = RENAME(shuffle_bytes_2103); rgb32tobgr16 = RENAME(rgb32tobgr16); rgb32tobgr15 = RENAME(rgb32tobgr15); yv12toyuy2 = RENAME(yv12toyuy2); |