postprocess.h 738 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef POSTPROCESSD__POSTPROCESS_H
  2. #define POSTPROCESSD__POSTPROCESS_H
  3. #include <stdint.h>
  4. #include "util.h"
  5. #define TIFFTAG_FORWARDMATRIX1 50964
  6. #define JPEG_APP1 JPEG_APP0+1
  7. struct Imagedata {
  8. uint32_t width;
  9. uint32_t height;
  10. uint8_t bitspersample;
  11. char *make;
  12. char *model;
  13. char *software;
  14. int orientation;
  15. char *datetime;
  16. uint16_t exposure_program;
  17. float exposure_time;
  18. float aperture;
  19. int isospeed;
  20. int flash;
  21. float fnumber;
  22. float focal_length;
  23. float focal_length_35mm;
  24. };
  25. void
  26. postprocess_internal(char *burst_dir, char *target_dir);
  27. void
  28. postprocess_setup();
  29. #endif //POSTPROCESSD__POSTPROCESS_H