mirror of
https://github.com/unclshura/splitter.git
synced 2026-06-22 00:22:01 +00:00
15 lines
418 B
C#
15 lines
418 B
C#
namespace splitter.algo;
|
|
|
|
public interface IFrameProcessingState
|
|
{
|
|
}
|
|
|
|
public interface ISegmentProcessor
|
|
{
|
|
IFrameProcessingState InitSegment(SingleTask job, CancellationToken token);
|
|
Mat? GetNextProcessedFrame( IFrameProcessingState processorState, CancellationToken token);
|
|
void FinishSegment(IFrameProcessingState processorState);
|
|
|
|
Task ProcessSegment( SingleTask job, CancellationToken token);
|
|
}
|