1 // Copyright 2017 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_C2_VDA_COMMON_H 6 #define ANDROID_C2_VDA_COMMON_H 7 8 #include <inttypes.h> 9 10 namespace android { 11 enum class HalPixelFormat : uint32_t { 12 UNKNOWN = 0x0, 13 // The pixel formats defined in Android but are used among C2VDAComponent. 14 YCbCr_420_888 = 0x23, 15 YV12 = 0x32315659, 16 NV12 = 0x3231564e, 17 }; 18 19 enum class InputCodec { 20 H264, 21 VP8, 22 VP9, 23 }; 24 } // namespace android 25 #endif // ANDROID_C2_VDA_COMMON_H 26