cavsdata.h
Go to the documentation of this file.
1 /*
2  * Chinese AVS video (AVS1-P2, JiZhun profile) decoder.
3  * Copyright (c) 2006 Stefan Gehrer <stefan.gehrer@gmx.de>
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_CAVSDATA_H
23 #define AVCODEC_CAVSDATA_H
24 
25 #include "cavs.h"
26 
28  0, //I_8X8
29  0, //P_SKIP
30  0, //P_16X16
31  SPLITH, //P_16X8
32  SPLITV, //P_8X16
33  SPLITH|SPLITV, //P_8X8
34  SPLITH|SPLITV, //B_SKIP
35  SPLITH|SPLITV, //B_DIRECT
36  0, //B_FWD_16X16
37  0, //B_BWD_16X16
38  0, //B_SYM_16X16
39  FWD0|FWD1 |SPLITH,
40  FWD0|FWD1 |SPLITV,
41  BWD0|BWD1 |SPLITH,
42  BWD0|BWD1 |SPLITV,
43  FWD0|BWD1 |SPLITH,
44  FWD0|BWD1 |SPLITV,
45  BWD0|FWD1 |SPLITH,
46  BWD0|FWD1 |SPLITV,
48  FWD0|FWD1 |SYM1 |SPLITV,
50  BWD0|FWD1 |SYM1 |SPLITV,
57  SPLITH|SPLITV, //B_8X8 = 29
58 };
59 
60 /** mark block as "no prediction from this direction"
61  e.g. forward motion vector in BWD partition */
63 
64 /** mark block as using intra prediction */
66 
67 #endif /* AVCODEC_CAVSDATA_H */
#define BWD1
Definition: cavs.h:51
#define SYM1
Definition: cavs.h:53
#define FWD1
Definition: cavs.h:49
uint8_t
#define SPLITH
Definition: cavs.h:54
cavs_vector
Definition: cavs.h:147
const uint8_t ff_cavs_partition_flags[30]
Definition: cavsdata.h:27
#define SYM0
Definition: cavs.h:52
const cavs_vector ff_cavs_intra_mv
mark block as using intra prediction
Definition: cavsdata.h:65
#define REF_DIR
Definition: cavs.h:44
#define BWD0
Definition: cavs.h:50
const cavs_vector ff_cavs_dir_mv
mark block as "no prediction from this direction" e.g.
Definition: cavsdata.h:62
#define SPLITV
Definition: cavs.h:55
#define REF_INTRA
Definition: cavs.h:43
#define FWD0
Definition: cavs.h:48