/development/perftests/panorama/feature_mos/src/mosaic/ |
D | Geometry.h | 65 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 …]
|
D | Blend.cpp | 139 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/ |
D | db_image_homography.h | 47 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 …
|
D | db_image_homography.cpp | 80 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 …]
|
D | db_metrics.h | 121 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/ |
D | TextureRenderer.java | 147 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/ |
D | TextureRenderer.java | 147 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/ |
D | dbreg.h | 554 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/ |
D | CubeWallpaper1.java | 202 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/ |
D | osd.h | 57 int x1; member
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScript.java | 549 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/ |
D | test_012.ppm | 1144 x1:TJ 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#('#…
|
D | test_011.ppm | 6729 …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…
|
D | test_006.ppm | 7144 …�]��^��`��_��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'�|.��;��=…
|
D | test_034.ppm | 6355 O=/��:�kɔ,�h�b�`�b�a�h�~ƒ3ԠA��,�MI��3ĊE�PwB�x1̗P�`d3�dۭKۭK���s�s�p�o�{őۧ/ɑ<�Z…
|