aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPin-chih Lin <johnylin@google.com>2019-11-14 18:27:23 +0800
committerPin-chih Lin <johnylin@google.com>2019-12-05 14:20:13 +0800
commit518d11aeea6c1da1d3b55af1b0719e1d6f7939ad (patch)
tree99ba385ea76d46c3e4a2c1505122e77ebc37bed0 /tests
parent8855b11d7b6a42937bcd259595e1d30316842977 (diff)
downloadv4l2_codec2-518d11aeea6c1da1d3b55af1b0719e1d6f7939ad.tar.gz
codec2: use Gralloc blob as default linear buffer allocator
Bug: 144474391 Test: CtsMediaTestCases Change-Id: I0fbb41a8b9f52d10b964b366e58f21798640f40a (cherry picked from commit 39acc2a8f3a4a9ec10b0f23aada7ce2ad20eb175)
Diffstat (limited to 'tests')
-rw-r--r--tests/c2_comp_intf/C2VDACompIntf_test.cpp2
-rw-r--r--tests/c2_comp_intf/C2VEACompIntf_test.cpp2
2 files changed, 2 insertions, 2 deletions
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 {