OLD | NEW |
---|---|
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 12 matching lines...) Expand all Loading... | |
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 * | 26 * |
27 */ | 27 */ |
28 | 28 |
29 #include <algorithm> | 29 #include <algorithm> |
30 #include <vector> | 30 #include <vector> |
31 | 31 |
32 #include "talk/app/webrtc/java/jni/androidmediadecoder_jni.h" | 32 #include "talk/app/webrtc/java/jni/androidmediadecoder_jni.h" |
33 #include "talk/app/webrtc/java/jni/androidmediacodeccommon.h" | |
34 #include "talk/app/webrtc/java/jni/classreferenceholder.h" | 33 #include "talk/app/webrtc/java/jni/classreferenceholder.h" |
34 #include "talk/app/webrtc/java/jni/androidmediacodeccommon.h" // No not sort. | |
Taylor Brandstetter
2016/01/27 02:39:42
What does "no not sort" mean?
kjellander_webrtc
2016/02/04 21:52:10
Ah, bad typo there. I ran into build errors when s
| |
35 #include "talk/app/webrtc/java/jni/native_handle_impl.h" | 35 #include "talk/app/webrtc/java/jni/native_handle_impl.h" |
36 #include "talk/app/webrtc/java/jni/surfacetexturehelper_jni.h" | 36 #include "talk/app/webrtc/java/jni/surfacetexturehelper_jni.h" |
37 #include "third_party/libyuv/include/libyuv/convert.h" | |
38 #include "third_party/libyuv/include/libyuv/convert_from.h" | |
39 #include "third_party/libyuv/include/libyuv/video_common.h" | |
37 #include "webrtc/base/bind.h" | 40 #include "webrtc/base/bind.h" |
38 #include "webrtc/base/checks.h" | 41 #include "webrtc/base/checks.h" |
39 #include "webrtc/base/logging.h" | 42 #include "webrtc/base/logging.h" |
40 #include "webrtc/base/scoped_ref_ptr.h" | 43 #include "webrtc/base/scoped_ref_ptr.h" |
41 #include "webrtc/base/thread.h" | 44 #include "webrtc/base/thread.h" |
42 #include "webrtc/base/timeutils.h" | 45 #include "webrtc/base/timeutils.h" |
43 #include "webrtc/common_video/include/i420_buffer_pool.h" | 46 #include "webrtc/common_video/include/i420_buffer_pool.h" |
44 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 47 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
45 #include "webrtc/system_wrappers/include/logcat_trace_context.h" | 48 #include "webrtc/system_wrappers/include/logcat_trace_context.h" |
46 #include "webrtc/system_wrappers/include/tick_util.h" | 49 #include "webrtc/system_wrappers/include/tick_util.h" |
47 #include "third_party/libyuv/include/libyuv/convert.h" | |
48 #include "third_party/libyuv/include/libyuv/convert_from.h" | |
49 #include "third_party/libyuv/include/libyuv/video_common.h" | |
50 | 50 |
51 using rtc::Bind; | 51 using rtc::Bind; |
52 using rtc::Thread; | 52 using rtc::Thread; |
53 using rtc::ThreadManager; | 53 using rtc::ThreadManager; |
54 using rtc::scoped_ptr; | 54 using rtc::scoped_ptr; |
55 | 55 |
56 using webrtc::CodecSpecificInfo; | 56 using webrtc::CodecSpecificInfo; |
57 using webrtc::DecodedImageCallback; | 57 using webrtc::DecodedImageCallback; |
58 using webrtc::EncodedImage; | 58 using webrtc::EncodedImage; |
59 using webrtc::VideoFrame; | 59 using webrtc::VideoFrame; |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
919 ALOGD << "Destroy video decoder."; | 919 ALOGD << "Destroy video decoder."; |
920 delete decoder; | 920 delete decoder; |
921 } | 921 } |
922 | 922 |
923 const char* MediaCodecVideoDecoder::ImplementationName() const { | 923 const char* MediaCodecVideoDecoder::ImplementationName() const { |
924 return "MediaCodec"; | 924 return "MediaCodec"; |
925 } | 925 } |
926 | 926 |
927 } // namespace webrtc_jni | 927 } // namespace webrtc_jni |
928 | 928 |
OLD | NEW |