OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ | 11 #ifndef WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ |
12 #define WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ | 12 #define WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ |
13 | 13 |
14 #include <android/log.h> | 14 #include <android/log.h> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/base/thread.h" | 17 #include "webrtc/base/thread.h" |
18 #include "webrtc/api/java/jni/classreferenceholder.h" | 18 #include "webrtc/api/android/jni/classreferenceholder.h" |
19 #include "webrtc/api/java/jni/jni_helpers.h" | 19 #include "webrtc/api/android/jni/jni_helpers.h" |
20 #include "webrtc/base/logging.h" | 20 #include "webrtc/base/logging.h" |
21 #include "webrtc/base/thread.h" | 21 #include "webrtc/base/thread.h" |
22 | 22 |
23 namespace webrtc_jni { | 23 namespace webrtc_jni { |
24 | 24 |
25 // Uncomment this define to enable verbose logging for every encoded/decoded | 25 // Uncomment this define to enable verbose logging for every encoded/decoded |
26 // video frame. | 26 // video frame. |
27 //#define TRACK_BUFFER_TIMING | 27 //#define TRACK_BUFFER_TIMING |
28 | 28 |
29 #define TAG_COMMON "MediaCodecVideo" | 29 #define TAG_COMMON "MediaCodecVideo" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 jni->ExceptionDescribe(); | 83 jni->ExceptionDescribe(); |
84 jni->ExceptionClear(); | 84 jni->ExceptionClear(); |
85 return true; | 85 return true; |
86 } | 86 } |
87 return false; | 87 return false; |
88 } | 88 } |
89 | 89 |
90 } // namespace webrtc_jni | 90 } // namespace webrtc_jni |
91 | 91 |
92 #endif // WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ | 92 #endif // WEBRTC_API_JAVA_JNI_ANDROIDMEDIACODECCOMMON_H_ |
OLD | NEW |