1 /****************************************************************************** 2 * 3 * Copyright 2019, Fuzhou Rockchip Electronics Co.Ltd . All rights reserved. 4 * No part of this work may be reproduced, modified, distributed, transmitted, 5 * transcribed, or translated into any language or computer format, in any form 6 * or by any means without written permission of: 7 * Fuzhou Rockchip Electronics Co.Ltd . 8 * 9 * 10 *****************************************************************************/ 11 #ifndef __RK_AIQ_UAPI_AE_INT_H__ 12 #define __RK_AIQ_UAPI_AE_INT_H__ 13 #include "base/xcam_common.h" 14 #include "rk_aiq_algo_des.h" 15 #include "rk_aiq_uapi_ae_int_types_v1.h" 16 #include "rk_aiq_uapi_ae_int_types_v2.h" 17 18 XCamReturn rk_aiq_uapi_ae_convExpSwAttr_v1Tov2(Uapi_ExpSwAttr_t* pExpSwAttrV1, Uapi_ExpSwAttrV2_t* pExpSwAttrV2); 19 XCamReturn rk_aiq_uapi_ae_convLinExpAttr_v1Tov2(Uapi_LinExpAttr_t* pLinExpAttrV1, Uapi_LinExpAttrV2_t* pLinExpAttrV2); 20 XCamReturn rk_aiq_uapi_ae_convHdrExpAttr_v1Tov2(Uapi_HdrExpAttr_t* pHdrExpAttrV1, Uapi_HdrExpAttrV2_t* pHdrExpAttrV2); 21 XCamReturn rk_aiq_uapi_ae_convExpSwAttr_v2Tov1(Uapi_ExpSwAttrV2_t* pExpSwAttrV2, Uapi_ExpSwAttr_t* pExpSwAttrV1); 22 XCamReturn rk_aiq_uapi_ae_convLinExpAttr_v2Tov1(Uapi_LinExpAttrV2_t* pLinExpAttrV2, Uapi_LinExpAttr_t* pLinExpAttrV1); 23 XCamReturn rk_aiq_uapi_ae_convHdrExpAttr_v2Tov1(Uapi_HdrExpAttrV2_t* pHdrExpAttrV2, Uapi_HdrExpAttr_t* pHdrExpAttrV1); 24 25 XCamReturn rk_aiq_uapi_ae_setExpSwAttr(RkAiqAlgoContext* ctx, const Uapi_ExpSwAttrV2_t* pExpSwAttr, bool isGroupAe, bool need_sync); 26 XCamReturn rk_aiq_uapi_ae_getExpSwAttr(RkAiqAlgoContext* ctx, Uapi_ExpSwAttrV2_t* pExpSwAttr, bool isGroupAe); 27 XCamReturn rk_aiq_uapi_ae_setLinExpAttr(RkAiqAlgoContext* ctx, const Uapi_LinExpAttrV2_t* pLinExpAttr, bool isGroupAe, bool need_sync); 28 XCamReturn rk_aiq_uapi_ae_getLinExpAttr(RkAiqAlgoContext* ctx, Uapi_LinExpAttrV2_t* pLinExpAttr, bool isGroupAe); 29 XCamReturn rk_aiq_uapi_ae_setHdrExpAttr(RkAiqAlgoContext* ctx, const Uapi_HdrExpAttrV2_t* pHdrExpAttr, bool isGroupAe, bool need_sync); 30 XCamReturn rk_aiq_uapi_ae_getHdrExpAttr(RkAiqAlgoContext* ctx, Uapi_HdrExpAttrV2_t* pHdrExpAttr, bool isGroupAe); 31 32 XCamReturn rk_aiq_uapi_ae_setLinAeRouteAttr(RkAiqAlgoContext* ctx, const Uapi_LinAeRouteAttr_t* pLinAeRouteAttr, bool isGroupAe, bool need_sync); 33 XCamReturn rk_aiq_uapi_ae_getLinAeRouteAttr(RkAiqAlgoContext* ctx, Uapi_LinAeRouteAttr_t* pLinAeRouteAttr, bool isGroupAe); 34 XCamReturn rk_aiq_uapi_ae_setHdrAeRouteAttr(RkAiqAlgoContext* ctx, const Uapi_HdrAeRouteAttr_t* pHdrAeRouteAttr, bool isGroupAe, bool need_sync); 35 XCamReturn rk_aiq_uapi_ae_getHdrAeRouteAttr(RkAiqAlgoContext* ctx, Uapi_HdrAeRouteAttr_t* pHdrAeRouteAttr, bool isGroupAe); 36 37 XCamReturn rk_aiq_uapi_ae_setSyncTest(RkAiqAlgoContext* ctx, const Uapi_AecSyncTest_t* pAecSyncTestAttr, bool isGroupAe, bool need_sync); 38 XCamReturn rk_aiq_uapi_ae_getSyncTest(RkAiqAlgoContext* ctx, Uapi_AecSyncTest_t* pAecSyncTestAttr, bool isGroupAe); 39 XCamReturn rk_aiq_uapi_ae_setIrisAttr(RkAiqAlgoContext* ctx, const Uapi_IrisAttrV2_t* pIrisAttr, bool need_sync); 40 XCamReturn rk_aiq_uapi_ae_getIrisAttr(RkAiqAlgoContext* ctx, Uapi_IrisAttrV2_t* pIrisAttr); 41 42 XCamReturn rk_aiq_uapi_ae_queryExpInfo(RkAiqAlgoContext* ctx, Uapi_ExpQueryInfo_t* pExpInfo, bool isGroupAe); 43 XCamReturn rk_aiq_uapi_ae_setExpWinAttr(RkAiqAlgoContext* ctx, const Uapi_ExpWin_t* pExpWinAttr, bool need_sync); 44 XCamReturn rk_aiq_uapi_ae_getExpWinAttr(RkAiqAlgoContext* ctx, Uapi_ExpWin_t* pExpWinAttr); 45 46 47 #endif /*__RK_AIQ_UAPI_AE_INT_H__*/ 48