diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-26 17:32:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-26 17:32:06 +0000 |
| commit | 78bb581f0c7d27f7f9a7a6d3ac81a2a6c6fbe781 (patch) | |
| tree | f5274d10f55f4c103f11642e965925ffbf8648e3 /MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs | |
| parent | a615f87680eeb847807a47168bb4c5551a48e59d (diff) | |
| parent | 728a5988b3801dc559efbaf278e1a75770884faf (diff) | |
Merge pull request #6934 from nyanmisaka/hwa
HWA pipeline refactor, AMD/Intel/Nvidia full hardware filtering support, AV1 hwdec
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs b/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs index 1418e583e..27d618a3f 100644 --- a/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs +++ b/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs @@ -26,6 +26,30 @@ namespace MediaBrowser.Controller.MediaEncoding string EncoderPath { get; } /// <summary> + /// Gets the version of encoder. + /// </summary> + /// <returns>The version of encoder.</returns> + Version EncoderVersion { get; } + + /// <summary> + /// Whether the configured Vaapi device is from AMD(radeonsi/r600 Mesa driver). + /// </summary> + /// <value><c>true</c> if the Vaapi device is an AMD(radeonsi/r600 Mesa driver) GPU, <c>false</c> otherwise.</value> + bool IsVaapiDeviceAmd { get; } + + /// <summary> + /// Whether the configured Vaapi device is from Intel(iHD driver). + /// </summary> + /// <value><c>true</c> if the Vaapi device is an Intel(iHD driver) GPU, <c>false</c> otherwise.</value> + bool IsVaapiDeviceInteliHD { get; } + + /// <summary> + /// Whether the configured Vaapi device is from Intel(legacy i965 driver). + /// </summary> + /// <value><c>true</c> if the Vaapi device is an Intel(legacy i965 driver) GPU, <c>false</c> otherwise.</value> + bool IsVaapiDeviceInteli965 { get; } + + /// <summary> /// Whether given encoder codec is supported. /// </summary> /// <param name="encoder">The encoder.</param> @@ -61,12 +85,6 @@ namespace MediaBrowser.Controller.MediaEncoding bool SupportsFilterWithOption(FilterOptionType option); /// <summary> - /// Get the version of media encoder. - /// </summary> - /// <returns>The version of media encoder.</returns> - Version GetMediaEncoderVersion(); - - /// <summary> /// Extracts the audio image. /// </summary> /// <param name="path">The path.</param> |
