summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-31 22:39:43 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-31 22:39:43 +0000
commitbb21f1762aee4a7f3890b0daf524a44e7db1c565 (patch)
tree0b0571d9cf47581c7a16d1f63b83ec2f16e8879d /libavcodec/mpegvideo.h
parent91c5172d262ad65dae0a17727b46c3f6caa1b04a (diff)
Add doxy comments, based on Loren's explanations posted here:
Date: Mar 30, 2007 9:00 PM Subject: Re: [Ffmpeg-devel] Motion Estimation in snow.c for Waevelet encoded frames (DWT) Originally committed as revision 8579 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index fd89f38e57..80e0f9065f 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -162,7 +162,11 @@ typedef struct MotionEstContext{
uint32_t *score_map; ///< map to store the scores
int map_generation;
int pre_penalty_factor;
- int penalty_factor;
+ int penalty_factor; /*!< an estimate of the bits required to
+ code a given mv value, e.g. (1,0) takes
+ more bits than (0,0). We have to
+ estimate whether any reduction in
+ residual is worth the extra bits. */
int sub_penalty_factor;
int mb_penalty_factor;
int flags;