1 /* 2 * rk_aiq_types_acp_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_TYPES_AIE_ALGO_INT_H_ 21 #define _RK_AIQ_TYPES_AIE_ALGO_INT_H_ 22 23 #include "rk_aiq_types_aie_algo.h" 24 25 typedef struct rk_aiq_aie_params_int_s { 26 unsigned char mode_coeffs[9]; 27 /* range: 0 to 15.75*/ 28 float sharp_factor; /*!< only used by SHARPEN mode */ 29 /* 30 Threshold for coring function. This value is used to avoid amplifying noise too much by suppressing sharpening 31 for small gradients. Higher value means less sharpening for smooth edges. Threshold zero means no coring, 32 so all gradients are treated the same. Threshold 255 means nearly no sharpening. An absolute value for the 33 highpass signal is defined here. The highpass signal is truncated at the defined level. 34 */ 35 unsigned char sharp_thres; /*!< only used by SHARPEN mode */ 36 } rk_aiq_aie_params_int_t; 37 38 #endif 39