Index: media/base/android/media_codec_direction.h |
diff --git a/media/base/android/media_codec_direction.h b/media/base/android/media_codec_direction.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6544ea44b26a25a6dd61a8f59e80262afce25dbe |
--- /dev/null |
+++ b/media/base/android/media_codec_direction.h |
@@ -0,0 +1,14 @@ |
+// Copyright 2016 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 MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |
+#define MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |
+ |
+// Codec direction. Keep this in sync with MediaCodecUtil.java. |
+enum MediaCodecDirection { |
watk
2016/08/09 18:32:55
Should this be in a namespace?
liberato (no reviews please)
2016/08/09 21:20:47
good catch. done.
|
+ MEDIA_CODEC_DECODER, |
+ MEDIA_CODEC_ENCODER, |
+}; |
+ |
+#endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |