1 /* 2 *rk_aiq_types_agamma_algo_int.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_TYPE_AGAMMA_ALGO_INT_H_ 21 #define _RK_AIQ_TYPE_AGAMMA_ALGO_INT_H_ 22 #include "RkAiqCalibDbTypes.h" 23 #include "agamma/rk_aiq_types_agamma_algo.h" 24 #include "agamma_head.h" 25 #include "agamma_uapi_head.h" 26 27 typedef enum rk_aiq_gamma_op_mode_s { 28 RK_AIQ_GAMMA_MODE_AUTO = 0, /**< run Auto gamma */ 29 RK_AIQ_GAMMA_MODE_MANUAL = 1, /**< run manual gamma */ 30 } rk_aiq_gamma_op_mode_t; 31 32 // gamma v10 33 typedef struct rk_aiq_gamma_v10_attr_s { 34 rk_aiq_uapi_sync_t sync; 35 36 rk_aiq_gamma_op_mode_t mode; 37 AgammaApiManualV10_t stManual; 38 CalibDbV2_gamma_v10_t stAuto; 39 } rk_aiq_gamma_v10_attr_t; 40 41 // gamma v11 42 typedef struct rk_aiq_gamma_v11_attr_s { 43 rk_aiq_uapi_sync_t sync; 44 45 rk_aiq_gamma_op_mode_t mode; 46 AgammaApiManualV11_t stManual; 47 CalibDbV2_gamma_v11_t stAuto; 48 } rk_aiq_gamma_v11_attr_t; 49 50 #endif 51