aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-06-17 21:24:06 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-17 21:48:34 +0200
commit4efbeadadc6f5a107d5219cbd677b644e7cdca84 (patch)
tree5942bf9c50a10bafca76a0fc4a8e8a0f5708fa3f /libavcodec
parent737f06577ca93b9e4751aacf40831dd3e0d0104f (diff)
downloadffmpeg-4efbeadadc6f5a107d5219cbd677b644e7cdca84.tar.gz
avcodec/snow: Document BlockNode
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/snow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h
index 00d7c4211d..59c710b5f9 100644
--- a/libavcodec/snow.h
+++ b/libavcodec/snow.h
@@ -48,14 +48,14 @@
#define LOG2_OBMC_MAX 8
#define OBMC_MAX (1<<(LOG2_OBMC_MAX))
typedef struct BlockNode{
- int16_t mx;
- int16_t my;
- uint8_t ref;
- uint8_t color[3];
- uint8_t type;
+ int16_t mx; ///< Motion vector component X, see mv_scale
+ int16_t my; ///< Motion vector component Y, see mv_scale
+ uint8_t ref; ///< Reference frame index
+ uint8_t color[3]; ///< Color for intra
+ uint8_t type; ///< Bitfield of BLOCK_*
//#define TYPE_SPLIT 1
-#define BLOCK_INTRA 1
-#define BLOCK_OPT 2
+#define BLOCK_INTRA 1 ///< Intra block, inter otherwise
+#define BLOCK_OPT 2 ///< Block needs no checks in this round of iterative motion estiation
//#define TYPE_NOCOLOR 4
uint8_t level; //FIXME merge into type?
}BlockNode;