Anders Carlsson | 6753795 | 2018-05-03 09:28:29 | [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_CODECS_BUILTIN_VIDEO_ENCODER_FACTORY_H_ |
| 12 | #define API_VIDEO_CODECS_BUILTIN_VIDEO_ENCODER_FACTORY_H_ |
| 13 | |
| 14 | #include <memory> |
| 15 | |
| 16 | #include "api/video_codecs/video_encoder_factory.h" |
Mirko Bonadei | ac19414 | 2018-10-22 15:08:37 | [diff] [blame] | 17 | #include "rtc_base/system/rtc_export.h" |
Anders Carlsson | 6753795 | 2018-05-03 09:28:29 | [diff] [blame] | 18 | |
| 19 | namespace webrtc { |
| 20 | |
| 21 | // Creates a new factory that can create the built-in types of video encoders. |
| 22 | // The factory has simulcast support for VP8. |
Mirko Bonadei | ac19414 | 2018-10-22 15:08:37 | [diff] [blame] | 23 | RTC_EXPORT std::unique_ptr<VideoEncoderFactory> |
| 24 | CreateBuiltinVideoEncoderFactory(); |
Anders Carlsson | 6753795 | 2018-05-03 09:28:29 | [diff] [blame] | 25 | |
| 26 | } // namespace webrtc |
| 27 | |
| 28 | #endif // API_VIDEO_CODECS_BUILTIN_VIDEO_ENCODER_FACTORY_H_ |