#ifndef SAMPLES_RISP4ML_ISP_STAGES_DG_H_ | |
#define SAMPLES_RISP4ML_ISP_STAGES_DG_H_ | |
#include "samples/risp4ml/common/image.h" | |
#ifdef __cplusplus | |
extern "C" { | |
#endif // __cplusplus | |
typedef struct { | |
bool enable; | |
pixel_type_t gains[kNumBayerPatterns]; | |
} DgParams; | |
void set_dg_params(DgParams* params); | |
void dg_process(Image* input, Image* output); | |
#ifdef __cplusplus | |
} // extern "C" | |
#endif // __cplusplus | |
#endif // SAMPLES_RISP4ML_ISP_STAGES_DG_H_ |