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..82126463208c6cb5f7ae16804ae068e967b73f90 |
--- /dev/null |
+++ b/media/base/android/media_codec_direction.h |
@@ -0,0 +1,18 @@ |
+// 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_ |
+ |
+namespace media { |
+ |
+// Codec direction. Keep this in sync with MediaCodecUtil.java. |
+enum MediaCodecDirection { |
+ MEDIA_CODEC_DECODER, |
+ MEDIA_CODEC_ENCODER, |
+}; |
+ |
+} // namespace media |
+ |
+#endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |