xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/RkAiqResourceTranslatorV32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (c) 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_RESOURCE_TRANSLATOR_V32_H_
17 #define _RK_AIQ_RESOURCE_TRANSLATOR_V32_H_
18 
19 #include "RkAiqResourceTranslatorV3x.h"
20 
21 namespace RkCam {
22 
23 class RkAiqResourceTranslatorV32 : public RkAiqResourceTranslatorV3x {
24  public:
25     RkAiqResourceTranslatorV32();
26     virtual ~RkAiqResourceTranslatorV32() = default;
27 
28     virtual XCamReturn translateAecStats(const SmartPtr<VideoBuffer>& from,
29                                          SmartPtr<RkAiqAecStatsProxy>& to);
30     virtual XCamReturn translateAwbStats(const SmartPtr<VideoBuffer>& from,
31                                          SmartPtr<RkAiqAwbStatsProxy>& to);
32     virtual XCamReturn translateAfStats(const SmartPtr<VideoBuffer>& from,
33                                         SmartPtr<RkAiqAfStatsProxy>& to);
34 #if RKAIQ_HAVE_DEHAZE_V12
35     virtual XCamReturn translateAdehazeStats(const SmartPtr<VideoBuffer>& from,
36                                              SmartPtr<RkAiqAdehazeStatsProxy>& to);
37 #endif
38 
39  private:
40     XCAM_DEAD_COPY(RkAiqResourceTranslatorV32);
41 };
42 
43 }  // namespace RkCam
44 
45 #endif  //_RK_AIQ_CONFIG_TRANSLATOR_H_
46