root/platform/generic/palette.c

/* [<][>][^][v][top][bottom][index][help] */
   1 // CHDK palette colors for cameras with yuv overlay
   2 
   3 #include "palette.h"
   4 
   5 #undef  COLOR_TRANSPARENT
   6 #define COLOR_TRANSPARENT           0x00
   7 #undef  COLOR_BLACK
   8 #define COLOR_BLACK                 0xff
   9 
  10 // Colors for all camera modes
  11 unsigned char ply_colors[] =
  12 {
  13         COLOR_TRANSPARENT,         // Placeholder for script colors
  14         COLOR_BLACK,               // Placeholder for script colors
  15         0x0f,                       // White
  16         0xbe,                       // Red
  17         0xd5,                       // Dark Red
  18         0x7a,                       // Light Red
  19         0x61,                       // Green
  20         0xc5,                       // Dark Green
  21         0x05,                       // Light Green
  22         0xa9,                       // Blue
  23         0xee,                       // Dark Blue
  24         0x45,                       // Light Blue / Cyan
  25         0x74,                       // Grey
  26         0xb4,                       // Dark Grey
  27         0x34,                       // Light Grey
  28         0x11,                       // Yellow
  29         0x5a,                       // Dark Yellow
  30         0x0e,                       // Light Yellow
  31         0xb0,                       // Transparent Dark Grey
  32         0xfe,                       // Magenta
  33 };

/* [<][>][^][v][top][bottom][index][help] */