Пример #1
0
        public MmalParameterCameraAnnotateV4Type(MmalParameterHeaderType hdr, int enable, int showShutter, int showAnalogGain, int showLens,
                                                 int showCaf, int showMotion, int showFrameNum, int enableTextBackground, int customBackgroundColor,
                                                 byte customBackgroundY, byte customBackgroundU, byte customBackgroundV, byte dummy1,
                                                 int customTextColor, byte customTextY, byte customTextU, byte customTextV, byte textSize,
                                                 byte[] text, int justify, int xOffset, int yOffset)
        {
            Hdr = hdr;

            Enable                = enable;
            Text                  = text;
            ShowShutter           = showShutter;
            ShowAnalogGain        = showAnalogGain;
            ShowLens              = showLens;
            ShowCaf               = showCaf;
            ShowMotion            = showMotion;
            ShowFrameNum          = showFrameNum;
            EnableTextBackground  = enableTextBackground;
            CustomBackgroundColor = customBackgroundColor;
            CustomBackgroundY     = customBackgroundY;
            CustomBackgroundU     = customBackgroundU;
            CustomBackgroundV     = customBackgroundV;
            Dummy1                = dummy1;
            CustomTextColor       = customTextColor;
            CustomTextY           = customTextY;
            CustomTextU           = customTextU;
            CustomTextV           = customTextV;
            TextSize              = textSize;
            Text                  = text;
            Justify               = justify;
            XOffset               = xOffset;
            YOffset               = yOffset;
        }
 public MmalParameterColorFxType(MmalParameterHeaderType hdr, int enable, int u, int v)
 {
     Hdr    = hdr;
     Enable = enable;
     U      = u;
     V      = v;
 }
 public MmalParameterExifType(MmalParameterHeaderType hdr, int keylen, int valueOffset, int valueLen, byte[] data)
 {
     Hdr         = hdr;
     Keylen      = keylen;
     ValueOffset = valueOffset;
     ValueLen    = valueLen;
     Data        = data;
 }
Пример #4
0
 public MmalParameterStereoscopicModeType(MmalParameterHeaderType hdr, MmalStereoscopicModeType mode,
                                          int decimate, int swapEyes)
 {
     Hdr      = hdr;
     Mode     = mode;
     Decimate = decimate;
     SwapEyes = swapEyes;
 }
        public MmalParameterThumbnailConfigType(MmalParameterHeaderType hdr, bool enable, int width, int height, int quality)
        {
            Hdr = hdr;

            Enable  = enable ? 1 : 0;
            Width   = width;
            Height  = height;
            Quality = quality;
        }
 public MmalParameterCameraInfoType(MmalParameterHeaderType hdr, int numCameras, int numFlashes, MmalParameterCameraInfoCameraType[] cameras,
                                    MmalParameterCameraInfoFlashNativeType[] flashes)
 {
     Hdr        = hdr;
     NumCameras = numCameras;
     NumFlashes = numFlashes;
     Cameras    = cameras;
     Flashes    = flashes;
 }
 public MmalParameterVideoIntraRefreshType(MmalParameterHeaderType hdr, MmalParametersVideo.MmalVideoIntraRefreshT refreshMode,
                                           int airMbs, int airRef, int cirMbs, int pirMbs)
 {
     Hdr         = hdr;
     RefreshMode = refreshMode;
     AirMbs      = airMbs;
     AirRef      = airRef;
     CirMbs      = cirMbs;
     PirMbs      = pirMbs;
 }
Пример #8
0
 public MmalParameterCameraSettingsType(MmalParameterHeaderType hdr, int exposure, MmalRational analogGain,
                                        MmalRational digitalGain, MmalRational awbRedGain, MmalRational awbBlueGain,
                                        int focusPosition)
 {
     Hdr           = hdr;
     Exposure      = exposure;
     AnalogGain    = analogGain;
     DigitalGain   = digitalGain;
     AwbRedGain    = awbRedGain;
     AwbBlueGain   = awbBlueGain;
     FocusPosition = focusPosition;
 }
Пример #9
0
 public MmalParameterCameraConfigType(MmalParameterHeaderType hdr, int maxStillsW, int maxStillsH, int stillsYUV422,
                                      int oneShotStills, int maxPreviewVideoW, int maxPreviewVideoH, int numPreviewVideoFrames,
                                      int stillsCaptureCircularBufferHeight, int fastPreviewResume,
                                      MmalParameterCameraConfigTimestampModeType useSTCTimestamp)
 {
     Hdr                               = hdr;
     MaxStillsW                        = maxStillsW;
     MaxStillsH                        = maxStillsH;
     StillsYUV422                      = stillsYUV422;
     OneShotStills                     = oneShotStills;
     MaxPreviewVideoW                  = maxPreviewVideoW;
     MaxPreviewVideoH                  = maxPreviewVideoH;
     NumPreviewVideoFrames             = numPreviewVideoFrames;
     StillsCaptureCircularBufferHeight = stillsCaptureCircularBufferHeight;
     FastPreviewResume                 = fastPreviewResume;
     UseSTCTimestamp                   = useSTCTimestamp;
 }
Пример #10
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;
 }
Пример #12
0
 public MmalParameterUint64Type(MmalParameterHeaderType hdr, ulong value)
 {
     Hdr   = hdr;
     Value = value;
 }
Пример #13
0
 public MmalParameterStringType(MmalParameterHeaderType hdr, string value)
 {
     Hdr   = hdr;
     Value = value;
 }
 public MmalParameterVideoRateControlType(MmalParameterHeaderType hdr, MmalParametersVideo.MmalVideoRatecontrolT control)
 {
     Hdr     = hdr;
     Control = control;
 }
 public MmalParameterAwbModeType(MmalParameterHeaderType hdr, MmalParamAwbmodeType value)
 {
     Hdr   = hdr;
     Value = value;
 }
Пример #16
0
 public MmalParameterExposuremodeType(MmalParameterHeaderType hdr, MmalParamExposuremodeType value)
 {
     Hdr   = hdr;
     Value = value;
 }
 public MmalParameterUint32Type(MmalParameterHeaderType hdr, uint value)
 {
     Hdr   = hdr;
     Value = value;
 }
Пример #18
0
 public MmalParameterVideoProfileType(MmalParameterHeaderType hdr, MmalParameterVideoProfileS[] profile)
 {
     Hdr     = hdr;
     Profile = profile;
 }
Пример #19
0
 public MmalParameterRationalType(MmalParameterHeaderType hdr, MmalRational value)
 {
     Hdr   = hdr;
     Value = value;
 }
Пример #20
0
 public MmalParameterImageFxType(MmalParameterHeaderType hdr, MmalParamImagefxType value)
 {
     Hdr   = hdr;
     Value = value;
 }
 public MmalParameterBooleanType(MmalParameterHeaderType hdr, int value)
 {
     Hdr = hdr;
     Value = value;
 }
 public MmalParameterDrcType(MmalParameterHeaderType hdr, MmalParameterDrcStrengthType strength)
 {
     Hdr      = hdr;
     Strength = strength;
 }
 public MmalParameterAwbGainsType(MmalParameterHeaderType hdr, MmalRational rGain, MmalRational bGain)
 {
     Hdr   = hdr;
     RGain = rGain;
     BGain = bGain;
 }
 public MmalParameterMirrorType(MmalParameterHeaderType hdr, MmalParamMirrorType value)
 {
     Hdr   = hdr;
     Value = value;
 }
 public MmalParameterEncodingType(MmalParameterHeaderType hdr, int[] value)
 {
     Hdr   = hdr;
     Value = value;
 }
Пример #26
0
 public MmalParameterFpsRangeType(MmalParameterHeaderType hdr, MmalRational fpsLow, MmalRational fpsHigh)
 {
     Hdr     = hdr;
     FpsLow  = fpsLow;
     FpsHigh = fpsHigh;
 }
 public MmalParameterChangeEventRequestType(MmalParameterHeaderType hdr, int changeId, int enable)
 {
     Hdr      = hdr;
     ChangeId = changeId;
     Enable   = enable;
 }