Lines Matching refs:mag
278 magtype* mag, int len) \
289 mag[i] = x0; \
290 mag[i+1] = x1; \
295 mag[i+2] = x0; \
296 mag[i+3] = x1; \
302 mag[i] = x0*x0 + y0*y0; \
331 CvMat magstub, *mag = (CvMat*)magarr;
355 if( mag )
357 CV_CALL( mag = cvGetMat( mag, &magstub, &coi3 ));
359 if( !CV_ARE_TYPES_EQ( mag, xmat ) )
362 if( !CV_ARE_SIZES_EQ( mag, xmat ) )
364 cont_flag = mag->type;
397 else if( depth == CV_32F && mag )
408 float* mag_data = mag ? (float*)(mag->data.ptr + mag->step*y) : 0;
415 if( mag )
426 if( mag )
437 double* mag_data = mag ? (double*)(mag->data.ptr + mag->step*y) : 0;
450 if( mag )
571 CvMat magstub, *mag = (CvMat*)magarr;
587 if( mag )
589 if( !CV_IS_MAT(mag))
590 CV_CALL( mag = cvGetMat( mag, &magstub, &coi3 ));
592 if( !CV_ARE_TYPES_EQ( angle, mag ) )
595 if( !CV_ARE_SIZES_EQ( angle, mag ) )
598 cont_flag &= mag->type;
651 float* mag_data = (float*)(mag ? mag->data.ptr + mag->step*y : 0);
686 double* mag_data = (double*)(mag ? mag->data.ptr + mag->step*y : 0);