1 /* SPDX-License-Identifier: Apache-2.0 OR MIT */ 2 /* 3 * Copyright (c) 2017 Rockchip Electronics Co., Ltd. 4 */ 5 6 #ifndef __HAL_VP8E_TABLE_H__ 7 #define __HAL_VP8E_TABLE_H__ 8 9 #include "hal_vp8e_base.h" 10 #include "hal_vp8e_putbit.h" 11 12 extern RK_S32 const default_prob_coeff_tbl[4][8][3][11]; 13 14 extern RK_S32 const default_prob_mv_tbl[2][19]; 15 16 extern RK_S32 const vp8_prob_cost_tbl[]; 17 18 extern RK_S32 const coeff_update_prob_tbl[4][8][3][11]; 19 20 extern RK_S32 const mv_update_prob_tbl[2][19]; 21 22 extern RK_S32 const default_skip_false_prob_tbl[128]; 23 24 extern RK_S32 const y_mode_prob_tbl[4]; 25 26 extern RK_S32 const uv_mode_prob_tbl[3]; 27 28 extern Vp8eTree const mv_tree_tbl[]; 29 30 extern RK_S32 const dc_q_lookup_tbl[QINDEX_RANGE]; 31 32 extern RK_S32 const ac_q_lookup_tbl[QINDEX_RANGE]; 33 34 extern RK_S32 const q_rounding_factors_tbl[QINDEX_RANGE]; 35 36 extern RK_S32 const q_zbin_factors_tbl[QINDEX_RANGE]; 37 38 extern RK_S32 const zbin_boost_tbl[16]; 39 40 extern RK_S32 const vp8_split_penalty_tbl[128]; 41 42 extern RK_S32 const weight_tbl[128]; 43 44 extern RK_S32 const intra4_mode_tree_penalty_tbl[]; 45 46 extern RK_S32 const intra16_mode_tree_penalty_tbl[]; 47 48 extern const RK_S32 inter_level_tbl[128]; 49 50 extern RK_S32 const offset_tbl[]; 51 52 #endif /*__HAL_VP8E_TBL_H__*/ 53