forked from amkovkov/GranuSightSoftware2
18 lines
509 B
C#
18 lines
509 B
C#
using LibCameraSharp;
|
|
|
|
using OpenCvSharp;
|
|
|
|
namespace GSS2.FrameDecoders;
|
|
|
|
public interface IFrameDecoder
|
|
{
|
|
public uint Fourcc { get; }
|
|
public ulong Modifier { get; }
|
|
public ColorSpace.PrimariesEnum PrimariesEnum { get; }
|
|
public ColorSpace.TransferFunctionEnum TransferFunctionEnum { get; }
|
|
public ColorSpace.YcbcrEncodingEnum YcbcrEncodingEnum { get; }
|
|
public ColorSpace.RangeEnum RangeEnum { get; }
|
|
|
|
public Mat Decode(int width, int height, int stride, List<byte[]> planes);
|
|
}
|