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

Side by Side Diff: media/base/android/ndk_media_codec_bridge.cc

Issue 2132653002: MediaCodecLoop unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl feedback Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "media/base/android/ndk_media_codec_bridge.h" 5 #include "media/base/android/ndk_media_codec_bridge.h"
6 6
7 #include <media/NdkMediaError.h> 7 #include <media/NdkMediaError.h>
8 #include <media/NdkMediaFormat.h> 8 #include <media/NdkMediaFormat.h>
9 9
10 #include <limits> 10 #include <limits>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/native_library.h" 14 #include "base/native_library.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "media/base/decrypt_config.h" 16 #include "media/base/subsample_entry.h"
17 17
18 namespace { 18 namespace {
19 const char kMediaFormatKeyCropLeft[] = "crop-left"; 19 const char kMediaFormatKeyCropLeft[] = "crop-left";
20 const char kMediaFormatKeyCropRight[] = "crop-right"; 20 const char kMediaFormatKeyCropRight[] = "crop-right";
21 const char kMediaFormatKeyCropBottom[] = "crop-bottom"; 21 const char kMediaFormatKeyCropBottom[] = "crop-bottom";
22 const char kMediaFormatKeyCropTop[] = "crop-top"; 22 const char kMediaFormatKeyCropTop[] = "crop-top";
23 } 23 }
24 24
25 namespace media { 25 namespace media {
26 26
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 return MEDIA_CODEC_OK; 249 return MEDIA_CODEC_OK;
250 } 250 }
251 251
252 std::string NdkMediaCodecBridge::GetName() { 252 std::string NdkMediaCodecBridge::GetName() {
253 // The NDK api doesn't expose a getName like the Java one. 253 // The NDK api doesn't expose a getName like the Java one.
254 NOTIMPLEMENTED(); 254 NOTIMPLEMENTED();
255 return ""; 255 return "";
256 } 256 }
257 257
258 } // namespace media 258 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/mock_media_codec_bridge.cc ('k') | media/base/android/sdk_media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698