예제 #1
0
 public MmalVideoFormat(int width, int height, MmalRect crop, MmalRational frameRate,
                        MmalRational par, int colorSpace)
 {
     Width      = width;
     Height     = height;
     Crop       = crop;
     FrameRate  = frameRate;
     Par        = par;
     ColorSpace = colorSpace;
 }
예제 #2
0
 public MmalDisplayRegionType(MmalParameterHeaderType hdr, uint set, uint displayNum, int fullscreen,
                              MmalParametersVideo.MmalDisplaytransformT transform, MmalRect destRect, MmalRect srcRect,
                              int noAspect, MmalParametersVideo.MmalDisplaymodeT mode, int pixelX, int pixelY,
                              int layer, int copyrightRequired, int alpha)
 {
     Hdr               = hdr;
     Set               = set;
     DisplayNum        = displayNum;
     Fullscreen        = fullscreen;
     Transform         = transform;
     DestRect          = destRect;
     SrcRect           = srcRect;
     NoAspect          = noAspect;
     Mode              = mode;
     PixelX            = pixelX;
     PixelY            = pixelY;
     Layer             = layer;
     CopyrightRequired = copyrightRequired;
     Alpha             = alpha;
 }
 public MmalParameterInputCropType(MmalParameterHeaderType hdr, MmalRect rect)
 {
     Hdr  = hdr;
     Rect = rect;
 }