summaryrefslogtreecommitdiffstats
path: root/libswscale/rgb2rgb.h
diff options
context:
space:
mode:
authorbcoudurier <bcoudurier@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-05 00:25:39 +0000
committerbcoudurier <bcoudurier@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-05 00:25:39 +0000
commit3178a5606aa85d993258695733fb01568790fe99 (patch)
tree6958e9d406367d550023255af28361788266115a /libswscale/rgb2rgb.h
parent6e6692a4ff4a49c80b75f12fa30f9f36940b3f76 (diff)
downloadmpv-3178a5606aa85d993258695733fb01568790fe99.tar.bz2
mpv-3178a5606aa85d993258695733fb01568790fe99.tar.xz
enable yuv422p to uyvy converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/rgb2rgb.h')
-rw-r--r--libswscale/rgb2rgb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h
index 0ec6273d8b..5d371acbc3 100644
--- a/libswscale/rgb2rgb.h
+++ b/libswscale/rgb2rgb.h
@@ -110,6 +110,14 @@ extern void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_
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.