| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |