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_WDR_HANDLE_INT_H_ 17 #define _RK_AIQ_WDR_HANDLE_INT_H_ 18 19 #include "RkAiqHandle.h" 20 #include "rk_aiq_api_private.h" 21 #include "rk_aiq_pool.h" 22 #include "xcam_mutex.h" 23 24 namespace RkCam { 25 26 class RkAiqAwdrHandleInt : virtual public RkAiqHandle { 27 public: RkAiqAwdrHandleInt(RkAiqAlgoDesComm * des,RkAiqCore * aiqCore)28 explicit RkAiqAwdrHandleInt(RkAiqAlgoDesComm* des, RkAiqCore* aiqCore) 29 : RkAiqHandle(des, aiqCore){}; ~RkAiqAwdrHandleInt()30 virtual ~RkAiqAwdrHandleInt() { RkAiqHandle::deInit(); }; 31 virtual XCamReturn prepare(); 32 virtual XCamReturn preProcess(); 33 virtual XCamReturn processing(); 34 virtual XCamReturn postProcess(); 35 virtual XCamReturn genIspResult(RkAiqFullParams* params, RkAiqFullParams* cur_params); 36 37 protected: 38 virtual void init(); deInit()39 virtual void deInit() { RkAiqHandle::deInit(); }; 40 41 private: 42 DECLARE_HANDLE_REGISTER_TYPE(RkAiqAwdrHandleInt); 43 }; 44 45 } // namespace RkCam 46 47 #endif 48