tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

vp9.h (1703B)


      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 
     24 #ifndef AVCODEC_VP9_H
     25 #define AVCODEC_VP9_H
     26 
     27 enum TxfmMode {
     28    TX_4X4,
     29    TX_8X8,
     30    TX_16X16,
     31    TX_32X32,
     32    N_TXFM_SIZES,
     33    TX_SWITCHABLE = N_TXFM_SIZES,
     34    N_TXFM_MODES
     35 };
     36 
     37 enum TxfmType {
     38    DCT_DCT,
     39    DCT_ADST,
     40    ADST_DCT,
     41    ADST_ADST,
     42    N_TXFM_TYPES
     43 };
     44 
     45 enum IntraPredMode {
     46    VERT_PRED,
     47    HOR_PRED,
     48    DC_PRED,
     49    DIAG_DOWN_LEFT_PRED,
     50    DIAG_DOWN_RIGHT_PRED,
     51    VERT_RIGHT_PRED,
     52    HOR_DOWN_PRED,
     53    VERT_LEFT_PRED,
     54    HOR_UP_PRED,
     55    TM_VP8_PRED,
     56    LEFT_DC_PRED,
     57    TOP_DC_PRED,
     58    DC_128_PRED,
     59    DC_127_PRED,
     60    DC_129_PRED,
     61    N_INTRA_PRED_MODES
     62 };
     63 
     64 enum FilterMode {
     65    FILTER_8TAP_SMOOTH,
     66    FILTER_8TAP_REGULAR,
     67    FILTER_8TAP_SHARP,
     68    FILTER_BILINEAR,
     69    N_FILTERS,
     70    FILTER_SWITCHABLE = N_FILTERS,
     71 };
     72 
     73 #endif /* AVCODEC_VP9_H */