Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 15 of 15) sorted by relevance

/development/perftests/panorama/feature_mos/src/mosaic/
DGeometry.h65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, in FindTriangleCentroid() argument
70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid()
76 if (x0 == x1) in FindTriangleCentroid()
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()
87 if (x0 == x1) in FindTriangleCentroid()
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
96 else if (x1 == x2) in FindTriangleCentroid()
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid()
112 double b2 = y1 - m2 * x1; in FindTriangleCentroid()
118 dx = x1 - x; in FindTriangleCentroid()
[all …]
DBlend.cpp139 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
165 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1); in runBlend()
169 … if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower in runBlend()
172 xLeftCorners[1] = x1; in runBlend()
195 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
983 int x1 = (xx >= 0.0) ? (int) xx : (int) floor(xx); in ProcessPyramidForThisFrame() local
988 if(inSegment(x1, sptr->width, BORDER-1) && in ProcessPyramidForThisFrame()
991 double xfrac = xx - x1; in ProcessPyramidForThisFrame()
994 wt1 * ciCalc(sptr, x1, y1, xfrac, yfrac)); in ProcessPyramidForThisFrame()
998 wt1 * ciCalc(suptr, x1, y1, xfrac, yfrac)); in ProcessPyramidForThisFrame()
[all …]
/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_image_homography.h47 double x1[3],double x2[3],double x3[3],double x4[3],
62 double x1[3],double x2[3],double x3[3],
77 double x1[3],double x2[3], in db_StitchCameraRotation_2Points()
84 x[0]=x1; in db_StitchCameraRotation_2Points()
100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double …
Ddb_image_homography.cpp80 double x1[3],double x2[3],double x3[3],double x4[3], in db_StitchProjective2D_4Points()
86 db_SProjImagePointPointConstraints(c ,c+9 ,xp1,x1); in db_StitchProjective2D_4Points()
95 double x1[3],double x2[3],double x3[3], in db_StitchAffine2D_3Points()
101 db_SAffineImagePointPointConstraints(c ,c+7 ,xp1,x1); in db_StitchAffine2D_3Points()
114 inline void db_CommonFocalLengthFromRotation_2Point(double fsol[3],int *nr_sols,double x1[3],double… in db_CommonFocalLengthFromRotation_2Point()
129 m=db_SafeReciprocal(x1[2]); in db_CommonFocalLengthFromRotation_2Point()
130 ax=x1[0]*m; in db_CommonFocalLengthFromRotation_2Point()
131 ay=x1[1]*m; in db_CommonFocalLengthFromRotation_2Point()
177 int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],d… in db_StitchRotationCommonFocalLength_3Points()
186 db_CommonFocalLengthFromRotation_2Point(fsol,&nr_sols,x1,x2,xp1,xp2,signed_disambiguation); in db_StitchRotationCommonFocalLength_3Points()
[all …]
Ddb_metrics.h121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local
125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; in db_SquaredReprojectionErrorHomography()
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography()
135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local
139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in db_SquaredInhomogenousHomographyError()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
/development/samples/HelloEffects/src/com/example/android/mediafx/
DTextureRenderer.java147 float x0, y0, x1, y1; in computeOutputVertices() local
151 x1 = 1.0f / relativeAspectRatio; in computeOutputVertices()
156 x1 = 1.0f; in computeOutputVertices()
159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 }; in computeOutputVertices()
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DTextureRenderer.java147 float x0, y0, x1, y1; in computeOutputVertices() local
151 x1 = 1.0f / relativeAspectRatio; in computeOutputVertices()
156 x1 = 1.0f; in computeOutputVertices()
159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 }; in computeOutputVertices()
/development/perftests/panorama/feature_stab/src/dbreg/
Ddbreg.h554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local
558 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in SquaredInhomogenousHomographyError()
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult); in SquaredInhomogenousHomographyError()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java202 void drawLine(Canvas c, int x1, int y1, int z1, int x2, int y2, int z2) { in drawLine() argument
217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1); in drawLine()
219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1); in drawLine()
/development/ndk/platforms/android-L/include/linux/dvb/
Dosd.h57 int x1; member
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java549 float x1 = pt1xStart; in handleEvent() local
565 .setEventTime(eventTime).addPointer(0, x1, y1, 1, 5)); in handleEvent()
569 .addPointer(0, x1, y1).addPointer(1, x2, y2).setIntermediateNote(true)); in handleEvent()
572 x1 += pt1xStep; in handleEvent()
579 .setEventTime(eventTime).addPointer(0, x1, y1, 1, 5).addPointer(1, x2, in handleEvent()
584 .setDownTime(downTime).setEventTime(eventTime).addPointer(0, x1, y1) in handleEvent()
/development/perftests/panorama/input/
Dtest_012.ppm1144 x1:T J e %v16K
6991 ;) :(3#/ # <6%~�w���������������������z[:tV4��I��I��h��t��������o��f�x;�q4�n'�t-�x1�}6�8��<��S…
7153 ;-RD5a[Mql^��v�����a��f��}��������u�{H�m:�h#�k&�i'�h&�p*�q,�x1�~7��S��^�����������~��R��J��7��;�L…
7294 …(a^L��a��k��z��t��X�Q�|<�t4�s)�t*�i!�o'�s)�p'�t.�v0�{J��^��������q��e�}6�x1�}8�x4F10#('#…
Dtest_011.ppm6729 …F��C��K��W��]��l��s��~��x�������Ȭ�ѵ�͚�Н�ʍѷ{��f��Z��s��|����ȷ����ij��T��R�{4�x1��X��l���������Ż�Ѽ��ə…
7234 …�������g��[��D��D��E��E��R��a��W��H��R��W��n��n��������q��g�u5�k*�e �l'�v/�x1�}5�7�O��W���������…
7377 …�R��i��z��������s��k��H��I��I��D��>��A��L��K��Y��]��k��z����a�}<�x7�u,�{1�x1�v/�o*�w3�x/�x/�{D��S…
Dtest_006.ppm7144 …�]��^��`��_��n��s�����������x��I��L��L��J��D��D��C��E��v�����������i��^��:�x1�v(�v(�w,�{/��A��A��R…
7151 …�i��]��[��_��`��o��s�����������w��M��Q��O��L��H��F��C��D��u����������^��T�x1�s,�p"�o!�u'�|.��;��=…
Dtest_034.ppm6355 O=/��:�kɔ,�h��b��`��b��a��h��~ƒ3ԠA��,�M�I���3ĊE�P wB��x1̗P�`d3��dۭKۭK���s��s��p��o��{�őۧ/ɑ<�Z…