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_ASHARP_HW_V4_H_ 21 #define _RK_AIQ_TYPE_ASHARP_HW_V4_H_ 22 #include "rk_aiq_comm.h" 23 24 typedef struct RK_SHARP_Fix_V4_s 25 { 26 // SHARP_SHARP_EN (0x0000) 27 uint8_t sharp_clk_dis; 28 uint8_t sharp_exgain_bypass; 29 uint8_t sharp_center_mode; 30 uint8_t sharp_bypass; 31 uint8_t sharp_en; 32 33 // SHARP_SHARP_RATIO (0x0004) 34 uint8_t sharp_sharp_ratio; 35 uint8_t sharp_bf_ratio; 36 uint8_t sharp_gaus_ratio; 37 uint8_t sharp_pbf_ratio; 38 39 // SHARP_SHARP_LUMA_DX (0x0008) 40 uint8_t sharp_luma_dx[7]; 41 42 // SHARP_SHARP_PBF_SIGMA_INV_0 (0x000c - 0x0014) 43 uint16_t sharp_pbf_sigma_inv[8]; 44 45 // SHARP_SHARP_BF_SIGMA_INV_0 (0x0018 - 0x0020) 46 uint16_t sharp_bf_sigma_inv[8]; 47 48 // SHARP_SHARP_SIGMA_SHIFT (0x00024) 49 uint8_t sharp_bf_sigma_shift; 50 uint8_t sharp_pbf_sigma_shift; 51 52 // SHARP_SHARP_EHF_TH_0 (0x0028 - 0x0030) 53 uint16_t sharp_ehf_th[8]; 54 55 // SHARP_SHARP_CLIP_HF_0 (0x0034 - 0x003c) 56 uint16_t sharp_clip_hf[8]; 57 58 // SHARP_SHARP_PBF_COEF (0x00040) 59 uint8_t sharp_pbf_coef[3]; 60 61 // SHARP_SHARP_BF_COEF (0x00044) 62 uint8_t sharp_bf_coef[3]; 63 64 // SHARP_SHARP_GAUS_COEF (0x00048 - 0x0004c) 65 uint8_t sharp_gaus_coef[6]; 66 67 } RK_SHARP_Fix_V4_t; 68 69 70 #endif 71 72 73 74