libaom_av1_encoder_factory.h (1287B)
1 /* 2 * Copyright (c) 2024 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_LIBAOM_AV1_ENCODER_FACTORY_H_ 12 #define API_VIDEO_CODECS_LIBAOM_AV1_ENCODER_FACTORY_H_ 13 14 #include <map> 15 #include <memory> 16 #include <string> 17 18 #include "api/video_codecs/video_encoder_factory_interface.h" 19 #include "api/video_codecs/video_encoder_interface.h" 20 21 namespace webrtc { 22 class LibaomAv1EncoderFactory final : VideoEncoderFactoryInterface { 23 public: 24 std::string CodecName() const override; 25 std::string ImplementationName() const override; 26 std::map<std::string, std::string> CodecSpecifics() const override; 27 28 Capabilities GetEncoderCapabilities() const override; 29 std::unique_ptr<VideoEncoderInterface> CreateEncoder( 30 const StaticEncoderSettings& settings, 31 const std::map<std::string, std::string>& encoder_specific_settings) 32 override; 33 }; 34 } // namespace webrtc 35 #endif // API_VIDEO_CODECS_LIBAOM_AV1_ENCODER_FACTORY_H_