xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/asd/rk_aiq_types_asd_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_ASD_ALGOS_H_
2 #define _RK_AIQ_ASD_ALGOS_H_
3 
4 #include "rk_aiq_comm.h"
5 
6 typedef struct {
7     unsigned char valid;
8     unsigned int pos;
9     unsigned int hsize;
10     unsigned int vsize;
11 } asd_target_info_t;
12 
13 typedef struct {
14     unsigned char asd_scene_changed;
15     asd_target_info_t asd_target_info;
16     uint8_t cpsl_on;
17     bool sals; /* strong area light scene */
18     bool spls; /* strong point light scene */
19     bool nrobj; /* near object scene, mean macro lens */
20     bool sflr; /* strong flashlight reflection */
21 } asd_preprocess_result_t;
22 
23 typedef struct {
24     int cpsl_mode;
25     uint8_t cpsl_on;
26     float cpsl_sensitivity;
27     uint32_t cpsl_sw_interval;
28 } asd_preprocess_in_t;
29 
30 
31 #endif
32