diff --git a/src/vidconv/vconv.c b/src/vidconv/vconv.c index d9a506c..dd7c171 100644 --- a/src/vidconv/vconv.c +++ b/src/vidconv/vconv.c @@ -271,6 +271,43 @@ static void yuyv422_to_yuv420p(unsigned xoffs, unsigned width, double rw, } +static void yuyv422_to_nv12(unsigned xoffs, unsigned width, double rw, + unsigned yd, unsigned ys, unsigned ys2, + uint8_t *dd0, uint8_t *dd1, uint8_t *dd2, + unsigned lsd, + const uint8_t *sd0, const uint8_t *sd1, + const uint8_t *sd2, unsigned lss + ) +{ + unsigned x, xd, xs; + unsigned id, is, is2; + + (void)sd1; + (void)sd2; + + for (x=0; x