Searched refs:lib_settings (Results 1 – 1 of 1) sorted by relevance
543 Dav1dSettings lib_settings; in initDecoder() local544 dav1d_default_settings(&lib_settings); in initDecoder()546 lib_settings.n_threads = std::max(cpu_count / 2, 1); // use up to half the cores by default. in initDecoder()550 if (numThreads > 0) lib_settings.n_threads = numThreads; in initDecoder()552 lib_settings.max_frame_delay = mActualOutputDelayInfo->value; in initDecoder()555 if ((res = dav1d_open(&mDav1dCtx, &lib_settings))) { in initDecoder()559 ALOGD("dav1d_open succeeded(n_threads=%d,version=%s).", lib_settings.n_threads, version); in initDecoder()