blob: ad6d61e09544c62c2a30d3f90770ec92aa6d91f1 [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* input, Image* output);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif // SAMPLES_RISP4ML_ISP_STAGES_GAMMA_H_