root/modules/shot_histogram.h

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

INCLUDED FROM


   1 #ifndef SHOT_HISTOGRAM_H
   2 #define SHOT_HISTOGRAM_H
   3 
   4 // CHDK Calculate histogram from RAW sensor 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 #include "flt.h"
  10 
  11 // Update version if changes are made to the module interface
  12 #define SHOT_HISTO_VERSION      {1,0}
  13 
  14 // Shot Histogram module interface
  15 typedef struct
  16 {
  17     base_interface_t    base;
  18 
  19     int (*shot_histogram_set)(int);
  20     int (*shot_histogram_get_range)(int, int);
  21     void (*build_shot_histogram)();
  22     void (*write_to_file)();
  23 } libshothisto_sym;
  24 
  25 extern libshothisto_sym* libshothisto;
  26 
  27 #endif

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