From 518d11aeea6c1da1d3b55af1b0719e1d6f7939ad Mon Sep 17 00:00:00 2001 From: Pin-chih Lin Date: Thu, 14 Nov 2019 18:27:23 +0800 Subject: codec2: use Gralloc blob as default linear buffer allocator Bug: 144474391 Test: CtsMediaTestCases Change-Id: I0fbb41a8b9f52d10b964b366e58f21798640f40a (cherry picked from commit 39acc2a8f3a4a9ec10b0f23aada7ce2ad20eb175) --- tests/c2_comp_intf/C2VDACompIntf_test.cpp | 2 +- tests/c2_comp_intf/C2VEACompIntf_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/c2_comp_intf/C2VDACompIntf_test.cpp b/tests/c2_comp_intf/C2VDACompIntf_test.cpp index bc5420b..e7ec859 100644 --- a/tests/c2_comp_intf/C2VDACompIntf_test.cpp +++ b/tests/c2_comp_intf/C2VDACompIntf_test.cpp @@ -28,7 +28,7 @@ const char* MEDIA_MIMETYPE_VIDEO_RAW = "video/raw"; const char* MEDIA_MIMETYPE_VIDEO_AVC = "video/avc"; const size_t kMaxInputBufferSize = 1048576; -const C2Allocator::id_t kInputAllocators[] = {C2PlatformAllocatorStore::ION}; +const C2Allocator::id_t kInputAllocators[] = {C2PlatformAllocatorStore::BLOB}; const C2Allocator::id_t kOutputAllocators[] = {C2VDAAllocatorStore::V4L2_BUFFERPOOL}; const C2Allocator::id_t kSurfaceAllocator = C2VDAAllocatorStore::V4L2_BUFFERQUEUE; const C2BlockPool::local_id_t kDefaultOutputBlockPool = C2BlockPool::BASIC_GRAPHIC; diff --git a/tests/c2_comp_intf/C2VEACompIntf_test.cpp b/tests/c2_comp_intf/C2VEACompIntf_test.cpp index b797e60..f3bca77 100644 --- a/tests/c2_comp_intf/C2VEACompIntf_test.cpp +++ b/tests/c2_comp_intf/C2VEACompIntf_test.cpp @@ -27,7 +27,7 @@ constexpr const char* MEDIA_MIMETYPE_VIDEO_RAW = "video/raw"; constexpr const char* MEDIA_MIMETYPE_VIDEO_AVC = "video/avc"; constexpr C2Allocator::id_t kInputAllocators[] = {C2PlatformAllocatorStore::GRALLOC}; -constexpr C2Allocator::id_t kOutputAllocators[] = {C2PlatformAllocatorStore::ION}; +constexpr C2Allocator::id_t kOutputAllocators[] = {C2PlatformAllocatorStore::BLOB}; constexpr C2BlockPool::local_id_t kDefaultOutputBlockPool = C2BlockPool::BASIC_LINEAR; class C2VEACompIntfTest : public C2CompIntfTest { -- cgit v1.2.3