xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp32/CamHwIsp32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (c) 2021-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 _CAM_HW_ISP32_H_
17 #define _CAM_HW_ISP32_H_
18 
19 #include "Isp32Params.h"
20 #include "isp3x/CamHwIsp3x.h"
21 #include "xcam_common.h"
22 
23 namespace RkCam {
24 
25 class FakeCamHwIsp32;
26 
27 class CamHwIsp32 : virtual public CamHwIsp3x, virtual public Isp32Params {
28     friend class FakeCamHwIsp32;
29 
30  public:
31     explicit CamHwIsp32();
32     virtual ~CamHwIsp32();
33     virtual XCamReturn init(const char* sns_ent_name);
34     virtual XCamReturn stop();
35     XCamReturn setIspParamsSync(uint32_t frameId);
36     virtual void updateEffParams(void* params, void* ori_params);
37     virtual bool processTb(void* params);
38 
39  protected:
40 
41 };
42 
43 }  // namespace RkCam
44 
45 #endif
46