Example #1
0
 protected Frame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType, byte[] data)
 {
     PixelFormatType = pixelFormatType;
     Width = frameWidth;
     Height = frameHeight;
     Data = data;
 }
Example #2
0
		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;
		}
Example #3
0
 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;
 }
Example #4
0
 protected Frame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType)
     : this(frameWidth, frameHeight, pixelFormatType, null)
 {
 }
Example #5
0
 public YuvFrame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType, byte[] data)
     : base(frameWidth, frameHeight, pixelFormatType, data)
 {
     GetPixelInfo();
     CreateYuvDataSegments();
 }
Example #6
0
 public static string Library(PixelFormatType library)
 {
     return(Library(library.ToString()));
 }
Example #7
0
 public RgbFrame(int frameWidth, int frameHeight, PixelFormatType pixelFormatType)
     : base(frameWidth, frameHeight, pixelFormatType)
 {
     GetPixelInfo();
     CreateRgbDataSegments();
 }
Example #8
0
 public PixelFormat(PixelFormatType library)
     : this(FormattingUtility.Library(library.ToString()))
 {
 }
Example #9
0
 public PixelFormat(PixelFormatType library)
     : this(Formats.Library(library))
 {
 }
Example #10
0
 public PixelFormat(PixelFormatType library)
     : this(FormattingUtility.Library(library.ToString()))
 {
 }