Home
last modified time | relevance | path

Searched refs:sl (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp54 const ScriptList *sl = (const ScriptList *)kinfo->usr; in scriptGroupRoot() local
59 for (size_t ct = 0; ct < sl->count; ct++) { in scriptGroupRoot()
61 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot()
62 mkinfo->usr = sl->usrPtrs[ct]; in scriptGroupRoot()
64 if (sl->ins[ct]) { in scriptGroupRoot()
67 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
69 mkinfo->inStride[0] = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
71 if (sl->inExts[ct]) { in scriptGroupRoot()
74 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); in scriptGroupRoot()
76 } else if (sl->ins[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestEffectCapabilities.cpp70 SLObjectItf sl; in TestGenericFxCapabilities() local
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); in TestGenericFxCapabilities()
96 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in TestGenericFxCapabilities()
104 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGenericFxCapabilities()
108 result = (*sl)->GetInterface(sl, SL_IID_ANDROIDEFFECTCAPABILITIES, (void*)&EffectLibItf); in TestGenericFxCapabilities()
149 (*sl)->Destroy(sl); in TestGenericFxCapabilities()
DslesTestPlayFdPath.cpp71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) in TestPlayPathFromFD() argument
96 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayPathFromFD()
225 SLObjectItf sl; in main() local
243 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
247 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
252 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main()
255 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3])); in main()
259 (*sl)->Destroy(sl); in main()
DslesTestSawtoothBufferQueue.cpp105 void TestPlaySawtoothBufferQueue( SLObjectItf sl ) in TestPlaySawtoothBufferQueue() argument
135 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlaySawtoothBufferQueue()
275 SLObjectItf sl; in main() local
281 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
284 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); CheckErr(res); in main()
287 TestPlaySawtoothBufferQueue(sl); in main()
290 (*sl)->Destroy(sl); in main()
DslesTestEqOutputPath.cpp50 void TestEQPathFromFD( SLObjectItf sl, const char* path in TestEQPathFromFD() argument
87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestEQPathFromFD()
285 SLObjectItf sl; in main() local
316 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
320 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
326 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main()
329 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); in main()
332 TestEQPathFromFD(sl, argv[1], alwaysOn); in main()
336 (*sl)->Destroy(sl); in main()
DslesTestEqFdPath.cpp50 void TestEQPathFromFD( SLObjectItf sl, const char* path in TestEQPathFromFD() argument
85 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestEQPathFromFD()
281 SLObjectItf sl; in main() local
315 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
319 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
325 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main()
328 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); in main()
331 TestEQPathFromFD(sl, argv[1]); in main()
335 (*sl)->Destroy(sl); in main()
DslesTestBassBoostPath.cpp50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) in TestBassBoostPathFromFD() argument
80 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestBassBoostPathFromFD()
252 SLObjectItf sl; in main() local
280 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
284 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); in main()
291 (*sl)->Destroy(sl); in main()
DslesTestVirtualizerPath.cpp50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, in TestVirtualizerPathFromFD() argument
81 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestVirtualizerPathFromFD()
254 SLObjectItf sl; in main() local
282 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
286 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); in main()
293 (*sl)->Destroy(sl); in main()
DslesTestSendToPresetReverb.cpp72 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, in TestSendToPresetReverb() argument
106 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestSendToPresetReverb()
330 SLObjectItf sl; in main() local
371 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
375 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
379 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]), in main()
383 (*sl)->Destroy(sl); in main()
DslesTestRecBuffQueue.cpp164 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) in TestRecToBuffQueue() argument
224 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestRecToBuffQueue()
489 SLObjectItf sl; in main() local
598 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
602 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
605 TestRecToBuffQueue(sl, argv[i], durationInSeconds); in main()
608 (*sl)->Destroy(sl); in main()
DslesTestDecodeToBuffQueue.cpp262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) in TestDecToBuffQueue() argument
302 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestDecToBuffQueue()
538 SLObjectItf sl; in main() local
554 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
558 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
561 TestDecToBuffQueue(sl, argv[1]); in main()
564 (*sl)->Destroy(sl); in main()
DslesTestDecodeAac.cpp413 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) in TestDecToBuffQueue() argument
480 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestDecToBuffQueue()
858 SLObjectItf sl; in main() local
880 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
884 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
887 TestDecToBuffQueue(sl, argv[1], fd); in main()
890 (*sl)->Destroy(sl); in main()
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp47 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument
73 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri()
204 SLObjectItf sl; in main() local
223 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
227 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
231 TestPlayUri(sl, argv[1]); in main()
235 (*sl)->Destroy(sl); in main()
DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) in TestStreamTypeConfiguration() argument
76 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestStreamTypeConfiguration()
238 SLObjectItf sl; in main() local
258 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
262 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2])); in main()
268 (*sl)->Destroy(sl); in main()
DslesTestPlayUri2.cpp63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) in TestPlayUri() argument
89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri()
252 SLObjectItf sl; in main() local
271 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
275 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
279 TestPlayUri(sl, argv[1], argv[1]); in main()
281 TestPlayUri(sl, argv[1], argv[2]); in main()
285 (*sl)->Destroy(sl); in main()
DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) in TestLoopUri() argument
146 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestLoopUri()
289 SLObjectItf sl; in main() local
306 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
309 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
312 TestLoopUri(sl, argv[1]); in main()
315 (*sl)->Destroy(sl); in main()
DslesTestPlayUri.cpp125 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument
149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri()
323 SLObjectItf sl; in main() local
340 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
343 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
346 TestPlayUri(sl, argv[1]); in main()
349 (*sl)->Destroy(sl); in main()
DslesTestGetPositionUri.cpp127 void TestGetPositionUri( SLObjectItf sl, const char* path) in TestGetPositionUri() argument
156 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGetPositionUri()
314 SLObjectItf sl; in main() local
331 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
334 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
337 TestGetPositionUri(sl, argv[1]); in main()
340 (*sl)->Destroy(sl); in main()
DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) in TestSlowDownUri() argument
203 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri()
396 SLObjectItf sl; in main() local
415 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
418 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
421 TestSlowDownUri(sl, argv[1]); in main()
424 (*sl)->Destroy(sl); in main()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp99 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument
123 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri()
267 SLObjectItf sl; member in MimeUri
275 res = slCreateEngine(&sl, 1, EngineOption, 0, NULL, NULL); in MimeUri()
279 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in MimeUri()
285 (*sl)->Destroy(sl); in ~MimeUri()
302 TestPlayUri(sl, "/sdcard/media_api/music/MP3_256kbps_2ch.mp3"); in TEST_F()
306 TestPlayUri(sl, "file:///sdcard/media_api/music/MP3_256kbps_2ch.mp3"); in TEST_F()
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp180 void TestPlayStream( SLObjectItf sl, const char* path) in TestPlayStream() argument
211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayStream()
382 SLObjectItf sl; in main() local
399 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
402 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
405 TestPlayStream(sl, argv[1]); in main()
408 (*sl)->Destroy(sl); in main()
/frameworks/wilhelm/tests/listening/
DslesTest_playMuteSolo.cpp163 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument
189 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri()
378 SLObjectItf sl; in main() local
397 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
401 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
405 TestPlayUri(sl, argv[1]); in main()
409 (*sl)->Destroy(sl); in main()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_agree.rs25 DECLARE_INPUT_SET(long, sl); \
48 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \
287 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl)
288 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl)
289 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl)
290 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl)
364 DECLARE_TEMP_SET(long, sl); \
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath_agree.rs25 DECLARE_INPUT_SET(long, sl); \
48 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \
287 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl)
288 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl)
289 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl)
290 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl)
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dmath_agree.rs25 DECLARE_INPUT_SET(long, sl); \
48 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \
287 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl)
288 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl)
289 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl)
290 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl)

12