root/modules/histogram.h

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

INCLUDED FROM


   1 #ifndef HISTOGRAM_H
   2 #define HISTOGRAM_H
   3 
   4 // CHDK Histogram OSD interface
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 //-------------------------------------------------------------------
  10 
  11 // Values for conf.show_histo
  12 #define SHOW_HISTO_ALWAYS   1
  13 #define SHOW_HISTO_REC      2
  14 #define SHOW_HISTO_HALF     3
  15 
  16 //-------------------------------------------------------------------
  17 #ifndef THUMB_FW
  18 #define HISTO_WIDTH                 128 // Note code is optimised for this value, it should not be changed!
  19 #define HISTO_HEIGHT                50
  20 #else
  21 #define HISTO_WIDTH                 256 // Note code is optimised for this value, it should not be changed!
  22 #define HISTO_HEIGHT               100 
  23 #endif
  24 
  25 #include "flt.h"
  26 
  27 // Update version if changes are made to the module interface
  28 #define HISTO_VERSION           {1,0}
  29 
  30 typedef struct
  31 {
  32     base_interface_t    base;
  33 
  34     void (*histogram_process)(void);
  35     void (*gui_osd_draw_histo)(int is_osd_edit);
  36 } libhisto_sym;
  37 
  38 extern libhisto_sym* libhisto;
  39 
  40 #endif

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