OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BRIDGE_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "media/base/android/media_codec_util.h" | 18 #include "media/base/android/media_codec_direction.h" |
19 #include "media/base/media_export.h" | 19 #include "media/base/media_export.h" |
20 #include "ui/gfx/geometry/size.h" | 20 #include "ui/gfx/geometry/size.h" |
21 | 21 |
22 namespace media { | 22 namespace media { |
23 | 23 |
24 struct SubsampleEntry; | 24 struct SubsampleEntry; |
25 | 25 |
26 // These must be in sync with MediaCodecBridge.MEDIA_CODEC_XXX constants in | 26 // These must be in sync with MediaCodecBridge.MEDIA_CODEC_XXX constants in |
27 // MediaCodecBridge.java. | 27 // MediaCodecBridge.java. |
28 enum MediaCodecStatus { | 28 enum MediaCodecStatus { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 bool FillInputBuffer(int index, | 185 bool FillInputBuffer(int index, |
186 const uint8_t* data, | 186 const uint8_t* data, |
187 size_t data_size) WARN_UNUSED_RESULT; | 187 size_t data_size) WARN_UNUSED_RESULT; |
188 | 188 |
189 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge); | 189 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge); |
190 }; | 190 }; |
191 | 191 |
192 } // namespace media | 192 } // namespace media |
193 | 193 |
194 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ | 194 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ |
OLD | NEW |