OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |
7 | 7 |
8 namespace media { | 8 namespace media { |
9 | 9 |
10 // Codec direction. Keep this in sync with MediaCodecUtil.java. | 10 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.media |
11 enum MediaCodecDirection { | 11 enum class MediaCodecDirection { |
12 MEDIA_CODEC_DECODER, | 12 DECODER, |
13 MEDIA_CODEC_ENCODER, | 13 ENCODER, |
14 }; | 14 }; |
15 | 15 |
16 } // namespace media | 16 } // namespace media |
17 | 17 |
18 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ | 18 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DIRECTION_H_ |
OLD | NEW |