2018-07-24 09:29:58 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_
|
|
|
|
|
#define API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_
|
|
|
|
|
|
2018-11-28 16:47:49 +01:00
|
|
|
#include <stdint.h>
|
2018-07-24 09:29:58 +02:00
|
|
|
#include <memory>
|
|
|
|
|
|
2018-11-28 16:47:49 +01:00
|
|
|
#include "api/video/video_frame.h"
|
|
|
|
|
#include "api/video/video_sink_interface.h"
|
2018-07-24 09:29:58 +02:00
|
|
|
#include "api/video/video_stream_encoder_interface.h"
|
|
|
|
|
#include "api/video/video_stream_encoder_observer.h"
|
|
|
|
|
#include "api/video/video_stream_encoder_settings.h"
|
|
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<VideoStreamEncoderInterface> CreateVideoStreamEncoder(
|
|
|
|
|
uint32_t number_of_cores,
|
|
|
|
|
VideoStreamEncoderObserver* encoder_stats_observer,
|
2019-01-02 09:42:54 +01:00
|
|
|
const VideoStreamEncoderSettings& settings);
|
2018-07-24 09:29:58 +02:00
|
|
|
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
|
|
|
|
#endif // API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_
|