xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aynr2/rk_aiq_types_aynr_algo_prvt_v2.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  *rk_aiq_types_alsc_algo_prvt.h
3  *
4  *  Copyright (c) 2019 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 _RK_AIQ_TYPES_AYNR_ALGO_PRVT_V2_H_
21 #define _RK_AIQ_TYPES_AYNR_ALGO_PRVT_V2_H_
22 
23 #include "aynr2/rk_aiq_types_aynr_algo_int_v2.h"
24 #include "RkAiqCalibDbTypes.h"
25 #include "xcam_log.h"
26 #include "xcam_common.h"
27 
28 //RKAIQ_BEGIN_DECLARE
29 
30 
31 
32 //anr context
33 typedef struct Aynr_Context_V2_s {
34     Aynr_ExpInfo_t stExpInfo;
35     Aynr_State_t eState;
36     Aynr_OPMode_t eMode;
37 
38     Aynr_Auto_Attr_V2_t stAuto;
39     Aynr_Manual_Attr_V2_t stManual;
40 
41     struct list_head* list_ynr_v2;
42 
43     float fYnr_SF_Strength;
44 
45     bool isIQParaUpdate;
46     bool isGrayMode;
47     Aynr_ParamMode_t eParamMode;
48 
49     int rawWidth;
50     int rawHeight;
51     int prepare_type;
52 
53     CalibDbV2_YnrV2_t ynr_v2;
54     int isReCalculate;
55 } Aynr_Context_V2_t;
56 
57 
58 
59 
60 
61 
62 //RKAIQ_END_DECLARE
63 
64 #endif
65 
66 
67