postprocess.h 805 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. uint16_t isospeed;
  19. int flash;
  20. float fnumber;
  21. float focal_length;
  22. uint16_t focal_length_35mm;
  23. };
  24. void
  25. postprocess_internal(char *burst_dir, char *target_dir);
  26. void
  27. postprocess_single(char *in_path, char *out_path, int quality, int verbose);
  28. void
  29. postprocess_setup();
  30. #endif //POSTPROCESSD__POSTPROCESS_H