Home
last modified time | relevance | path

Searched refs:CV_FLT_TO_FIX (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/imgproc/src/
Ddistransform.cpp49 #define CV_FLT_TO_FIX(x,n) cvRound((x)*(1<<(n))) macro
74 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], DIST_SHIFT ); in distanceTransform_3x3()
75 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransform_3x3()
147 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], DIST_SHIFT ); in distanceTransform_5x5()
148 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransform_5x5()
149 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], DIST_SHIFT ); in distanceTransform_5x5()
238 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], DIST_SHIFT ); in distanceTransformEx_5x5()
239 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransformEx_5x5()
240 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], DIST_SHIFT ); in distanceTransformEx_5x5()
/external/opencv/cv/src/
Dcvdistransform.cpp72 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); in icvDistanceTransform_3x3_C1R()
73 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransform_3x3_C1R()
144 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); in icvDistanceTransform_5x5_C1R()
145 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransform_5x5_C1R()
146 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], ICV_DIST_SHIFT ); in icvDistanceTransform_5x5_C1R()
235 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); in icvDistanceTransformEx_5x5_C1R()
236 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransformEx_5x5_C1R()
237 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], ICV_DIST_SHIFT ); in icvDistanceTransformEx_5x5_C1R()
Dcvimgwarp.cpp856 xofs[dx*cn + k].ialpha = CV_FLT_TO_FIX(fx, ICV_WARP_SHIFT); in cvResize()
880 yofs[dy].ialpha = CV_FLT_TO_FIX(fy, ICV_WARP_SHIFT); in cvResize()
970 int xs = CV_FLT_TO_FIX( A12*y + b1, ICV_WARP_SHIFT ); \
971 int ys = CV_FLT_TO_FIX( A22*y + b2, ICV_WARP_SHIFT ); \
1168 ofs[2*k] = CV_FLT_TO_FIX( dst_matrix[0]*k, ICV_WARP_SHIFT ); in cvWarpAffine()
1169 ofs[2*k+1] = CV_FLT_TO_FIX( dst_matrix[3]*k, ICV_WARP_SHIFT ); in cvWarpAffine()
/external/opencv/cvaux/src/
Dcvhmmobs.cpp103 #define SCALE(x) CV_FLT_TO_FIX((x),DCT_SCALE)
/external/opencv/cxcore/include/
Dcxmisc.h254 #define CV_FLT_TO_FIX(x,n) cvRound((x)*(1<<(n))) macro