1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| // Copyright 2017 The Chromium Authors. All rights reserved.
| // Use of this source code is governed by a BSD-style license that can be
| // found in the LICENSE file.
|
| #ifndef ANDROID_C2_VDA_COMMON_H
| #define ANDROID_C2_VDA_COMMON_H
|
| #include <inttypes.h>
|
| namespace android {
| enum class HalPixelFormat : uint32_t {
| UNKNOWN = 0x0,
| // The pixel formats defined in Android but are used among C2VDAComponent.
| YCbCr_420_888 = 0x23,
| YV12 = 0x32315659,
| NV12 = 0x3231564e,
| };
|
| enum class InputCodec {
| H264,
| VP8,
| VP9,
| };
| } // namespace android
| #endif // ANDROID_C2_VDA_COMMON_H
|
|