/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 71 SLObjectItf sl; local 93 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); 97 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 105 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 109 result = (*sl)->GetInterface(sl, SL_IID_ANDROIDEFFECTCAPABILITIES, (void*)&EffectLibItf); 150 (*sl)->Destroy(sl); 157 SLObjectItf sl; local [all...] |
H A D | slesTestBassBoostPath.cpp | 50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument 80 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 252 SLObjectItf sl; local 280 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 284 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); 291 (*sl)->Destroy(sl); [all...] |
H A D | slesTestPlayFdPath.cpp | 50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument 75 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 194 SLObjectItf sl; local 212 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 216 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 221 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), 224 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3])); 228 (*sl) [all...] |
H A D | slesTestSawtoothBufferQueue.cpp | 105 void TestPlaySawtoothBufferQueue( SLObjectItf sl ) 138 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 278 SLObjectItf sl; local 284 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 287 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); CheckErr(res); 290 TestPlaySawtoothBufferQueue(sl); 293 (*sl)->Destroy(sl); [all...] |
H A D | slesTestVirtualizerPath.cpp | 50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument 81 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 254 SLObjectItf sl; local 282 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 286 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); 293 (*sl)->Destroy(sl); [all...] |
H A D | slesTestEqFdPath.cpp | 50 void TestEQPathFromFD( SLObjectItf sl, const char* path argument 85 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 281 SLObjectItf sl; local 315 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 319 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 325 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), 328 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); 331 TestEQPathFromFD(sl, arg [all...] |
H A D | slesTestEqOutputPath.cpp | 50 void TestEQPathFromFD( SLObjectItf sl, const char* path argument 87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 285 SLObjectItf sl; local 316 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 320 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 326 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), 329 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); 332 TestEQPathFromFD(sl, arg [all...] |
H A D | slesTestRecBuffQueue.cpp | 145 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument 176 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 327 SLObjectItf sl; local 372 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 376 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 379 TestRecToBuffQueue(sl, argv[i], (SLAint64)atoi(argv[i+1])); 382 (*sl)->Destroy(sl); [all...] |
H A D | slesTestSendToPresetReverb.cpp | 73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument 107 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 331 SLObjectItf sl; local 372 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 376 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 380 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]), 384 (*sl)->Destroy(sl); [all...] |
H A D | xaVideoDecoderCapabilities.cpp | 304 XAObjectItf sl; local
|
H A D | slesTestDecodeToBuffQueue.cpp | 262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) argument 302 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 538 SLObjectItf sl; local 554 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 558 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 561 TestDecToBuffQueue(sl, argv[1]); 564 (*sl)->Destroy(sl); [all...] |
H A D | slesTestDecodeAac.cpp | 414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument 481 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 859 SLObjectItf sl; local 881 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 885 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 888 TestDecToBuffQueue(sl, argv[1], fd); 891 (*sl)->Destroy(sl); [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument 76 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 238 SLObjectItf sl; local 258 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 262 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2])); 268 (*sl)->Destroy(sl); [all...] |
H A D | slesTestPlayUri2.cpp | 63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) argument 89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 252 SLObjectItf sl; local 271 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 275 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 279 TestPlayUri(sl, argv[1], argv[1]); 281 TestPlayUri(sl, argv[1], argv[2]); 285 (*sl) [all...] |
H A D | slesTest_playStates.cpp | 48 void TestPlayUri( SLObjectItf sl, const char* path) argument 74 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 207 SLObjectItf sl; local 226 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 230 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 234 TestPlayUri(sl, argv[1]); 238 (*sl)->Destroy(sl); [all...] |
H A D | slesTestGetPositionUri.cpp | 127 void TestGetPositionUri( SLObjectItf sl, const char* path) argument 159 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 317 SLObjectItf sl; local 334 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 337 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 340 TestGetPositionUri(sl, argv[1]); 343 (*sl)->Destroy(sl); [all...] |
H A D | slesTestLoopUri.cpp | 122 void TestLoopUri( SLObjectItf sl, const char* path) argument 149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 292 SLObjectItf sl; local 309 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 312 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 315 TestLoopUri(sl, argv[1]); 318 (*sl)->Destroy(sl); [all...] |
H A D | slesTestPlayUri.cpp | 125 void TestPlayUri( SLObjectItf sl, const char* path) argument 152 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 326 SLObjectItf sl; local 343 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 346 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 349 TestPlayUri(sl, argv[1]); 352 (*sl)->Destroy(sl); [all...] |
H A D | slesTestSlowDownUri.cpp | 178 void TestSlowDownUri( SLObjectItf sl, const char* path) argument 206 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); 399 SLObjectItf sl; local 418 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 421 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 424 TestSlowDownUri(sl, argv[1]); 427 (*sl)->Destroy(sl); [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScriptGroup.cpp | 56 const ScriptList *sl = (const ScriptList *)p->usr; local 60 for(size_t ct=0; ct < sl->count; ct++) { 62 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; 63 mp->usr = sl->usrPtrs[ct]; 73 if (sl->ins[ct]) { 74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; 75 istep = sl->ins[ct]->mHal.state.elementSizeBytes; 77 if (sl->inExts[ct]) { 78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y; 80 if (sl 206 ScriptList sl; local [all...] |
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 163 void TestPlayUri( SLObjectItf sl, const char* path) argument 189 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 378 SLObjectItf sl; local 397 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 401 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 405 TestPlayUri(sl, argv[1]); 409 (*sl)->Destroy(sl); [all...] |
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 99 void TestPlayUri( SLObjectItf sl, const char* path) argument 126 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 270 SLObjectItf sl; member in class:MimeUri 278 res = slCreateEngine(&sl, 1, EngineOption, 0, NULL, NULL); 282 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 288 (*sl)->Destroy(sl); 305 TestPlayUri(sl, "/sdcar [all...] |
/frameworks/wilhelm/tests/sandbox/streamSource/ |
H A D | slesTestPlayStream.cpp | 180 void TestPlayStream( SLObjectItf sl, const char* path) argument 211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 382 SLObjectItf sl; local 401 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); 404 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 407 TestPlayStream(sl, argv[1]); 410 (*sl)->Destroy(sl); [all...] |