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