xref: /rockchip-linux_mpp/mpp/codec/dec/vp9/vp9.h (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1 /*
2 *
3 * Copyright 2015 Rockchip Electronics Co. LTD
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 
18 #ifndef VP9_H
19 #define VP9_H
20 
21 enum TxfmMode {
22     TX_4X4,
23     TX_8X8,
24     TX_16X16,
25     TX_32X32,
26     N_TXFM_SIZES,
27     TX_SWITCHABLE = N_TXFM_SIZES,
28     N_TXFM_MODES
29 };
30 
31 enum TxfmType {
32     DCT_DCT,
33     DCT_ADST,
34     ADST_DCT,
35     ADST_ADST,
36     N_TXFM_TYPES
37 };
38 
39 enum IntraPredMode {
40     VERT_PRED,
41     HOR_PRED,
42     DC_PRED,
43     DIAG_DOWN_LEFT_PRED,
44     DIAG_DOWN_RIGHT_PRED,
45     VERT_RIGHT_PRED,
46     HOR_DOWN_PRED,
47     VERT_LEFT_PRED,
48     HOR_UP_PRED,
49     TM_VP8_PRED,
50     LEFT_DC_PRED,
51     TOP_DC_PRED,
52     DC_128_PRED,
53     DC_127_PRED,
54     DC_129_PRED,
55     N_INTRA_PRED_MODES
56 };
57 
58 enum FilterMode {
59     FILTER_8TAP_SMOOTH,
60     FILTER_8TAP_REGULAR,
61     FILTER_8TAP_SHARP,
62     FILTER_BILINEAR,
63     FILTER_SWITCHABLE,
64 };
65 #endif /*VP9_H */
66