#ifndef POSTPROCESSD__POSTPROCESS_H #define POSTPROCESSD__POSTPROCESS_H #include #include "util.h" #define DCPTAG_PROFILE_HUE_SAT_MAP_DIMS 50937 #define DCPTAG_PROFILE_HUE_SAT_MAP_DATA_1 50938 #define DCPTAG_PROFILE_HUE_SAT_MAP_DATA_2 50939 #define DCPTAG_PROFILE_TONE_CURVE 50940 #define DCPTAG_FORWARD_MATRIX_1 50964 #define DCPTAG_FORWARD_MATRIX_2 50965 #define JPEG_APP1 JPEG_APP0+1 struct Imagedata { uint32_t width; uint32_t height; uint8_t bitspersample; char *make; char *model; char *software; int orientation; char *datetime; uint16_t exposure_program; float exposure_time; uint16_t isospeed; int flash; float fnumber; float focal_length; uint16_t focal_length_35mm; float dist_a; float dist_b; float dist_c; float vignette_k1; float vignette_k2; float vignette_k3; }; void postprocess_internal(char *burst_dir, char *target_dir, int keep); void postprocess_single(char *in_path, char *out_path, int quality, int verbose); void postprocess_setup(); #endif //POSTPROCESSD__POSTPROCESS_H