Added support for imageformat YUV - NV12
[libam7xxx.git] / src / am7xxx.h
index 84a1efb..0926d34 100644 (file)
@@ -1,10 +1,10 @@
 /* am7xxx - communication with AM7XXX based USB Pico Projectors and DPFs
  *
- * Copyright (C) 2011  Antonio Ospite <ospite@studenti.unina.it>
+ * Copyright (C) 2012  Antonio Ospite <ospite@studenti.unina.it>
  *
  * 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 {