protected Frame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType, byte[] data) { PixelFormatType = pixelFormatType; Width = frameWidth; Height = frameHeight; Data = data; }
public VideoFormat (PixelFormatType pixelFormat, int width, int height, float framesPerSecond) { this.framesPerSecond = framesPerSecond; this.height = height; this.width = width; this.stride = width * 4; this.pixelFormat = pixelFormat; }
public VideoFormat(PixelFormatType pixelFormat, int width, int height, float framesPerSecond) { this.framesPerSecond = framesPerSecond; this.height = height; this.width = width; this.stride = width * 4; this.pixelFormat = pixelFormat; }
protected Frame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType) : this(frameWidth, frameHeight, pixelFormatType, null) { }
public YuvFrame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType, byte[] data) : base(frameWidth, frameHeight, pixelFormatType, data) { GetPixelInfo(); CreateYuvDataSegments(); }
public static string Library(PixelFormatType library) { return(Library(library.ToString())); }
public RgbFrame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType) : base(frameWidth, frameHeight, pixelFormatType) { GetPixelInfo(); CreateRgbDataSegments(); }
public PixelFormat(PixelFormatType library) : this(FormattingUtility.Library(library.ToString())) { }
public PixelFormat(PixelFormatType library) : this(Formats.Library(library)) { }