| 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 // NOTICE: androidmediaencoder_jni.h must be included before | 11 // NOTICE: androidmediaencoder_jni.h must be included before |
| 12 // androidmediacodeccommon.h to avoid build errors. | 12 // androidmediacodeccommon.h to avoid build errors. |
| 13 #include "webrtc/api/java/jni/androidmediaencoder_jni.h" | 13 #include "webrtc/api/android/jni/androidmediaencoder_jni.h" |
| 14 | 14 |
| 15 #include <algorithm> | 15 #include <algorithm> |
| 16 #include <memory> | 16 #include <memory> |
| 17 #include <list> | 17 #include <list> |
| 18 | 18 |
| 19 #include "third_party/libyuv/include/libyuv/convert.h" | 19 #include "third_party/libyuv/include/libyuv/convert.h" |
| 20 #include "third_party/libyuv/include/libyuv/convert_from.h" | 20 #include "third_party/libyuv/include/libyuv/convert_from.h" |
| 21 #include "third_party/libyuv/include/libyuv/video_common.h" | 21 #include "third_party/libyuv/include/libyuv/video_common.h" |
| 22 #include "webrtc/api/java/jni/androidmediacodeccommon.h" | 22 #include "webrtc/api/android/jni/androidmediacodeccommon.h" |
| 23 #include "webrtc/api/java/jni/classreferenceholder.h" | 23 #include "webrtc/api/android/jni/classreferenceholder.h" |
| 24 #include "webrtc/api/java/jni/native_handle_impl.h" | 24 #include "webrtc/api/android/jni/native_handle_impl.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/thread.h" | 28 #include "webrtc/base/thread.h" |
| 29 #include "webrtc/base/thread_checker.h" | 29 #include "webrtc/base/thread_checker.h" |
| 30 #include "webrtc/base/timeutils.h" | 30 #include "webrtc/base/timeutils.h" |
| 31 #include "webrtc/common_types.h" | 31 #include "webrtc/common_types.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/modules/video_coding/utility/h264_bitstream_parser.h" | 33 #include "webrtc/modules/video_coding/utility/h264_bitstream_parser.h" |
| 34 #include "webrtc/modules/video_coding/utility/quality_scaler.h" | 34 #include "webrtc/modules/video_coding/utility/quality_scaler.h" |
| (...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 return supported_codecs_; | 1290 return supported_codecs_; |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 void MediaCodecVideoEncoderFactory::DestroyVideoEncoder( | 1293 void MediaCodecVideoEncoderFactory::DestroyVideoEncoder( |
| 1294 webrtc::VideoEncoder* encoder) { | 1294 webrtc::VideoEncoder* encoder) { |
| 1295 ALOGD << "Destroy video encoder."; | 1295 ALOGD << "Destroy video encoder."; |
| 1296 delete encoder; | 1296 delete encoder; |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 } // namespace webrtc_jni | 1299 } // namespace webrtc_jni |
| OLD | NEW |