Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 45) sorted by relevance

12

/cts/tests/tests/rscpp/librscpptest/
Dfe_all.rs18 aout[0].z = ain[0].z + 1;
25 aout[0].z = ain[0].z + 1;
44 aout[0].z = ain[0].z + 1;
51 aout[0].z = ain[0].z + 1;
70 aout[0].z = ain[0].z + 1;
77 aout[0].z = ain[0].z + 1;
96 aout[0].z = ain[0].z + 1;
103 aout[0].z = ain[0].z + 1;
122 aout[0].z = ain[0].z + 1.0f;
129 aout[0].z = ain[0].z + 1.0f;
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dfe_all.rs18 aout[0].z = ain[0].z + 1;
25 aout[0].z = ain[0].z + 1;
44 aout[0].z = ain[0].z + 1;
51 aout[0].z = ain[0].z + 1;
70 aout[0].z = ain[0].z + 1;
77 aout[0].z = ain[0].z + 1;
96 aout[0].z = ain[0].z + 1;
103 aout[0].z = ain[0].z + 1;
122 aout[0].z = ain[0].z + 1.0f;
129 aout[0].z = ain[0].z + 1.0f;
[all …]
Dkernel_all.rs19 r.z = ain.z + 1;
27 r.z = ain.z + 1;
47 r.z = ain.z + 1;
55 r.z = ain.z + 1;
75 r.z = ain.z + 1;
83 r.z = ain.z + 1;
103 r.z = ain.z + 1;
111 r.z = ain.z + 1;
131 r.z = ain.z + 1.0f;
139 r.z = ain.z + 1.0f;
[all …]
DComputeTest.java63 b3.z = 2; in testJavaVectorTypes()
67 assertTrue(b3.z == 3); in testJavaVectorTypes()
76 assertTrue(b4.z == 3); in testJavaVectorTypes()
88 d3.z = 3.0; in testJavaVectorTypes()
92 assertTrue(d3.z == 3.0); in testJavaVectorTypes()
101 assertTrue(d4.z == 3.0); in testJavaVectorTypes()
113 f3.z = 3.0f; in testJavaVectorTypes()
117 assertTrue(f3.z == 3.0f); in testJavaVectorTypes()
126 assertTrue(f4.z == 3.0f); in testJavaVectorTypes()
138 i3.z = 3; in testJavaVectorTypes()
[all …]
Dvector.rs53 _RS_ASSERT(f3.z == 4.99f);
57 _RS_ASSERT(f4.z == 4.99f);
66 _RS_ASSERT(d3.z == 4.99);
70 _RS_ASSERT(d4.z == 4.99);
79 _RS_ASSERT(i8_3.z == 4);
83 _RS_ASSERT(i8_4.z == 4);
92 _RS_ASSERT(u8_3.z == 4);
96 _RS_ASSERT(u8_4.z == 4);
105 _RS_ASSERT(i16_3.z == 4);
109 _RS_ASSERT(i16_4.z == 4);
[all …]
Dintrinsic_3dlut.rs27 gDims.z = rsAllocationGetDimZ(gCube);
38 float4 v000 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord1.z));
39 float4 v100 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord1.z));
40 float4 v010 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord1.z));
41 float4 v110 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord1.z));
42 float4 v001 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord2.z));
43 float4 v101 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord2.z));
44 float4 v011 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord2.z));
45 float4 v111 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord2.z));
55 float4 v = mix(z0, z1, f.z);
DIntrinsic3DLut.java32 for (int z = 0; z < sz; z++) { in genCubeIdent()
38 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent()
39 dat[z*sy*sx + y*sx + x] = v; in genCubeIdent()
50 for (int z = 0; z < sz; z++) { in genCubeRand()
57 dat[z*sy*sx + y*sx + x] = v; in genCubeRand()
Dgetset.rs107 uint z = idx / (gWidth * gHeight); \
108 ty i = rsGetElementAt_##ty(gAlloc3DIn, x, y, z); \
109 rsSetElementAt_##ty(gAlloc3DOut, i, x, y, z); \
114 uint z = idx / (gWidth * gHeight); \
115 ty##2 i = rsGetElementAt_##ty##2(gAlloc3DIn, x, y, z); \
116 rsSetElementAt_##ty##2(gAlloc3DOut, i, x, y, z); \
121 uint z = idx / (gWidth * gHeight); \
122 ty##3 i = rsGetElementAt_##ty##3(gAlloc3DIn, x, y, z); \
123 rsSetElementAt_##ty##3(gAlloc3DOut, i, x, y, z); \
128 uint z = idx / (gWidth * gHeight); \
[all …]
Dprimitives.rs77 _RS_ASSERT(avt->b3.z == 3);
80 _RS_ASSERT(avt->b4.z == 3);
87 _RS_ASSERT(avt->s3.z == 3);
90 _RS_ASSERT(avt->s4.z == 3);
97 _RS_ASSERT(avt->i3.z == 3);
100 _RS_ASSERT(avt->i4.z == 3);
107 _RS_ASSERT(avt->f3.z == 3.0f);
110 _RS_ASSERT(avt->f4.z == 3.0f);
DLaunchClip.java44 void setup(boolean makeIn, boolean makeOut, int x, int y, int z, boolean face, boolean lods, in setup() argument
49 mDimZ = z; in setup()
97 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { in verifyCell() argument
118 if (z >= sc.getZStart() && z < sc.getZEnd()) { in verifyCell()
119 expected |= z << 16; in verifyCell()
129 int val = a[x + y * mDimX + z * mDimX * mDimY]; in verifyCell()
131 String s = new String("verify error @ " + x + ", " + y + ", " + z + in verifyCell()
144 for (int z = 0; z < itZ; z++) { in verifyRange()
145 verifyCell(x, y, z, a, sc); in verifyRange()
Dyuv.rs35 p.z = (Y * 298 + U * 516 + 128) >> 8;
49 if(p.z < 0) {
50 p.z = 0;
52 if(p.z > 255) {
53 p.z = 255;
56 return (uchar4){p.x, p.y, p.z, p.w};
DRsPackColorTo8888Test.java125 color.z *= 255.f; in rs_PackColorTo8888()
128 color.z += 0.5f; in rs_PackColorTo8888()
130 (byte) color.x, (byte) color.y, (byte) color.z, (byte) 255 in rs_PackColorTo8888()
138 color.z *= 255.f; in rs_PackColorTo8888()
141 color.z += 0.5f; in rs_PackColorTo8888()
145 (byte) color.x, (byte) color.y, (byte) color.z, (byte) color.w in rs_PackColorTo8888()
Dutils.rs13 _RS_ASSERT(v.z == res.z);
Dlaunchclip.rs48 int RS_KERNEL write3d(uint32_t x, uint32_t y, uint32_t z) {
49 return 0x80000000 | (x + biasX) | ((y + biasY) << 8) | ((z + biasZ) << 16);
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
Draw_converter.rs76 ret.z = gammaEncode(rgb.z);
100 if (sorted.z < sorted.y) {
101 tmp = sorted.z;
102 sorted.z = sorted.y;
112 if (sorted.z < sorted.y) {
113 tmp = sorted.z;
114 sorted.z = sorted.y;
121 minmax.y = sorted.z;
126 minmax * toneMapCoeffs.z + toneMapCoeffs.w;
130 if (sorted.z == sorted.x) {
[all …]
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DMatrix.cpp76 void Matrix::translate(float x, float y, float z) { in translate() argument
77 Matrix* m = newTranslate(x, y, z); in translate()
86 void Matrix::scale(float x, float y, float z) { in scale() argument
87 Matrix* m = newScale(x, y, z); in scale()
96 void Matrix::rotate(float radians, float x, float y, float z) { in rotate() argument
97 Matrix* m = newRotate(radians, x, y, z); in rotate()
113 float z = 0; in multiply() local
121 z += lhs[j4 + 2] * e; in multiply()
127 mData[i4 + 2] = z; in multiply()
225 Matrix* Matrix::newTranslate(float x, float y, float z) { in newTranslate() argument
[all …]
DMatrix.h30 void translate(float x, float y, float z);
32 void scale(float x, float y, float z);
34 void rotate(float radians, float x, float y, float z);
47 static Matrix* newTranslate(float x, float y, float z);
49 static Matrix* newScale(float x, float y, float z);
51 static Matrix* newRotate(float radians, float x, float y, float z);
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rs48 sum.z += elem.z;
53 sum.z *= inv_width; // multiply by 1/w
75 sum.z += elem.z;
80 sum.z *= inv_width; // multiply by 1/w
Dmeans_yuvx_444_1d_to_single.rs43 sum.z += elem.z;
48 sum.z *= inv_width; // multiply by 1/w
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js209 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
221 z : 0.0, property in Flog.RayTracer.Vector
223 initialize : function(x, y, z) { argument
226 this.z = (z ? z : 0);
232 this.z = vector.z;
237 return new Flog.RayTracer.Vector(this.x / m, this.y / m, this.z / m);
241 return Math.sqrt((this.x * this.x) + (this.y * this.y) + (this.z * this.z));
246 -this.z * w.y + this.y * w.z,
247 this.z * w.x - this.x * w.z,
252 return this.x * w.x + this.y * w.y + this.z * w.z;
[all …]
Dbox2d.js27 …k(){k.b2Point.apply(this,arguments)}function z(){z.b2RayCastInput.apply(this,arguments);this.const… function
43 k;Box2D.Collision.b2RayCastInput=z;Box2D.Collision.b2RayCastOutput=u;Box2D.Collision.b2Segment=D;Bo…
51 k=Box2D.Collision.b2DistanceOutput,z=Box2D.Collision.b2DistanceProxy,u=Box2D.Collision.b2DynamicTre…
76 …tanceOutput=function(){this.pointA=new p;this.pointB=new p};z.b2DistanceProxy=function(){};z.proto… class
77z.prototype.GetSupport=function(b){for(var e=0,f=this.m_vertices[0].x*b.x+this.m_vertices[0].y*b.y…
78 z.prototype.GetVertexCount=function(){return this.m_count};z.prototype.GetVertex=function(b){if(b==…
113 …t.s_distanceOutput=new k});q.b2TOIInput=function(){this.proxyA=new z;this.proxyB=new z;this.sweepA=
122 …his.m_p.SetV((k instanceof G?k:null).m_p)};G.prototype.TestPoint=function(k,z){var u=k.R,D=k.posit… argument
123z.x-D;u=z.y-u;return D*D+u*u<=this.m_radius*this.m_radius};G.prototype.RayCast=function(k,z,u){var… argument
124z){var u=z.R,D=z.position.x+(u.col1.x*this.m_p.x+u.col2.x*this.m_p.y);u=z.position.y+(u.col1.y*thi… argument
[all …]
/cts/tests/tests/media/assets/
Dsegment000001.ts12 G���t@ņ�3���[�z.�/ˀ�H��� lV�Rqp(7P\s�5*z
17 ���c��Vֱf�&:�H7UfwY�������7Q��z���f�Hō:���[����������d"o���x"�Մ�����ߝ.~5���x����&�� �q���>�…
28z�ȸ��V�-�F�D���S��=H����م?y��SR����L�0c����iy��h���a*�DƝ�L�l&�JMV�k&N��N�?Y�e��}�}�s�…
39 .ŧ�G��Hj�� "����}��@�z�ooO�O����o��ؖ�?����3Ja���-�f8��6l � ���[|��e†���:g#(����G{�}��…
107 …_��`��Dy�_�E~�iz<���\E�X�Q���*B�،7 ��G���0ڵ��2�����Ҏ3�}�J�%xs�ر���z�sogr��~ť`������r�'…
136 , /��%�� 堏��i�*b3��F`�p4X��Q�1K�z�8�pĤ����ê�f�X�rʨg�E7�G��ć���A96�����UЇPM|���.�Q�E�le��…
137 ��7R�^����@7� z�h
148 2�p9 @���fq��\��?�u������T�yW�f|g�!�VA�U[�8r5��,"ˊcha�Mv:2� l��z���+Pj<�Æ�˫x����3�O� �@�G�…
154 �,��|I J��`�.�Q|�ط�(꺯z u]W�Q�sb�g!#-�W&��?GA�=�z������8��!�?�?��� ����A�`�Mł�;
164 �,��� ���#ś�~��k��~>���.��� ���u.�}W�Z��MU_h�z��\h��_�� �"����`!f<��B�A��"*���,G�…
Dsegment000000.ts14 �M��{�)��^ˬLa\���H��lmxA��BG�x�cE�ϸ��r ���+U~��p�Q�����z���u��1XW�P+���g�g��[��у{�T�…
48 bI�Oq�?����5�9����M����>���A���{�/�̄��¸�=��e����+z��G�=C�����1\� �ğ��'��o�k���
97z���L�����g�\͂�X�0��:����;�� ��!���y�G�o�hl�<st��K�!F8p[cf��4S����*�窖�|[�w ��G����C\Z�&3y…
112 e�z��$��0��G���Ia�����1f�`B�(ч��ы3˅p ݁T������63��vq4�w]䎭��C�fcfz�iN�M�2B�u����:��s%�r|:…
126 …yU��/gPH����i.�u�.���e='�lĨ/�+��G�)��4�����,W@,����& NCY� ��:w�j'��z�\��)�=�aD"�|��&�…
127 ��:�y}�"?�|���������h��?�!z�@�c�^���7���W�?�9^?��E�O7ԙ�O����y¹zDF^���\�?��z�4*�}U
129 �.H���z(S�N�����G8�������M�ףE������ ;�뵨L��]@W:�H j;!յ�EzA6?r�[�v3v�|K�UK"i�F�R�a\!
141 …iNP<�ߟ�)R���s���?����jq��y� -%|'��_�6��d�����z��h-���\��-�W�/��&�%��E�0͡l>-��K�)+��j9�c…
146 …@l�J���߄�5_��������:�����+�'��o��u��Uqo{�Jf��U��kX|0�b�}�����(z��~մ޽��.�<b�G��>Ǹ…
148 ��f���i��!���ȿ-a\ �#�Ԙ��}F%����'�@���3�|#`�ۮ�W<�N@.�L���U�a0��$R��-�Ҧf�z�EDEl�Jl�p��G…
DfileSequence0.ts7 V`$�]�z�Q���юX���0�P �:Ӟxv��^�n1��S��a偍SF�2�@�c)0܋}�W��1����Gj o��_���.l��Z��T-�����-� …
9 L��z'$R��)�U����F*t�D�S-��J� ����H�P�����y���r�e�,G8����_��\@)����7�T�C
17 …�y�zjz|{�ņ�qD�e[X�~ �L����aU��.oqh�"�G�:۹�� ��}��i���zR$@�� 2����\@!?���7�v�tR)@�…
48 4ʸE勁M�XW����>z���g~V����I+�#<#@U1��g}[~�@�/KCm$�J[����A���!�0�総�M4^qI�rNhV�+G�p�?�m(k…
73 …c&R6L�Nؿ�b�.GA������!�?H�H�3��7��\@��7��{ � �@�ځ !G��Ue-BD���z�����ݺ�4���L��6���V��…
76 …�*��p��\@ _�7���5 �@��0 D!�(+r���RѺT��=����C0J3����!j k��G'�sG��Uz���pg� �k!h�9m"…
98 4�U.�z��6G������D,��UdE!�،�/�
113 �2J�$R>����b�M.9�j/�yx��\�l��:�7��M�)£������?�D��BзJ�f�:���+z�<vw���N�8R�D���x|C>���D�4…
166 �{���N���F��DG��S��%�,XYֈ6�F���1حbG�@�h����x���F�z���c:�M�T� �M���AC���" ���7�* y�_Pl…
173 E�qh�`�uY�H|��z��7���$ݮI{�G=Ne��Zr
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DThresholdDifferenceComparer.rs18 float l1 = (idealPixel.x * 0.21f) + (idealPixel.y * 0.72f) + (idealPixel.z * 0.07f);
19 float l2 = (givenPixel.x * 0.21f) + (givenPixel.y * 0.72f) + (givenPixel.z * 0.07f);

12