Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: media/base/android/media_codec_bridge.h

Issue 2132653002: MediaCodecLoop unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added some tests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool FillInputBuffer(int index, 182 bool FillInputBuffer(int index,
183 const uint8_t* data, 183 const uint8_t* data,
184 size_t data_size) WARN_UNUSED_RESULT; 184 size_t data_size) WARN_UNUSED_RESULT;
185 185
186 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge); 186 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge);
187 }; 187 };
188 188
189 } // namespace media 189 } // namespace media
190 190
191 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ 191 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698