mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
693 B
21 lines
693 B
using ErsatzTV.FFmpeg.Capabilities.Qsv; |
|
|
|
namespace ErsatzTV.FFmpeg.Capabilities; |
|
|
|
public interface IHardwareCapabilitiesFactory |
|
{ |
|
Task<IFFmpegCapabilities> GetFFmpegCapabilities(string ffmpegPath); |
|
|
|
Task<IHardwareCapabilities> GetHardwareCapabilities( |
|
IFFmpegCapabilities ffmpegCapabilities, |
|
string ffmpegPath, |
|
HardwareAccelerationMode hardwareAccelerationMode, |
|
Option<string> vaapiDriver, |
|
Option<string> vaapiDevice); |
|
|
|
Task<string> GetNvidiaOutput(string ffmpegPath); |
|
|
|
Task<QsvOutput> GetQsvOutput(string ffmpegPath, Option<string> qsvDevice); |
|
|
|
Task<Option<string>> GetVaapiOutput(Option<string> vaapiDriver, string vaapiDevice); |
|
}
|
|
|