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.
24 lines
790 B
24 lines
790 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> vaapiDisplay, |
|
Option<string> vaapiDriver, |
|
Option<string> vaapiDevice); |
|
|
|
Task<string> GetNvidiaOutput(string ffmpegPath); |
|
|
|
Task<QsvOutput> GetQsvOutput(string ffmpegPath, Option<string> qsvDevice); |
|
|
|
Task<Option<string>> GetVaapiOutput(string display, Option<string> vaapiDriver, string vaapiDevice); |
|
|
|
Task<List<string>> GetVaapiDisplays(); |
|
}
|
|
|