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 SECURE_LINEAR = C2PlatformAllocatorStore::PLATFORM_END, 16 SECURE_GRAPHIC, 17 }; 18 19 } // namespace V4L2AllocatorId 20 } // namespace android 21 22 #endif // ANDROID_V4L2_CODEC2_PLUGIN_STORE_V4L2_ALLOCATOR_ID_H 23