| 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/media_codec_util.h" | 5 #include "media/base/android/media_codec_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "base/android/build_info.h" | 11 #include "base/android/build_info.h" |
| 10 #include "base/android/jni_android.h" | 12 #include "base/android/jni_android.h" |
| 11 #include "base/android/jni_array.h" | 13 #include "base/android/jni_array.h" |
| 12 #include "base/android/jni_string.h" | 14 #include "base/android/jni_string.h" |
| 13 #include "base/logging.h" | 15 #include "base/logging.h" |
| 14 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
| 15 #include "jni/MediaCodecUtil_jni.h" | 17 #include "jni/MediaCodecUtil_jni.h" |
| 16 | 18 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 } | 217 } |
| 216 return true; | 218 return true; |
| 217 } | 219 } |
| 218 | 220 |
| 219 // static | 221 // static |
| 220 bool MediaCodecUtil::RegisterMediaCodecUtil(JNIEnv* env) { | 222 bool MediaCodecUtil::RegisterMediaCodecUtil(JNIEnv* env) { |
| 221 return RegisterNativesImpl(env); | 223 return RegisterNativesImpl(env); |
| 222 } | 224 } |
| 223 | 225 |
| 224 } // namespace media | 226 } // namespace media |
| OLD | NEW |