Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #ifndef API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_ |
| 12 | #define API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_ |
| 13 | |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 14 | #include <stdint.h> |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 15 | #include <memory> |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 16 | |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 17 | #include "api/video/video_frame.h" |
| 18 | #include "api/video/video_sink_interface.h" |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 19 | #include "api/video/video_stream_encoder_interface.h" |
| 20 | #include "api/video/video_stream_encoder_observer.h" |
| 21 | #include "api/video/video_stream_encoder_settings.h" |
| 22 | |
| 23 | namespace webrtc { |
| 24 | |
| 25 | std::unique_ptr<VideoStreamEncoderInterface> CreateVideoStreamEncoder( |
| 26 | uint32_t number_of_cores, |
| 27 | VideoStreamEncoderObserver* encoder_stats_observer, |
Niels Möller | 412d185 | 2019-01-02 09:42:54 +0100 | [diff] [blame^] | 28 | const VideoStreamEncoderSettings& settings); |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 29 | |
| 30 | } // namespace webrtc |
| 31 | |
| 32 | #endif // API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_ |