From a6100f39a11bd0cdc9f023c4e47fe75fec7a09fb Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Fri, 5 Sep 2008 00:25:39 +0000 Subject: enable yuv422p to uyvy converter Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/rgb2rgb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libswscale/rgb2rgb.h') diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h index 0ec6273d8b..5d371acbc3 100644 --- a/libswscale/rgb2rgb.h +++ b/libswscale/rgb2rgb.h @@ -109,6 +109,14 @@ extern void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_ long width, long height, 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.) -- cgit v1.2.3