avcodec/snow: Document BlockNode

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-06-17 21:24:06 +02:00
parent 737f06577c
commit 4efbeadadc

View File

@ -48,14 +48,14 @@
#define LOG2_OBMC_MAX 8 #define LOG2_OBMC_MAX 8
#define OBMC_MAX (1<<(LOG2_OBMC_MAX)) #define OBMC_MAX (1<<(LOG2_OBMC_MAX))
typedef struct BlockNode{ typedef struct BlockNode{
int16_t mx; int16_t mx; ///< Motion vector component X, see mv_scale
int16_t my; int16_t my; ///< Motion vector component Y, see mv_scale
uint8_t ref; uint8_t ref; ///< Reference frame index
uint8_t color[3]; uint8_t color[3]; ///< Color for intra
uint8_t type; uint8_t type; ///< Bitfield of BLOCK_*
//#define TYPE_SPLIT 1 //#define TYPE_SPLIT 1
#define BLOCK_INTRA 1 #define BLOCK_INTRA 1 ///< Intra block, inter otherwise
#define BLOCK_OPT 2 #define BLOCK_OPT 2 ///< Block needs no checks in this round of iterative motion estiation
//#define TYPE_NOCOLOR 4 //#define TYPE_NOCOLOR 4
uint8_t level; //FIXME merge into type? uint8_t level; //FIXME merge into type?
}BlockNode; }BlockNode;