Home
last modified time | relevance | path

Searched refs:dt (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/rsblas/assets/
Dblas_gen.py82 def matrixCreateScale(dt, m, n, scale): argument
83 if dt == 's':
85 elif dt == 'd':
87 elif dt == 'c':
93 def matrixCreate(dt, m, n): argument
94 return matrixCreateScale(dt, m, n, 10);
132 def writeMatrixWithIncrements(dt, a, name, skip, fo): argument
133 if dt == 's':
135 elif dt == 'd':
137 elif dt == 'c':
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsingle_source_alloc.rs134 static void CreateAndTestAlloc(rs_data_type dt, int vecSize, int dimX, int dimY, int dimZ) {
153 element = rsCreateElement((rs_data_type) dt);
155 element = rsCreateVectorElement((rs_data_type) dt, vecSize);
185 switch (dt) {
207 switch (dt) {
256 #define TEST_DATA_TYPE(dt, allowSimple, allowVector, allowPixel) { \
258 _RS_ASSERT(rsIsObject(rsCreateElement(dt))); \
260 _RS_ASSERT(!rsIsObject(rsCreateElement(dt))); \
262 _RS_ASSERT(rsIsObject(rsCreateVectorElement(dt, 3))); \
264 _RS_ASSERT(!rsIsObject(rsCreateVectorElement(dt, 3))); \
[all …]
DAllocationByteBufferTest.java36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) { in createTypedAllocation() argument
37 Element e = getElement(mRS, dt, size); in createTypedAllocation()
48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) { in testByteBufferHelper() argument
56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY); in testByteBufferHelper()
72 void testByteBufferHelper1D(DataType dt, int byteSize) { in testByteBufferHelper1D() argument
75 testByteBufferHelper(dt, byteSize, dimX, 1); in testByteBufferHelper1D()
78 void testByteBufferHelper2D(DataType dt, int byteSize) { in testByteBufferHelper2D() argument
82 testByteBufferHelper(dt, byteSize, dimX, dimY); in testByteBufferHelper2D()
DIntrinsicConvolve3x3.java23 …private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve3() argument
31 Element e = makeElement(dt, vecSize); in testConvolve3()
54 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
92 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
129 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
DIntrinsicBase.java61 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement() argument
64 e = Element.createVector(mRS, dt, vecSize); in makeElement()
66 if (dt == Element.DataType.UNSIGNED_8) { in makeElement()
Dverify.rs209 rs_data_type dt = rsElementGetDataType(e); \
212 if (dt == RS_TYPE_UNSIGNED_8) { \
227 } else if (dt == RS_TYPE_FLOAT_32) { \
242 } else if (dt == RS_TYPE_FLOAT_64) { \
261 rs_data_type dt = rsElementGetDataType(e);
265 if (dt == RS_TYPE_UNSIGNED_8) {
DIntrinsicConvolve5x5.java76 …private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve5() argument
96 Element e = makeElement(dt, vecSize); in testConvolve5()
DIntrinsicResize.java27 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument
29 Element e = makeElement(dt, vecSize); in testResize()
55 if (dt == Element.DataType.UNSIGNED_8) { in testResize()
DElementTest.java471 for (DataType dt : DataType.values()) { in testDataType()
472 switch (dt) { in testDataType()
485 Element.createVector(mRS, dt, 2); in testDataType()
490 Element.createVector(mRS, dt, 2); in testDataType()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dverify.rs27 rs_data_type dt = rsElementGetDataType(e); \
30 if (dt == RS_TYPE_UNSIGNED_8) { \
45 } else if (dt == RS_TYPE_FLOAT_32) { \
60 } else if (dt == RS_TYPE_FLOAT_64) { \
175 rs_data_type dt = rsElementGetDataType(e);
179 if (dt == RS_TYPE_FLOAT_32) {
188 } else if (dt == RS_TYPE_FLOAT_64) {
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSCppTest.java77 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement() argument
80 e = Element.createVector(mRS, dt, vecSize); in makeElement()
82 if (dt == Element.DataType.UNSIGNED_8) { in makeElement()
Dverify.rs222 rs_data_type dt = rsElementGetDataType(e); \
225 if (dt == RS_TYPE_UNSIGNED_8) { \
261 rs_data_type dt = rsElementGetDataType(e);
265 if (dt == RS_TYPE_UNSIGNED_8) {
DRSResizeTest.java37 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument
40 if (dt == Element.DataType.UNSIGNED_8) { in testResize()
44 Element e = makeElement(dt, vecSize); in testResize()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp125 static sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument
127 return Element::createVector(rs, dt, vecSize); in makeElement()
129 return Element::createUser(rs, dt); in makeElement()
146 RsDataType dt, bool autoPadding = false) { in helperCopy1D() argument
157 alloc = Allocation::createSized(rs, makeElement(rs, dt, 3), cellCount); in helperCopy1D()
160 alloc = Allocation::createSized(rs, makeElement(rs, dt, 1), cellCount); in helperCopy1D()
239 RsDataType dt, bool autoPadding = false) { in helperCopy2D() argument
248 alloc = Allocation::createSized2D(rs, makeElement(rs, dt, 3), xElems, yElems); in helperCopy2D()
251 alloc = Allocation::createSized2D(rs, makeElement(rs, dt, 1), xElems, yElems); in helperCopy2D()
331 RsDataType dt, bool autoPadding = false) { in helperCopy3D() argument
[all …]
Drs_jni.cpp53 sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument
55 return Element::createVector(rs, dt, vecSize); in makeElement()
57 if (dt == RS_TYPE_UNSIGNED_8) { in makeElement()
405 RsDataType dt = RS_TYPE_UNSIGNED_8; in Java_android_cts_rscpp_RSResizeTest_resizeTest() local
407 dt = RS_TYPE_FLOAT_32; in Java_android_cts_rscpp_RSResizeTest_resizeTest()
409 sp<const Element> e = makeElement(rs, dt, vecSize); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java595 double dt; in calcSensorPeriodStat() local
596 dt = srec.get(i).time - tp; in calcSensorPeriodStat()
597 sum += dt; in calcSensorPeriodStat()
598 sumsq += dt*dt; in calcSensorPeriodStat()
599 tp += dt; in calcSensorPeriodStat()
/cts/tests/tests/media/res/raw/
Dsegment000001_scrambled.ts1056 �%��'7x"T���%@V�r���Y���F����dt� h�l&S-iն���Ke'_f���� CG�����
1402 f28��/5��%�dt�`X�/cjzq��Uފ0X�y�R��K���O2�6���?4�a4 o���&E��C�� ���G>Č�\��♏|׮��� ���L� �…
2342 � ��G�P�0b~Ō���Z�}dt����#��9]�d�)���{\��k���c3Ն/#��[.��{6-�;�L�ڐIy&���g�W�MZ�B��:1�x0�Mܽ�…
3648 ��G��x��Æ�50ħ��# w}dtI9����uP�� P��_���ّA�Eo�V�f�J�UޏᏎu���O��a2ںoR� ���vdK������|�D�7JQ�…
Dfootball_qvga.yuv9 …fb\XTTTQQSXaq}���������������Թ�oafiu��js�}pfX[]h������{y���������������x[dt~����|qsxqK9FROB.!"%…
35 …������������|oZPW^`ceeba]YWRYt���������ŵ���lG9Rdaddo�|govkillmmkmmlllkhe`Z[dt�����������������±��o…
42 …JE:BO9('!7F1%***-..-.)'#NH#&247951+%(-8�������ý���ӹ�����������÷��������dt�oxQ&3>@940.042149:…
43 …AFJKMQSVXZWY^adec`^ZVUSONOOHDNQUgx��������������~wpjeaaa_^ZYZ^gnt{yqle[`jc[dt�������������������|…
47 …YYZYWV[clrx|~�����������������~��������xtqmlkeba``^cccdcb``_]ZXYYWRNPUSRY\dt��������������ɶ������…
55 …onomjhhkjknpoonopsvz~�����}xqjebabeeddeda`\[[XYX]acghjjhijkjklonmnoljfedb^dt~}~��������������tfWE…
76 …������������������������m=>HFFGLI?=@<4* !5lcQae^`filkimrttt{rpsXDELNRZ^_]dt��aj��yaĩ����������…
86 …rnmlkjiikjhjkk\QZ]RBALNMOOLILNTXTMINPMZktpeO0M��^*V������������������������dt�V ('%$$" '3@KPW]\\Z…
130 …mnmnmkljihfegjkhhf`YY[_jteC+.2121//0000//////-/.-.0/*.3/7KQSVI?]{����}de~}dt���������������������…
135dt}������}wqpqmlkZMc|������������������������ϖ@+>DCFJIKMQY_`\^dcZZW:!*Ac||xxvyzz}������{{x�������…
[all …]
/cts/tests/tests/media/assets/
DfileSequence0.ts1242 ��Y�ࢁ��Z5��;�6[eԾ��j�%Ű�=�G��">�q��t9��I��1�X�O�ҙ͠'dtU���c���v��