Mercurial > mplayer.hg
diff libswscale/rgb2rgb.h @ 27495:fe28a794c04f
enable yuv422p to uyvy converter
author | bcoudurier |
---|---|
date | Fri, 05 Sep 2008 00:25:39 +0000 |
parents | e05965c550fc |
children | 905724de832e |
line wrap: on
line diff
--- a/libswscale/rgb2rgb.h Thu Sep 04 23:36:17 2008 +0000 +++ b/libswscale/rgb2rgb.h Fri Sep 05 00:25:39 2008 +0000 @@ -110,6 +110,14 @@ long lumStride, long chromStride, long dstStride); /** + * + * width should be a multiple of 16 + */ +extern void (*yuv422ptouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, + long width, long height, + long lumStride, long chromStride, long dstStride); + +/** * Height should be a multiple of 2 and width should be a multiple of 2. * (If this is a problem for anyone then tell me, and I will fix it.) * Chrominance data is only taken from every second line, others are ignored.