1cabdff1aSopenharmony_ci/* 2cabdff1aSopenharmony_ci * Copyright (C) 2013 Ronald S. Bultje <rsbultje gmail com> 3cabdff1aSopenharmony_ci * Copyright (C) 2013 Clément Bœsch <u pkh me> 4cabdff1aSopenharmony_ci * 5cabdff1aSopenharmony_ci * This file is part of FFmpeg. 6cabdff1aSopenharmony_ci * 7cabdff1aSopenharmony_ci * FFmpeg is free software; you can redistribute it and/or 8cabdff1aSopenharmony_ci * modify it under the terms of the GNU Lesser General Public 9cabdff1aSopenharmony_ci * License as published by the Free Software Foundation; either 10cabdff1aSopenharmony_ci * version 2.1 of the License, or (at your option) any later version. 11cabdff1aSopenharmony_ci * 12cabdff1aSopenharmony_ci * FFmpeg is distributed in the hope that it will be useful, 13cabdff1aSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 14cabdff1aSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15cabdff1aSopenharmony_ci * Lesser General Public License for more details. 16cabdff1aSopenharmony_ci * 17cabdff1aSopenharmony_ci * You should have received a copy of the GNU Lesser General Public 18cabdff1aSopenharmony_ci * License along with FFmpeg; if not, write to the Free Software 19cabdff1aSopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20cabdff1aSopenharmony_ci */ 21cabdff1aSopenharmony_ci 22cabdff1aSopenharmony_ci#ifndef AVCODEC_VP9DATA_H 23cabdff1aSopenharmony_ci#define AVCODEC_VP9DATA_H 24cabdff1aSopenharmony_ci 25cabdff1aSopenharmony_ci#include <stdint.h> 26cabdff1aSopenharmony_ci 27cabdff1aSopenharmony_ci#include "vp9dec.h" 28cabdff1aSopenharmony_ci 29cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_bwh_tab[2][N_BS_SIZES][2]; 30cabdff1aSopenharmony_ciextern const int8_t ff_vp9_partition_tree[3][2]; 31cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_default_kf_partition_probs[4][4][3]; 32cabdff1aSopenharmony_ciextern const int8_t ff_vp9_segmentation_tree[7][2]; 33cabdff1aSopenharmony_ciextern const int8_t ff_vp9_intramode_tree[9][2]; 34cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_default_kf_ymode_probs[10][10][9]; 35cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_default_kf_uvmode_probs[10][9]; 36cabdff1aSopenharmony_ciextern const int8_t ff_vp9_inter_mode_tree[3][2]; 37cabdff1aSopenharmony_ciextern const int8_t ff_vp9_filter_tree[2][2]; 38cabdff1aSopenharmony_ciextern const enum FilterMode ff_vp9_filter_lut[3]; 39cabdff1aSopenharmony_ciextern const int16_t ff_vp9_dc_qlookup[3][256]; 40cabdff1aSopenharmony_ciextern const int16_t ff_vp9_ac_qlookup[3][256]; 41cabdff1aSopenharmony_ciextern const enum TxfmType ff_vp9_intra_txfm_type[14]; 42cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_4x4[16]; 43cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_4x4[16]; 44cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_4x4[16]; 45cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_8x8[64]; 46cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_8x8[64]; 47cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_8x8[64]; 48cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_16x16[256]; 49cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_16x16[256]; 50cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_16x16[256]; 51cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_32x32[1024]; 52cabdff1aSopenharmony_ciextern const int16_t * const ff_vp9_scans[5][4]; 53cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_4x4_nb[16][2]; 54cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_4x4_nb[16][2]; 55cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_4x4_nb[16][2]; 56cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_8x8_nb[64][2]; 57cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_8x8_nb[64][2]; 58cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_8x8_nb[64][2]; 59cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_16x16_nb[256][2]; 60cabdff1aSopenharmony_ciextern const int16_t ff_vp9_col_scan_16x16_nb[256][2]; 61cabdff1aSopenharmony_ciextern const int16_t ff_vp9_row_scan_16x16_nb[256][2]; 62cabdff1aSopenharmony_ciextern const int16_t ff_vp9_default_scan_32x32_nb[1024][2]; 63cabdff1aSopenharmony_ciextern const int16_t (* const ff_vp9_scans_nb[5][4])[2]; 64cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_model_pareto8[256][8]; 65cabdff1aSopenharmony_ciextern const ProbContext ff_vp9_default_probs; 66cabdff1aSopenharmony_ciextern const uint8_t ff_vp9_default_coef_probs[4][2][2][6][6][3]; 67cabdff1aSopenharmony_ciextern const int8_t ff_vp9_mv_joint_tree[3][2]; 68cabdff1aSopenharmony_ciextern const int8_t ff_vp9_mv_class_tree[10][2]; 69cabdff1aSopenharmony_ciextern const int8_t ff_vp9_mv_fp_tree[3][2]; 70cabdff1aSopenharmony_ci 71cabdff1aSopenharmony_ci#endif /* AVCODEC_VP9DATA_H */ 72