Renamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.
authorReto Schneider <github@reto-schneider.ch>
Mon, 23 Jan 2012 16:13:15 +0000 (17:13 +0100)
committerReto Schneider <github@reto-schneider.ch>
Mon, 23 Jan 2012 16:13:15 +0000 (17:13 +0100)
src/am7xxx.h
src/picoproj.c

index 0926d34..5b5f111 100644 (file)
@@ -36,8 +36,8 @@ typedef enum {
 } am7xxx_packet_type;
 
 typedef enum {
 } am7xxx_packet_type;
 
 typedef enum {
-       AM7XXX_IMAGE_FORMAT_JPEG     = 1,
-       AM7XXX_IMAGE_FORMAT_YUV_NV12 = 2,
+       AM7XXX_IMAGE_FORMAT_JPEG = 1,
+       AM7XXX_IMAGE_FORMAT_NV12 = 2,
 } am7xxx_image_format;
 
 typedef enum {
 } am7xxx_image_format;
 
 typedef enum {
index 3667e5f..0b9e45c 100644 (file)
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
                        case AM7XXX_IMAGE_FORMAT_JPEG:
                                fprintf(stdout, "JPEG format\n");
                                break;
                        case AM7XXX_IMAGE_FORMAT_JPEG:
                                fprintf(stdout, "JPEG format\n");
                                break;
-                       case AM7XXX_IMAGE_FORMAT_YUV_NV12:
+                       case AM7XXX_IMAGE_FORMAT_NV12:
                                fprintf(stdout, "NV12 format\n");
                                break;
                        default:
                                fprintf(stdout, "NV12 format\n");
                                break;
                        default: