1 /*
2  * Copyright (c) 2019-2022 Rockchip Eletronics Co., Ltd.
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 #ifndef _RK_AIQ_UAPI_CAMGROUP_ACNR_INT_V2_H_
17 #define _RK_AIQ_UAPI_CAMGROUP_ACNR_INT_V2_H_
18 
19 #include "base/xcam_common.h"
20 #include "rk_aiq_algo_des.h"
21 #include "again2/rk_aiq_types_again_algo_int_v2.h"
22 
23 // need_sync means the implementation should consider
24 // the thread synchronization
25 // if called by RkAiqAlscHandleInt, the sync has been done
26 // in framework. And if called by user app directly,
27 // sync should be done in inner. now we just need implement
28 // the case of need_sync == false; need_sync is for future usage.
29 
30 XCamReturn
31 rk_aiq_uapi_camgroup_againV2_SetAttrib(RkAiqAlgoContext *ctx,
32                                        const rk_aiq_gain_attrib_v2_t *attr,
33                                        bool need_sync);
34 
35 XCamReturn
36 rk_aiq_uapi_camgroup_againV2_GetAttrib(const RkAiqAlgoContext *ctx,
37                                        rk_aiq_gain_attrib_v2_t *attr);
38 
39 XCamReturn
40 rk_aiq_uapi_camgroup_againV2_GetInfo(const RkAiqAlgoContext *ctx,
41                                      rk_aiq_gain_info_v2_t *pInfo);
42 
43 #endif
44