Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities.h260 void inline db_Copy3(double xd[3],const double xs[3]) in db_Copy3()
262 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy3()
269 void inline db_Copy6(double xd[6],const double xs[6]) in db_Copy6()
271 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy6()
272 xd[3]=xs[3];xd[4]=xs[4];xd[5]=xs[5]; in db_Copy6()
279 void inline db_Copy9(double xd[9],const double xs[9]) in db_Copy9()
281 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy9()
282 xd[3]=xs[3];xd[4]=xs[4];xd[5]=xs[5]; in db_Copy9()
283 xd[6]=xs[6];xd[7]=xs[7];xd[8]=xs[8]; in db_Copy9()
Ddb_utilities.cpp106 int xd=0, yd=0; in db_WarpImageLutFast_u() local
113 xd = (unsigned int)(lut_x[j][i]); in db_WarpImageLutFast_u()
115 if ( xd >= w || yd >= h || in db_WarpImageLutFast_u()
116 xd < 0 || yd < 0) in db_WarpImageLutFast_u()
119 dst[j][i] = src[yd][xd]; in db_WarpImageLutFast_u()
127 double xd=0.0, yd=0.0; in db_WarpImageLutBilinear_u() local
132 xd = static_cast<double>(lut_x[j][i]); in db_WarpImageLutBilinear_u()
134 if ( xd > w || yd > h || in db_WarpImageLutBilinear_u()
135 xd < 0.0 || yd < 0.0) in db_WarpImageLutBilinear_u()
138 dst[j][i] = db_BilinearInterpolation(yd, xd, src); in db_WarpImageLutBilinear_u()
Ddb_utilities_camera.h104 void inline db_DeHomogenizeImagePoint(double xd[2],const double xs[3]) in db_DeHomogenizeImagePoint()
112 xd[0]=xs[0]*div;xd[1]=xs[1]*div; in db_DeHomogenizeImagePoint()
116 xd[0]=0.0;xd[1]=0.0; in db_DeHomogenizeImagePoint()
Ddb_feature_matching.cpp2790 double xd[2],wx[2]; in db_FillBucketsPrewarped_f() local
2795 xd[0]=x[i]; in db_FillBucketsPrewarped_f()
2796 xd[1]=y[i]; in db_FillBucketsPrewarped_f()
2797 xi=(int) xd[0]; in db_FillBucketsPrewarped_f()
2798 yi=(int) xd[1]; in db_FillBucketsPrewarped_f()
2799 db_ImageHomographyInhomogenous(wx,H,xd); in db_FillBucketsPrewarped_f()
2834 double xd[2],wx[2]; in db_FillBucketsPrewarped_u() local
2839 xd[0]=x[i]; in db_FillBucketsPrewarped_u()
2840 xd[1]=y[i]; in db_FillBucketsPrewarped_u()
2841 xi=(int) db_roundi(xd[0]); in db_FillBucketsPrewarped_u()
[all …]
Ddb_feature_detection.cpp1452 inline void db_SubPixel(float **strength, const double xd, const double yd, double &xs, double &ys) in db_SubPixel() argument
1454 int x = (int) xd; in db_SubPixel()
1463 xs = xd; in db_SubPixel()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.h260 void inline db_Copy3(double xd[3],const double xs[3]) in db_Copy3()
262 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy3()
269 void inline db_Copy6(double xd[6],const double xs[6]) in db_Copy6()
271 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy6()
272 xd[3]=xs[3];xd[4]=xs[4];xd[5]=xs[5]; in db_Copy6()
279 void inline db_Copy9(double xd[9],const double xs[9]) in db_Copy9()
281 xd[0]=xs[0];xd[1]=xs[1];xd[2]=xs[2]; in db_Copy9()
282 xd[3]=xs[3];xd[4]=xs[4];xd[5]=xs[5]; in db_Copy9()
283 xd[6]=xs[6];xd[7]=xs[7];xd[8]=xs[8]; in db_Copy9()
Ddb_utilities.cpp106 int xd=0, yd=0; in db_WarpImageLutFast_u() local
113 xd = (unsigned int)(lut_x[j][i]); in db_WarpImageLutFast_u()
115 if ( xd >= w || yd >= h || in db_WarpImageLutFast_u()
116 xd < 0 || yd < 0) in db_WarpImageLutFast_u()
119 dst[j][i] = src[yd][xd]; in db_WarpImageLutFast_u()
127 double xd=0.0, yd=0.0; in db_WarpImageLutBilinear_u() local
132 xd = static_cast<double>(lut_x[j][i]); in db_WarpImageLutBilinear_u()
134 if ( xd > w || yd > h || in db_WarpImageLutBilinear_u()
135 xd < 0.0 || yd < 0.0) in db_WarpImageLutBilinear_u()
138 dst[j][i] = db_BilinearInterpolation(yd, xd, src); in db_WarpImageLutBilinear_u()
Ddb_utilities_camera.h104 void inline db_DeHomogenizeImagePoint(double xd[2],const double xs[3]) in db_DeHomogenizeImagePoint()
112 xd[0]=xs[0]*div;xd[1]=xs[1]*div; in db_DeHomogenizeImagePoint()
116 xd[0]=0.0;xd[1]=0.0; in db_DeHomogenizeImagePoint()
Ddb_feature_matching.cpp2790 double xd[2],wx[2]; in db_FillBucketsPrewarped_f() local
2795 xd[0]=x[i]; in db_FillBucketsPrewarped_f()
2796 xd[1]=y[i]; in db_FillBucketsPrewarped_f()
2797 xi=(int) xd[0]; in db_FillBucketsPrewarped_f()
2798 yi=(int) xd[1]; in db_FillBucketsPrewarped_f()
2799 db_ImageHomographyInhomogenous(wx,H,xd); in db_FillBucketsPrewarped_f()
2834 double xd[2],wx[2]; in db_FillBucketsPrewarped_u() local
2839 xd[0]=x[i]; in db_FillBucketsPrewarped_u()
2840 xd[1]=y[i]; in db_FillBucketsPrewarped_u()
2841 xi=(int) db_roundi(xd[0]); in db_FillBucketsPrewarped_u()
[all …]
Ddb_feature_detection.cpp1452 inline void db_SubPixel(float **strength, const double xd, const double yd, double &xs, double &ys) in db_SubPixel() argument
1454 int x = (int) xd; in db_SubPixel()
1463 xs = xd; in db_SubPixel()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.h484 int xd=0, yd=0; in db_WarpImageLutFast_rgb() local
489 xd = static_cast<unsigned int>(lut_x[j][i]); in db_WarpImageLutFast_rgb()
491 if ( xd >= w || yd >= h || in db_WarpImageLutFast_rgb()
492 xd < 0 || yd < 0) in db_WarpImageLutFast_rgb()
500 dst[j][3*i ] = src[yd][3*xd ]; in db_WarpImageLutFast_rgb()
501 dst[j][3*i+1] = src[yd][3*xd+1]; in db_WarpImageLutFast_rgb()
502 dst[j][3*i+2] = src[yd][3*xd+2]; in db_WarpImageLutFast_rgb()
530 double xd=0.0, yd=0.0; in db_WarpImageLutBilinear_rgb() local
535 xd = static_cast<double>(lut_x[j][i]); in db_WarpImageLutBilinear_rgb()
537 if ( xd > w-2 || yd > h-2 || in db_WarpImageLutBilinear_rgb()
[all …]
/packages/apps/Camera/jni/feature_stab/src/dbreg/
Ddbreg.h484 int xd=0, yd=0; in db_WarpImageLutFast_rgb() local
489 xd = static_cast<unsigned int>(lut_x[j][i]); in db_WarpImageLutFast_rgb()
491 if ( xd >= w || yd >= h || in db_WarpImageLutFast_rgb()
492 xd < 0 || yd < 0) in db_WarpImageLutFast_rgb()
500 dst[j][3*i ] = src[yd][3*xd ]; in db_WarpImageLutFast_rgb()
501 dst[j][3*i+1] = src[yd][3*xd+1]; in db_WarpImageLutFast_rgb()
502 dst[j][3*i+2] = src[yd][3*xd+2]; in db_WarpImageLutFast_rgb()
530 double xd=0.0, yd=0.0; in db_WarpImageLutBilinear_rgb() local
535 xd = static_cast<double>(lut_x[j][i]); in db_WarpImageLutBilinear_rgb()
537 if ( xd > w-2 || yd > h-2 || in db_WarpImageLutBilinear_rgb()
[all …]