common.h
Go to the documentation of this file.
00001 
00014 #ifndef COMMON_29E2EKDP
00015 #define COMMON_29E2EKDP
00016 
00017 #include <stdint.h>
00018 
00019 namespace color_table {
00020 
00021   struct Rgb {
00022     uint8_t r;
00023     uint8_t g;
00024     uint8_t b;
00025   };
00026 
00027   struct Yuv {
00028     uint8_t y;
00029     uint8_t u;
00030     uint8_t v;
00031   };
00032 
00033   typedef uint8_t ColorTable[128][128][128];
00034 
00035   enum Color {
00036     UNDEFINED,
00037     ORANGE,
00038     PINK,
00039     BLUE,
00040     GREEN,
00041     WHITE,
00042     YELLOW,
00043     NUM_COLORS
00044   };
00045 
00046   const unsigned int IMAGE_HEIGHT = 480;
00047   const unsigned int IMAGE_WIDTH = 640;
00048 }
00049 
00050 #endif /* end of include guard: COMMON_29E2EKDP */


color_table
Author(s): Piyush Khandelwal
autogenerated on Mon Jan 6 2014 11:54:34