xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/atmo_uapi_head.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  *  Copyright (c) 2021 Rockchip Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 #ifndef __ATMO_UAPI_HEAD_H__
19 #define __ATMO_UAPI_HEAD_H__
20 
21 #include "atmo_head.h"
22 
23 typedef struct uapiTmoCurrCtlData_s
24 {
25   // M4_ENUM_DESC("GlobalLumaMode", "GlobalLumaMode_t", "GLOBALLUMAMODE_ENVLV")
26   GlobalLumaMode_t GlobalLumaMode;
27   // M4_ENUM_DESC("Mode", "DetailsHighLightMode_t", "DETAILSHIGHLIGHTMODE_ENVLV")
28   DetailsHighLightMode_t DetailsHighLightMode;
29   // M4_ENUM_DESC("DetailsLowLightMode", "DetailsLowLightMode_t", "DETAILSLOWLIGHTMODE_ISO")
30   DetailsLowLightMode_t DetailsLowLightMode;
31   // M4_ENUM_DESC("GlobalTmoMode", "TmoTypeMode_t", "TMOTYPEMODE_DYNAMICRANGE")
32   TmoTypeMode_t GlobalTmoMode;
33   // M4_ENUM_DESC("LocalTMOMode", "TmoTypeMode_t", "TMOTYPEMODE_DYNAMICRANGE")
34   TmoTypeMode_t LocalTMOMode;
35   float Envlv;
36   float ISO;
37   float OEPdf;
38   float FocusLuma;
39   float DarkPdf;
40   float DynamicRange;
41 } uapiTmoCurrCtlData_t;
42 
43 #endif  /*__ATMO_UAPI_HEAD_H__*/
44