コード例 #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;
        }
コード例 #2
0
 public MmalParameterColorFxType(MmalParameterHeaderType hdr, int enable, int u, int v)
 {
     Hdr    = hdr;
     Enable = enable;
     U      = u;
     V      = v;
 }
コード例 #3
0
 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;
 }
コード例 #5
0
        public MmalParameterThumbnailConfigType(MmalParameterHeaderType hdr, bool enable, int width, int height, int quality)
        {
            Hdr = hdr;

            Enable  = enable ? 1 : 0;
            Width   = width;
            Height  = height;
            Quality = quality;
        }
コード例 #6
0
 public MmalParameterCameraInfoType(MmalParameterHeaderType hdr, int numCameras, int numFlashes, MmalParameterCameraInfoCameraType[] cameras,
                                    MmalParameterCameraInfoFlashNativeType[] flashes)
 {
     Hdr        = hdr;
     NumCameras = numCameras;
     NumFlashes = numFlashes;
     Cameras    = cameras;
     Flashes    = flashes;
 }
コード例 #7
0
 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;
 }
コード例 #11
0
 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;
 }
コード例 #14
0
 public MmalParameterVideoRateControlType(MmalParameterHeaderType hdr, MmalParametersVideo.MmalVideoRatecontrolT control)
 {
     Hdr     = hdr;
     Control = control;
 }
コード例 #15
0
 public MmalParameterAwbModeType(MmalParameterHeaderType hdr, MmalParamAwbmodeType value)
 {
     Hdr   = hdr;
     Value = value;
 }
コード例 #16
0
 public MmalParameterExposuremodeType(MmalParameterHeaderType hdr, MmalParamExposuremodeType value)
 {
     Hdr   = hdr;
     Value = value;
 }
コード例 #17
0
 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;
 }
コード例 #21
0
 public MmalParameterBooleanType(MmalParameterHeaderType hdr, int value)
 {
     Hdr = hdr;
     Value = value;
 }
コード例 #22
0
 public MmalParameterDrcType(MmalParameterHeaderType hdr, MmalParameterDrcStrengthType strength)
 {
     Hdr      = hdr;
     Strength = strength;
 }
コード例 #23
0
 public MmalParameterAwbGainsType(MmalParameterHeaderType hdr, MmalRational rGain, MmalRational bGain)
 {
     Hdr   = hdr;
     RGain = rGain;
     BGain = bGain;
 }
コード例 #24
0
 public MmalParameterMirrorType(MmalParameterHeaderType hdr, MmalParamMirrorType value)
 {
     Hdr   = hdr;
     Value = value;
 }
コード例 #25
0
 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;
 }
コード例 #27
0
 public MmalParameterChangeEventRequestType(MmalParameterHeaderType hdr, int changeId, int enable)
 {
     Hdr      = hdr;
     ChangeId = changeId;
     Enable   = enable;
 }