comparison motion_est.c @ 4299:ffa6f24a0c0f libavcodec

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
author gpoirier
date Tue, 12 Dec 2006 13:41:17 +0000
parents d6f83e2f8804
children dbaae8e5ec55
comparison
equal deleted inserted replaced
4298:bba6e75e026b 4299:ffa6f24a0c0f
1143 void ff_estimate_p_frame_motion(MpegEncContext * s, 1143 void ff_estimate_p_frame_motion(MpegEncContext * s,
1144 int mb_x, int mb_y) 1144 int mb_x, int mb_y)
1145 { 1145 {
1146 MotionEstContext * const c= &s->me; 1146 MotionEstContext * const c= &s->me;
1147 uint8_t *pix, *ppix; 1147 uint8_t *pix, *ppix;
1148 int sum, varc, vard, mx, my, dmin; 1148 int sum, mx, my, dmin;
1149 int varc; ///< the variance of the block (sum of squared (p[y][x]-average))
1150 int vard; ///< sum of squared differences with the estimated motion vector
1149 int P[10][2]; 1151 int P[10][2];
1150 const int shift= 1+s->quarter_sample; 1152 const int shift= 1+s->quarter_sample;
1151 int mb_type=0; 1153 int mb_type=0;
1152 Picture * const pic= &s->current_picture; 1154 Picture * const pic= &s->current_picture;
1153 1155