22 lines
564 B
C#
22 lines
564 B
C#
using ErsatzTV.FFmpeg.Format;
|
|
|
|
namespace ErsatzTV.FFmpeg.Capabilities;
|
|
|
|
public interface IHardwareCapabilities
|
|
{
|
|
FFmpegCapability CanDecode(
|
|
string videoFormat,
|
|
Option<string> videoProfile,
|
|
Option<IPixelFormat> maybePixelFormat,
|
|
ColorParams colorParams);
|
|
|
|
FFmpegCapability CanEncode(
|
|
string videoFormat,
|
|
Option<string> videoProfile,
|
|
Option<IPixelFormat> maybePixelFormat);
|
|
|
|
Option<RateControlMode> GetRateControlMode(
|
|
string videoFormat,
|
|
Option<IPixelFormat> maybePixelFormat);
|
|
}
|