[SCM] libav/experimental: motion_val doxy

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:29 UTC 2013


The following commit has been merged in the experimental branch:
commit 6143607303de40f4647fe9ba10c4b36909ba0f1f
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Dec 29 12:14:14 2004 +0000

    motion_val doxy
    
    Originally committed as revision 3776 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f53e62a..a8aa16e 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\
      */\

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list