aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-12-29 12:14:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-12-29 12:14:14 +0000
commit6143607303de40f4647fe9ba10c4b36909ba0f1f (patch)
tree8fc2d22db680391a4a9e3baf67ab0b73f761b5b2 /libavcodec/avcodec.h
parent5ad984c997be3cf529b20db82f34b8dd27c364e6 (diff)
downloadffmpeg-6143607303de40f4647fe9ba10c4b36909ba0f1f.tar.gz
motion_val doxy
Originally committed as revision 3776 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f53e62a97d..a8aa16e786 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -476,7 +476,14 @@ typedef struct AVPanScan{
uint8_t *mbskip_table;\
\
/**\
- * Motion vector table\
+ * Motion vector table.\
+ * @code\
+ * example:\
+ * int mv_sample_log2= 4 - motion_subsample_log2;\
+ * int mb_width= (width+15)>>4;\
+ * int mv_stride= (mb_width << mv_sample_log2) + 1;\
+ * motion_val[direction][x + y*mv_stride][0->mv_x, 1->mv_y];\
+ * @endcode\
* - encoding: set by user\
* - decoding: set by lavc\
*/\