summaryrefslogtreecommitdiff
path: root/src/v4l.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l.cc')
-rw-r--r--src/v4l.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/v4l.cc b/src/v4l.cc
index f220403..38f53b7 100644
--- a/src/v4l.cc
+++ b/src/v4l.cc
@@ -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,