xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/cgc_head.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * cgc_head.h
3  *
4  *  Copyright (c) 2022 Rockchip Corporation
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19 
20 #ifndef __CALIBDBV2_CGC_HEAD_H__
21 #define __CALIBDBV2_CGC_HEAD_H__
22 
23 #include "rk_aiq_comm.h"
24 
25 RKAIQ_BEGIN_DECLARE
26 
27 typedef struct __cgc_param {
28     // M4_ENUM_DESC("op_mode", "RKAiqOPMode_t", "RK_AIQ_OP_MODE_AUTO")
29     RKAiqOPMode_t op_mode;
30     // M4_BOOL_DESC("ratio_en", "0")
31     bool cgc_ratio_en;
32     // M4_BOOL_DESC("yuv_limit", "0")
33     bool cgc_yuv_limit;
34 } Cgc_Param_t;
35 
36 typedef struct __cgc {
37     // M4_STRUCT_DESC("TuningPara", "normal_ui_style")
38     Cgc_Param_t TuningPara;
39 } CalibDbV2_cgc_t;
40 
41 RKAIQ_END_DECLARE
42 
43 #endif
44