vp9.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * VP9 compatible video decoder
  3. *
  4. * Copyright (C) 2013 Ronald S. Bultje <rsbultje gmail com>
  5. * Copyright (C) 2013 Clément Bœsch <u pkh me>
  6. *
  7. * This file is part of FFmpeg.
  8. *
  9. * FFmpeg is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2.1 of the License, or (at your option) any later version.
  13. *
  14. * FFmpeg is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with FFmpeg; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. */
  23. #ifndef AVCODEC_VP9_H
  24. #define AVCODEC_VP9_H
  25. enum TxfmMode {
  26. TX_4X4,
  27. TX_8X8,
  28. TX_16X16,
  29. TX_32X32,
  30. N_TXFM_SIZES,
  31. TX_SWITCHABLE = N_TXFM_SIZES,
  32. N_TXFM_MODES
  33. };
  34. enum TxfmType {
  35. DCT_DCT,
  36. DCT_ADST,
  37. ADST_DCT,
  38. ADST_ADST,
  39. N_TXFM_TYPES
  40. };
  41. enum IntraPredMode {
  42. VERT_PRED,
  43. HOR_PRED,
  44. DC_PRED,
  45. DIAG_DOWN_LEFT_PRED,
  46. DIAG_DOWN_RIGHT_PRED,
  47. VERT_RIGHT_PRED,
  48. HOR_DOWN_PRED,
  49. VERT_LEFT_PRED,
  50. HOR_UP_PRED,
  51. TM_VP8_PRED,
  52. LEFT_DC_PRED,
  53. TOP_DC_PRED,
  54. DC_128_PRED,
  55. DC_127_PRED,
  56. DC_129_PRED,
  57. N_INTRA_PRED_MODES
  58. };
  59. enum FilterMode {
  60. FILTER_8TAP_SMOOTH,
  61. FILTER_8TAP_REGULAR,
  62. FILTER_8TAP_SHARP,
  63. FILTER_BILINEAR,
  64. N_FILTERS,
  65. FILTER_SWITCHABLE = N_FILTERS,
  66. };
  67. #endif /* AVCODEC_VP9_H */