rgba <-> yuva converter for built-ins

This commit is contained in:
niels
2015-11-07 20:19:18 +01:00
parent abb87476d9
commit aa3fd407d5
2 changed files with 81 additions and 3 deletions

View File

@@ -586,6 +586,7 @@ VJFrame *yuv_rgb_template( uint8_t *rgb_buffer, int w, int h, int fmt )
}
f->stride[1] = 0;
f->stride[2] = 0;
f->len = w * h;
return f;
}