/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup.cpp | 56 const ScriptList *sl = (const ScriptList *)kinfo->usr; in scriptGroupRoot() local 61 for (size_t ct = 0; ct < sl->count; ct++) { in scriptGroupRoot() 63 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot() 64 mkinfo->usr = sl->usrPtrs[ct]; in scriptGroupRoot() 66 if (sl->ins[ct]) { in scriptGroupRoot() 69 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot() 71 mkinfo->inStride[0] = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot() 73 if (sl->inExts[ct]) { in scriptGroupRoot() 76 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); in scriptGroupRoot() 78 } else if (sl->ins[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot() [all …]
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestEffectCapabilities.cpp | 70 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()
|
D | slesTestPlayFdPath.cpp | 71 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()
|
D | slesTestSawtoothBufferQueue.cpp | 105 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()
|
D | slesTestEqFdPath.cpp | 50 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()
|
D | slesTestEqOutputPath.cpp | 50 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()
|
D | slesTestBassBoostPath.cpp | 50 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()
|
D | slesTestVirtualizerPath.cpp | 50 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()
|
D | slesTestSendToPresetReverb.cpp | 72 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()
|
D | slesTestRecBuffQueue.cpp | 165 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) in TestRecToBuffQueue() argument 225 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestRecToBuffQueue() 490 SLObjectItf sl; in main() local 599 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 603 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 606 TestRecToBuffQueue(sl, argv[i], durationInSeconds); in main() 609 (*sl)->Destroy(sl); in main()
|
D | slesTestDecodeToBuffQueue.cpp | 262 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()
|
D | slesTestDecodeAac.cpp | 413 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) in TestDecToBuffQueue() argument 481 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestDecToBuffQueue() 859 SLObjectItf sl; in main() local 881 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 885 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 888 TestDecToBuffQueue(sl, argv[1], fd); in main() 891 (*sl)->Destroy(sl); in main()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTest_playStates.cpp | 47 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()
|
D | slesTestPlayStreamType.cpp | 48 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()
|
D | slesTestPlayUri2.cpp | 63 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()
|
D | slesTestPlayUri.cpp | 125 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()
|
D | slesTestLoopUri.cpp | 122 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()
|
D | slesTestGetPositionUri.cpp | 127 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()
|
D | slesTestSlowDownUri.cpp | 178 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/ |
D | mimeUri_test.cpp | 99 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/ |
D | slesTestPlayStream.cpp | 180 void TestPlayStream( SLObjectItf sl, const char* path) in TestPlayStream() argument 208 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayStream() 379 SLObjectItf sl; in main() local 396 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 399 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 402 TestPlayStream(sl, argv[1]); in main() 405 (*sl)->Destroy(sl); in main()
|
/frameworks/wilhelm/tests/listening/ |
D | slesTest_playMuteSolo.cpp | 163 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_agree.rs | 41 DECLARE_INPUT_SET(long, sl); \ 64 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \ 303 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl) 304 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl) 305 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl) 306 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl) 380 DECLARE_TEMP_SET(long, sl); \
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | math_agree.rs | 43 DECLARE_INPUT_SET(long, sl); \ 66 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \ 305 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl) 306 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl) 307 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl) 308 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl) 382 DECLARE_TEMP_SET(long, sl); \
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | math_agree.rs | 25 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)
|