* 02111-1307, USA.
*
*/
#include <cstdlib>
#include "config.h"
#include <limits>
#include <stdio.h>
#include "macroblock.hh"
{
vector<MotionEst>::iterator i;
vector<MotionEst>::iterator min_me;
int best_score = INT_MAX;
int best_score = std::numeric_limits<int>::max();
int cur_score;
//
#include <config.h>
#include <stdlib.h>
a basis for setting thresholds for rejecting really dud 4*4
and 2*2 sub-sampled matches.
best.weight = psad_00(reffld+i0+j0*lx,ssblk->mb,lx,h,INT_MAX);
best.weight = psad_00(reffld+i0+j0*lx,ssblk->mb,lx,h,std::numeric_limits<int>::max());
best.x = 0;
best.y = 0;
/* Final polish: half-pel search of best 1*1 against
reconstructed image.
res->sad = INT_MAX;
res->sad = std::numeric_limits<int>::max();
x = (i0+best.x)<<1;
y = (j0+best.y)<<1;
#include "picturereader.hh"
frames_read = 0;
last_frame = -1;
lum_mean = 0;
istrm_nframes = INT_MAX;
istrm_nframes = std::numeric_limits<int>::max();
}