vidCNR2::downSampleYV12 (unsigned char *dst, ADMImage * src)
void vidCNR2::downSampleYV12 (unsigned char *dst, ADMImage * src)
vidCNR2::downSampleYV12 (unsigned char *dst, ADMImage * src){  unsigned char *temp = dst;  const unsigned char *srcpY = YPLANE (src);  int src_pitchY = _info.width << 1;  const unsigned char *srcpnY = srcpY + (src_pitchY >> 1);  int widthY = _info.width >> 1;  int heightY = _info.height >> 1;  int x, y, temp1;  for (y = 0; y < heightY; ++y)    {      for (x = 0; x < widthY; ++x)	{	  temp1 = x << 1;	  temp[x] =	    (srcpY[temp1] + srcpY[temp1 + 1] + srcpnY[temp1] +	     srcpnY[temp1 + 1] + 2) >> 2;	}      srcpY += src_pitchY;      srcpnY += src_pitchY;      temp += widthY;    }}