Lines Matching refs:mag_buf
64 int* mag_buf[3];
128 mag_buf[0] = (int*)buffer;
129 mag_buf[1] = mag_buf[0] + size.width + 2;
130 mag_buf[2] = mag_buf[1] + size.width + 2;
131 map = (uchar*)(mag_buf[2] + size.width + 2);
137 memset( mag_buf[0], 0, (size.width+2)*sizeof(int) );
165 int* _mag = mag_buf[(i > 0) + 1] + 1;
212 _mag = mag_buf[1] + 1; // take the central row
216 magstep1 = (int)(mag_buf[2] - mag_buf[1]);
217 magstep2 = (int)(mag_buf[0] - mag_buf[1]);
298 _mag = mag_buf[0];
299 mag_buf[0] = mag_buf[1];
300 mag_buf[1] = mag_buf[2];
301 mag_buf[2] = _mag;