summaryrefslogtreecommitdiffstats
path: root/postproc/rgb2rgb.h
diff options
context:
space:
mode:
Diffstat (limited to 'postproc/rgb2rgb.h')
-rw-r--r--postproc/rgb2rgb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h
index e604d29..78d43d2 100644
--- a/postproc/rgb2rgb.h
+++ b/postproc/rgb2rgb.h
@@ -89,6 +89,15 @@ extern void (*yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint
/**
*
+ * height should be a multiple of 2 and width should be a multiple of 16 (if this is a
+ * problem for anyone then tell me, and ill fix it)
+ */
+extern 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);
+
+/**
+ *
* 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 ill fix it)
* chrominance data is only taken from every secound line others are ignored FIXME write HQ version
OpenPOWER on IntegriCloud