diff options
Diffstat (limited to 'src/v4l.cc')
-rw-r--r-- | src/v4l.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ static int xioctl(int fh, int request, void *arg) /* * In typical computer APIs, "YUV" actually means YCbCr, and "YUYV" means * "YCbCr 4:2:2" stored as Y0, Cb01, Y1, Cr01, Y2 ... + * From: http://stackoverflow.com/questions/16390783/how-to-save-yuyv-raw-data-to-jpeg-using-libjpeg */ static void toJpeg(int quality, unsigned char *yuyv, int image_width, int image_height, |