Merge "benchmark: Support "software" instance of codec2 service"

am: af46079fc7

Change-Id: I9e0d7b3967054c792b43f701f418f119a7ae6288
gugelfrei
Harish Mahendrakar 5 years ago committed by android-build-merger
commit 6e47b7e024

@ -22,6 +22,9 @@
int32_t BenchmarkC2Common::setupCodec2() {
ALOGV("In %s", __func__);
mClient = android::Codec2Client::CreateFromService("default");
if (!mClient) {
mClient = android::Codec2Client::CreateFromService("software");
}
if (!mClient) return -1;
std::shared_ptr<C2AllocatorStore> store = android::GetCodec2PlatformAllocatorStore();

Loading…
Cancel
Save