Home
last modified time | relevance | path

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

123

/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 …]
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 …]
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 …]
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);
Dgetset.rs110 uint z = idx / (gWidth * gHeight); \
111 ty i = rsGetElementAt_##ty(gAlloc3DIn, x, y, z); \
112 rsSetElementAt_##ty(gAlloc3DOut, i, x, y, z); \
118 uint z = idx / (realWidth * gHeight); \
119 ty##2 i = rsGetElementAt_##ty##2(gAlloc3DIn, x, y, z); \
120 rsSetElementAt_##ty##2(gAlloc3DOut, i, x, y, z); \
126 uint z = idx / (realWidth * gHeight); \
127 ty##3 i = rsGetElementAt_##ty##3(gAlloc3DIn, x, y, z); \
128 rsSetElementAt_##ty##3(gAlloc3DOut, i, x, y, z); \
134 uint z = idx / (realWidth * gHeight); \
[all …]
DIntrinsic3DLut.java46 for (int z = 0; z < sz; z++) { in genCubeIdent()
52 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent()
53 dat[z*sy*sx + y*sx + x] = v; in genCubeIdent()
64 for (int z = 0; z < sz; z++) { in genCubeRand()
71 dat[z*sy*sx + y*sx + x] = v; in genCubeRand()
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()
114 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { in verifyCell() argument
135 if (z >= sc.getZStart() && z < sc.getZEnd()) { in verifyCell()
136 expected |= z << 16; in verifyCell()
146 int val = a[x + y * mDimX + z * mDimX * mDimY]; in verifyCell()
148 String s = new String("verify error @ " + x + ", " + y + ", " + z + in verifyCell()
161 for (int z = 0; z < itZ; z++) { in verifyRange()
162 verifyCell(x, y, z, a, sc); in verifyRange()
Dsingle_source_alloc.rs35 void RS_KERNEL verify_##CT(CT in, int x, int y, int z) { \
36 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \
39 void RS_KERNEL verify_##CT##2(CT##2 in, int x, int y, int z) { \
40 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \
44 void RS_KERNEL verify_##CT##3(CT##3 in, int x, int y, int z) { \
45 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \
48 _RS_ASSERT_EQU(in.z, (CT) (val + 2)); \
50 void RS_KERNEL verify_##CT##4(CT##4 in, int x, int y, int z) { \
51 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \
54 _RS_ASSERT_EQU(in.z, (CT) (val + 2)); \
[all …]
DStructFieldTest.java42 innerTwo.z = (byte)r.nextInt(); in makeInnerTwo()
67 outer.innerTwo3[0].z, in testStructField()
69 outer.innerTwo3[1].z, in testStructField()
71 outer.innerTwo3[2].z, in testStructField()
73 outer.innerTwo2[0].z, in testStructField()
75 outer.innerTwo2[1].z, in testStructField()
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.java137 color.z *= 255.f; in rs_PackColorTo8888()
140 color.z += 0.5f; in rs_PackColorTo8888()
142 (byte) color.x, (byte) color.y, (byte) color.z, (byte) 255 in rs_PackColorTo8888()
150 color.z *= 255.f; in rs_PackColorTo8888()
153 color.z += 0.5f; in rs_PackColorTo8888()
157 (byte) color.x, (byte) color.y, (byte) color.z, (byte) color.w in rs_PackColorTo8888()
/cts/tests/camera/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/tests/openglperf2/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/camera/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/tests/tests/security/res/raw/
Ddrm_uaf.dm12 …��Z���� Q��qor��6;�p<�- �� ?�+Ƴ�ki�VR���J��� ����<�d����+��6aD���h)z�����\H� <��Z��^�'…
23 ��h�?��n ��(h+�I�ǽ|�R`<�2��*!��*��p��q�z����%7 �8���<�%�~~<�^�Kv��v_ա�8:��v�|p<����y?-��…
25 �4��-?�k��w�K�4��+��b�%���<@<�%�Հ��,�Ʊ����)���)�<_��<����v ~�<�r#O�d�!����6z�<�,����…
28 ��_,y�Wa2�5���]�@1G>-. ���<�%9�'��YZc_��,/������j$����2p<��@g�E?-��t���z�,2z 9�F�]��<�#)���…
32 …ʕ��t�`��������3`<y',0&�Z��U��<��\A�_�@VQ��<���zh+�J�a�x_#щ@-f5�^�*p<�"��8���ԛ ��kW;qbR…
36 E�h�=�P<��������z�cF�^��F�@��=[��<U����ߥW7ϋ�l�](g@�7�<7�<�.�����jJ�4x��c�w�vď���…
37 z��6�j���#� �L�0��Gፐ�,_�<a-)�[<�ZWG
40 …^o�$�5�z�<�-,���hmy��<X��5��ʄI��>���<��g�� _�w�W��%�P��g���q��� <�"x��Å�AI\*�)�Xו�:���…
42 j���^r�` P�P<�w#�\^��o�ݵpB�Ӑ��3����<����<��&�Nl�i�ZT�w����\����W�>c�!0<��Z~��F��G��h��z5�:�…
45 ���(̌'�w"�_&45�@<�%-'�^�w�Ā!}#z"Q��z�eXt��<G
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp144 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument
145 #define F2(x, y, z) F1(z, x, y) argument
146 #define F3(x, y, z) (x ^ y ^ z) argument
147 #define F4(x, y, z) (y ^ (x | ~z)) argument
150 #define MD5STEP(f,w,x,y,z,in,s) \ argument
151 (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
/cts/tests/tests/media/res/raw/
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�…
/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…
/cts/hostsidetests/theme/src/android/theme/cts/
DColorUtils.java181 public static void XYZToLAB(double x, double y, double z, double[] outLab) {
187 z = pivotXyzComponent(z / XYZ_WHITE_REFERENCE_Z);
190 outLab[2] = 200 * (y - z);

123