diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-03-25 16:35:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-03-25 16:35:24 +0000 |
commit | 5d55fdb40b1734d44e038f92570338d054346328 (patch) | |
tree | 6c8665044940fffb382b622fc6f4eac07654573a /postproc/rgb2rgb.h | |
parent | 2a164b253ccac54828eda76b423885d0dc6e99d4 (diff) | |
download | ffmpeg-5d55fdb40b1734d44e038f92570338d054346328.tar.gz |
byte interleaving for mga
untested (no g200 mga or whatever i would need ...)
experimental sse2 version (even less tested as no p4 either ...)
sse2 version would need 16-byte aligned src & dst else sig11
sse2 version is disabled by default
Originally committed as revision 5338 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/rgb2rgb.h')
-rw-r--r-- | postproc/rgb2rgb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h index 5c3b3f84e2..e5dd3beaf5 100644 --- a/postproc/rgb2rgb.h +++ b/postproc/rgb2rgb.h @@ -34,6 +34,10 @@ extern void rgb24toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_ unsigned int width, unsigned int height, unsigned int lumStride, unsigned int chromStride, unsigned int srcStride); +extern void interleaveBytes(uint8_t *src1, uint8_t *src2, uint8_t *dst, + int width, int height, int src1Stride, int src2Stride, int dstStride); + + #define MODE_RGB 0x1 #define MODE_BGR 0x2 |