1 /* 2 * RkAiqConfigTranslator.h 3 * 4 * Copyright (c) 2019 Rockchip Corporation 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 */ 19 20 #ifndef _RK_AIQ_RESOURCE_TRANSLATOR_V21_H_ 21 #define _RK_AIQ_RESOURCE_TRANSLATOR_V21_H_ 22 23 #include "RkAiqResourceTranslator.h" 24 25 namespace RkCam { 26 27 class RkAiqResourceTranslatorV21 28 : public RkAiqResourceTranslator 29 { 30 public: 31 RkAiqResourceTranslatorV21 () = default; 32 virtual ~RkAiqResourceTranslatorV21 () = default; 33 34 virtual XCamReturn translateAwbStats (const SmartPtr<VideoBuffer> &from, 35 SmartPtr<RkAiqAwbStatsProxy> &to); 36 #if RKAIQ_HAVE_DEHAZE_V11 37 virtual XCamReturn translateAdehazeStats (const SmartPtr<VideoBuffer> &from, 38 SmartPtr<RkAiqAdehazeStatsProxy> &to); 39 #endif 40 translateOrbStats(const SmartPtr<VideoBuffer> & from,SmartPtr<RkAiqOrbStatsProxy> & to)41 XCamReturn translateOrbStats (const SmartPtr<VideoBuffer> &from, 42 SmartPtr<RkAiqOrbStatsProxy> &to) { 43 return XCAM_RETURN_BYPASS; 44 }; translateAtmoStats(const SmartPtr<VideoBuffer> & from,SmartPtr<RkAiqAtmoStatsProxy> & to)45 XCamReturn translateAtmoStats (const SmartPtr<VideoBuffer> &from, 46 SmartPtr<RkAiqAtmoStatsProxy> &to) { 47 return XCAM_RETURN_BYPASS; 48 }; 49 50 private: 51 XCAM_DEAD_COPY (RkAiqResourceTranslatorV21); 52 }; 53 54 } 55 56 #endif //_RK_AIQ_CONFIG_TRANSLATOR_H_ 57