#ifndef WEBRTCPUSH_ISP_AIQ_H
#define WEBRTCPUSH_ISP_AIQ_H

#ifdef __cplusplus
extern "C" {
#endif

typedef struct isp_aiq isp_aiq_t;

typedef struct {
    int camera_id;
    const char *iq_dir;
} isp_aiq_cfg_t;

/* Start RV1106 AIQ in normal (non-HDR) mode. Returns NULL on failure. */
isp_aiq_t *isp_aiq_start(const isp_aiq_cfg_t *cfg);

/* Stop 3A and release the AIQ context. NULL is accepted. */
void isp_aiq_stop(isp_aiq_t *isp);

#ifdef __cplusplus
}
#endif

#endif
