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 
17 #ifndef _RK_AIQ_UAPI_ABAYER2DNR_INT_V23_H_
18 #define _RK_AIQ_UAPI_ABAYER2DNR_INT_V23_H_
19 
20 #include "base/xcam_common.h"
21 #include "rk_aiq_algo_des.h"
22 #include "abayer2dnrV23/rk_aiq_types_abayer2dnr_algo_int_v23.h"
23 
24 // need_sync means the implementation should consider
25 // the thread synchronization
26 // if called by RkAiqAlscHandleInt, the sync has been done
27 // in framework. And if called by user app directly,
28 // sync should be done in inner. now we just need implement
29 // the case of need_sync == false; need_sync is for future usage.
30 
31 
32 XCamReturn
33 rk_aiq_uapi_abayer2dnrV23_SetAttrib(RkAiqAlgoContext *ctx,
34                                     const rk_aiq_bayer2dnr_attrib_v23_t *attr,
35                                     bool need_sync);
36 
37 XCamReturn
38 rk_aiq_uapi_abayer2dnrV23_GetAttrib(const RkAiqAlgoContext *ctx,
39                                     rk_aiq_bayer2dnr_attrib_v23_t *attr);
40 
41 XCamReturn
42 rk_aiq_uapi_abayer2dnrV23_SetStrength(const RkAiqAlgoContext *ctx,
43                                       const rk_aiq_bayer2dnr_strength_v23_t* pStrength);
44 
45 XCamReturn
46 rk_aiq_uapi_abayer2dnrV23_GetStrength(const RkAiqAlgoContext *ctx,
47                                       rk_aiq_bayer2dnr_strength_v23_t* pStrength);
48 
49 
50 XCamReturn
51 rk_aiq_uapi_abayer2dnrV23_GetInfo(const RkAiqAlgoContext* ctx,
52                                   rk_aiq_bayer2dnr_info_v23_t* pInfo);
53 
54 
55 
56 #endif
57