vp9data.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. #ifndef AVCODEC_VP9DATA_H
  22. #define AVCODEC_VP9DATA_H
  23. #include <stdint.h>
  24. #include "vp9dec.h"
  25. extern const uint8_t ff_vp9_bwh_tab[2][N_BS_SIZES][2];
  26. extern const int8_t ff_vp9_partition_tree[3][2];
  27. extern const uint8_t ff_vp9_default_kf_partition_probs[4][4][3];
  28. extern const int8_t ff_vp9_segmentation_tree[7][2];
  29. extern const int8_t ff_vp9_intramode_tree[9][2];
  30. extern const uint8_t ff_vp9_default_kf_ymode_probs[10][10][9];
  31. extern const uint8_t ff_vp9_default_kf_uvmode_probs[10][9];
  32. extern const int8_t ff_vp9_inter_mode_tree[3][2];
  33. extern const int8_t ff_vp9_filter_tree[2][2];
  34. extern const enum FilterMode ff_vp9_filter_lut[3];
  35. extern const int16_t ff_vp9_dc_qlookup[3][256];
  36. extern const int16_t ff_vp9_ac_qlookup[3][256];
  37. extern const enum TxfmType ff_vp9_intra_txfm_type[14];
  38. extern const int16_t ff_vp9_default_scan_4x4[16];
  39. extern const int16_t ff_vp9_col_scan_4x4[16];
  40. extern const int16_t ff_vp9_row_scan_4x4[16];
  41. extern const int16_t ff_vp9_default_scan_8x8[64];
  42. extern const int16_t ff_vp9_col_scan_8x8[64];
  43. extern const int16_t ff_vp9_row_scan_8x8[64];
  44. extern const int16_t ff_vp9_default_scan_16x16[256];
  45. extern const int16_t ff_vp9_col_scan_16x16[256];
  46. extern const int16_t ff_vp9_row_scan_16x16[256];
  47. extern const int16_t ff_vp9_default_scan_32x32[1024];
  48. extern const int16_t * const ff_vp9_scans[5][4];
  49. extern const int16_t ff_vp9_default_scan_4x4_nb[16][2];
  50. extern const int16_t ff_vp9_col_scan_4x4_nb[16][2];
  51. extern const int16_t ff_vp9_row_scan_4x4_nb[16][2];
  52. extern const int16_t ff_vp9_default_scan_8x8_nb[64][2];
  53. extern const int16_t ff_vp9_col_scan_8x8_nb[64][2];
  54. extern const int16_t ff_vp9_row_scan_8x8_nb[64][2];
  55. extern const int16_t ff_vp9_default_scan_16x16_nb[256][2];
  56. extern const int16_t ff_vp9_col_scan_16x16_nb[256][2];
  57. extern const int16_t ff_vp9_row_scan_16x16_nb[256][2];
  58. extern const int16_t ff_vp9_default_scan_32x32_nb[1024][2];
  59. extern const int16_t (* const ff_vp9_scans_nb[5][4])[2];
  60. extern const uint8_t ff_vp9_model_pareto8[256][8];
  61. extern const ProbContext ff_vp9_default_probs;
  62. extern const uint8_t ff_vp9_default_coef_probs[4][2][2][6][6][3];
  63. extern const int8_t ff_vp9_mv_joint_tree[3][2];
  64. extern const int8_t ff_vp9_mv_class_tree[10][2];
  65. extern const int8_t ff_vp9_mv_fp_tree[3][2];
  66. #endif /* AVCODEC_VP9DATA_H */