Added support for imageformat YUV - NV12
[libam7xxx.git] / src / am7xxx.h
index 7330925..0926d34 100644 (file)
@@ -4,7 +4,7 @@
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 2 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -36,7 +36,8 @@ typedef enum {
 } am7xxx_packet_type;
 
 typedef enum {
-       AM7XXX_IMAGE_FORMAT_JPEG = 1,
+       AM7XXX_IMAGE_FORMAT_JPEG     = 1,
+       AM7XXX_IMAGE_FORMAT_YUV_NV12 = 2,
 } am7xxx_image_format;
 
 typedef enum {