1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef ANDROID_V4L2_CODEC2_PLUGIN_STORE_V4L2_ALLOCATOR_ID_H 6 #define ANDROID_V4L2_CODEC2_PLUGIN_STORE_V4L2_ALLOCATOR_ID_H 7 8 #include <C2PlatformSupport.h> 9 10 namespace android { 11 namespace V4L2AllocatorId { 12 13 // The allocator ids used for V4L2DecodeComponent. 14 enum : C2AllocatorStore::id_t { 15 V4L2_BUFFERQUEUE = C2PlatformAllocatorStore::PLATFORM_END, 16 V4L2_BUFFERPOOL, 17 SECURE_LINEAR, 18 SECURE_GRAPHIC, 19 }; 20 21 } // namespace V4L2AllocatorId 22 } // namespace android 23 24 #endif // ANDROID_V4L2_CODEC2_PLUGIN_STORE_V4L2_ALLOCATOR_ID_H 25