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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "webrtc/api/java/jni/surfacetexturehelper_jni.h" | 24 #include "webrtc/api/java/jni/surfacetexturehelper_jni.h" |
25 #include "webrtc/base/bind.h" | 25 #include "webrtc/base/bind.h" |
26 #include "webrtc/base/checks.h" | 26 #include "webrtc/base/checks.h" |
27 #include "webrtc/base/logging.h" | 27 #include "webrtc/base/logging.h" |
28 #include "webrtc/base/scoped_ref_ptr.h" | 28 #include "webrtc/base/scoped_ref_ptr.h" |
29 #include "webrtc/base/thread.h" | 29 #include "webrtc/base/thread.h" |
30 #include "webrtc/base/timeutils.h" | 30 #include "webrtc/base/timeutils.h" |
31 #include "webrtc/common_video/include/i420_buffer_pool.h" | 31 #include "webrtc/common_video/include/i420_buffer_pool.h" |
32 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 32 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
33 #include "webrtc/system_wrappers/include/logcat_trace_context.h" | 33 #include "webrtc/system_wrappers/include/logcat_trace_context.h" |
34 #include "webrtc/system_wrappers/include/tick_util.h" | |
35 | 34 |
36 using rtc::Bind; | 35 using rtc::Bind; |
37 using rtc::Thread; | 36 using rtc::Thread; |
38 using rtc::ThreadManager; | 37 using rtc::ThreadManager; |
39 using rtc::scoped_ptr; | 38 using rtc::scoped_ptr; |
40 | 39 |
41 using webrtc::CodecSpecificInfo; | 40 using webrtc::CodecSpecificInfo; |
42 using webrtc::DecodedImageCallback; | 41 using webrtc::DecodedImageCallback; |
43 using webrtc::EncodedImage; | 42 using webrtc::EncodedImage; |
44 using webrtc::VideoFrame; | 43 using webrtc::VideoFrame; |
45 using webrtc::RTPFragmentationHeader; | 44 using webrtc::RTPFragmentationHeader; |
46 using webrtc::TickTime; | |
47 using webrtc::VideoCodec; | 45 using webrtc::VideoCodec; |
48 using webrtc::VideoCodecType; | 46 using webrtc::VideoCodecType; |
49 using webrtc::kVideoCodecH264; | 47 using webrtc::kVideoCodecH264; |
50 using webrtc::kVideoCodecVP8; | 48 using webrtc::kVideoCodecVP8; |
51 using webrtc::kVideoCodecVP9; | 49 using webrtc::kVideoCodecVP9; |
52 | 50 |
53 namespace webrtc_jni { | 51 namespace webrtc_jni { |
54 | 52 |
55 // Logging macros. | 53 // Logging macros. |
56 #define TAG_DECODER "MediaCodecVideoDecoder" | 54 #define TAG_DECODER "MediaCodecVideoDecoder" |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 webrtc::VideoDecoder* decoder) { | 978 webrtc::VideoDecoder* decoder) { |
981 ALOGD << "Destroy video decoder."; | 979 ALOGD << "Destroy video decoder."; |
982 delete decoder; | 980 delete decoder; |
983 } | 981 } |
984 | 982 |
985 const char* MediaCodecVideoDecoder::ImplementationName() const { | 983 const char* MediaCodecVideoDecoder::ImplementationName() const { |
986 return "MediaCodec"; | 984 return "MediaCodec"; |
987 } | 985 } |
988 | 986 |
989 } // namespace webrtc_jni | 987 } // namespace webrtc_jni |
990 | |
OLD | NEW |