# HG changeset patch # User michael # Date 1104322454 0 # Node ID a579ef4a4f4a3dc765d31a589608961a2ac87c90 # Parent 7e360068b6531da9de0b2490be249a912b2f325c motion_val doxy diff -r 7e360068b653 -r a579ef4a4f4a avcodec.h --- a/avcodec.h Wed Dec 29 04:17:52 2004 +0000 +++ b/avcodec.h Wed Dec 29 12:14:14 2004 +0000 @@ -476,7 +476,14 @@ 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\ */\