diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2003-10-09 22:25:53 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2003-10-09 22:25:53 +0000 |
commit | caeaabe7d019c423c73f0330f719673872e65cbc (patch) | |
tree | 041f282e0c98d93f4d5ba52837b09063c8b2e129 /postproc/rgb2rgb.c | |
parent | 236699830d754d1a073a27ac3597069a7b61a5cd (diff) | |
download | ffmpeg-caeaabe7d019c423c73f0330f719673872e65cbc.tar.gz |
uyvy output support in swscaler
Originally committed as revision 11069 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/rgb2rgb.c')
-rw-r--r-- | postproc/rgb2rgb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index d12b421f6c..770827c6b9 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -41,6 +41,9 @@ void (*rgb32tobgr15)(const uint8_t *src, uint8_t *dst, unsigned src_size); void (*yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, unsigned int width, unsigned int height, int lumStride, int chromStride, int dstStride); +void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, + unsigned int width, unsigned int height, + int lumStride, int chromStride, int dstStride); void (*yuv422ptoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, unsigned int width, unsigned int height, int lumStride, int chromStride, int dstStride); @@ -213,6 +216,7 @@ void sws_rgb2rgb_init(int flags){ rgb32tobgr16= rgb32tobgr16_MMX2; rgb32tobgr15= rgb32tobgr15_MMX2; yv12toyuy2= yv12toyuy2_MMX2; + yv12touyvy= yv12touyvy_MMX2; yuv422ptoyuy2= yuv422ptoyuy2_MMX2; yuy2toyv12= yuy2toyv12_MMX2; uyvytoyv12= uyvytoyv12_MMX2; @@ -242,6 +246,7 @@ void sws_rgb2rgb_init(int flags){ rgb32tobgr16= rgb32tobgr16_3DNOW; rgb32tobgr15= rgb32tobgr15_3DNOW; yv12toyuy2= yv12toyuy2_3DNOW; + yv12touyvy= yv12touyvy_3DNOW; yuv422ptoyuy2= yuv422ptoyuy2_3DNOW; yuy2toyv12= yuy2toyv12_3DNOW; uyvytoyv12= uyvytoyv12_3DNOW; @@ -271,6 +276,7 @@ void sws_rgb2rgb_init(int flags){ rgb32tobgr16= rgb32tobgr16_MMX; rgb32tobgr15= rgb32tobgr15_MMX; yv12toyuy2= yv12toyuy2_MMX; + yv12touyvy= yv12touyvy_MMX; yuv422ptoyuy2= yuv422ptoyuy2_MMX; yuy2toyv12= yuy2toyv12_MMX; uyvytoyv12= uyvytoyv12_MMX; @@ -302,6 +308,7 @@ void sws_rgb2rgb_init(int flags){ rgb32tobgr16= rgb32tobgr16_C; rgb32tobgr15= rgb32tobgr15_C; yv12toyuy2= yv12toyuy2_C; + yv12touyvy= yv12touyvy_C; yuv422ptoyuy2= yuv422ptoyuy2_C; yuy2toyv12= yuy2toyv12_C; // uyvytoyv12= uyvytoyv12_C; |