diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h index e604d294bd..78d43d2a01 100644 --- a/postproc/rgb2rgb.h +++ b/postproc/rgb2rgb.h @@ -87,6 +87,15 @@ extern void (*yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint unsigned int width, unsigned int height, int lumStride, int chromStride, int srcStride); +/** + * + * 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