diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.mk | 1 | ||||
-rw-r--r-- | tests/C2VDACompIntf_test.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index 4bafb4a..3b384b4 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -21,6 +21,7 @@ LOCAL_SHARED_LIBRARIES := \ libv4l2_codec2_vda \ LOCAL_C_INCLUDES += \ + $(TOP)/device/google/cheets2/codec2/vdastore/include \ $(TOP)/external/v4l2_codec2/include \ $(TOP)/external/v4l2_codec2/vda \ $(TOP)/hardware/google/av/codec2/include \ diff --git a/tests/C2VDACompIntf_test.cpp b/tests/C2VDACompIntf_test.cpp index 6ed0753..f08ee50 100644 --- a/tests/C2VDACompIntf_test.cpp +++ b/tests/C2VDACompIntf_test.cpp @@ -5,6 +5,7 @@ //#define LOG_NDEBUG 0 #define LOG_TAG "C2VDACompIntf_test" +#include <C2VDAAllocatorStore.h> #include <C2VDAComponent.h> #include <C2PlatformSupport.h> @@ -30,7 +31,7 @@ const char* MEDIA_MIMETYPE_VIDEO_RAW = "video/raw"; const char* MEDIA_MIMETYPE_VIDEO_AVC = "video/avc"; const C2Allocator::id_t kInputAllocators[] = {C2PlatformAllocatorStore::ION}; -const C2Allocator::id_t kOutputAllocators[] = {C2PlatformAllocatorStore::GRALLOC}; +const C2Allocator::id_t kOutputAllocators[] = {C2VDAAllocatorStore::V4L2_BUFFERQUEUE}; const C2BlockPool::local_id_t kDefaultOutputBlockPool = C2BlockPool::BASIC_GRAPHIC; class C2VDACompIntfTest : public ::testing::Test { |