mirror of
https://github.com/unclshura/splitter.git
synced 2026-06-21 16:12:01 +00:00
15 lines
459 B
C#
15 lines
459 B
C#
namespace splitter.algo;
|
|
|
|
public interface IVideoEnhancer : IAsyncDisposable
|
|
{
|
|
int ResolutionMultiplier { get; }
|
|
|
|
Task InitializeAsync(int width, int height, int window, CancellationToken token);
|
|
|
|
// Returns true when an enhanced frame is ready
|
|
bool TryProcessFrame(Mat input, out Mat output, CancellationToken token);
|
|
|
|
// Flush remaining frames after input is finished
|
|
int Flush(Span<Mat> outputFrames, CancellationToken token);
|
|
}
|