blob: 2807af0e2da26f24fc0124d6e4885913a5584465 [file] [log] [blame]
// 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