Lines Matching refs:vec
363 float* vec;
483 vec = (float*)cvGetSeqElem( descriptors, k );
484 for( kk = 0; kk < (int)(descriptors->elem_size/sizeof(vec[0])); kk++ )
485 vec[kk] = 0;
499 vec[0] += tx;
500 vec[1] += (float)fabs(tx);
502 vec[2] += tx;
503 vec[3] += (float)fabs(tx);
507 vec[4] += ty;
508 vec[5] += (float)fabs(ty);
510 vec[6] += ty;
511 vec[7] += (float)fabs(ty);
518 normalize += vec[kk]*vec[kk];
521 vec[kk] = (float)(vec[kk]*normalize);
522 vec += 8;
536 vec[0] += tx; vec[1] += ty;
537 vec[2] += (float)fabs(tx); vec[3] += (float)fabs(ty);
542 normalize += vec[kk]*vec[kk];
545 vec[kk] = (float)(vec[kk]*normalize);
546 vec+=4;