1 /* 2 *rk_aiq_types_alsc_hw.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_AYNR_HW_V1_H_ 21 #define _RK_AIQ_TYPE_AYNR_HW_V1_H_ 22 #include "rk_aiq_comm.h" 23 24 25 26 typedef struct RK_YNR_Fix_V1_s{ 27 28 unsigned char ynr_en; 29 unsigned char ynr_sgm_dx[16]; 30 unsigned short ynr_lsgm_y[17]; 31 unsigned char ynr_lci[4]; 32 unsigned char ynr_lgain_min[4]; 33 unsigned char ynr_lgain_max; 34 35 unsigned char ynr_lmerge_bound; 36 unsigned char ynr_lmerge_ratio; 37 38 unsigned char ynr_lweit_flt[4]; 39 unsigned short ynr_hsgm_y[17]; 40 unsigned char ynr_hlci[4]; 41 unsigned char ynr_lhci[4]; 42 unsigned char ynr_hhci[4]; 43 unsigned char ynr_hgain_sgm[4]; 44 unsigned char ynr_hweit_d[20]; 45 unsigned char ynr_hgrad_y[24]; 46 unsigned short ynr_hweit[4]; 47 unsigned char ynr_hmax_adjust; 48 unsigned char ynr_hstrength; 49 unsigned char ynr_lweit_cmp[2]; 50 unsigned char ynr_lmaxgain_lv4; 51 unsigned short ynr_hstv_y[17]; 52 unsigned short ynr_st_scale[3]; 53 54 }RK_YNR_Fix_V1_t; 55 56 57 #endif 58 59 60 61