summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2006-12-12 13:41:17 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-12-12 13:41:17 +0000
commite828d257e7a513f55bdc9f5260d9606460b45052 (patch)
tree72f40e77b60ece032766d2fcdf62bb1acd633c09 /libavcodec/motion_est.c
parent2b0cdd9ec697164ac0415b8629c4a6e5ae9a3b8d (diff)
Doxygen comments about variables described by Michael here:
Date: Tue, 12 Dec 2006 14:00:54 +0100 Subject: Re: [Ffmpeg-cvslog] r6876 - trunk/libavcodec/motion_est.c Originally committed as revision 7288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index fc057712d4..cb6cc64529 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -1145,7 +1145,9 @@ void ff_estimate_p_frame_motion(MpegEncContext * s,
{
MotionEstContext * const c= &s->me;
uint8_t *pix, *ppix;
- int sum, varc, vard, mx, my, dmin;
+ int sum, mx, my, dmin;
+ int varc; ///< the variance of the block (sum of squared (p[y][x]-average))
+ int vard; ///< sum of squared differences with the estimated motion vector
int P[10][2];
const int shift= 1+s->quarter_sample;
int mb_type=0;