blob: 4ef377711930204372268ed3c1d48fb58d82a741 [file] [log] [blame]
#ifndef SAMPLES_RISP4ML_ISP_STAGES_GAMMA_H_
#define SAMPLES_RISP4ML_ISP_STAGES_GAMMA_H_
#include "samples/risp4ml/common/image.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#define kGammaNumberPoints 81
typedef struct {
bool enable;
pixel_type_t lut[kGammaNumberPoints];
} GammaParams;
void set_gamma_params(GammaParams* params);
void gamma_process(Image* img);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif // SAMPLES_RISP4ML_ISP_STAGES_GAMMA_H_