Ejemplo n.º 1
0
        public void Initialize(IrCameraHandle handle, ImageTransferProcessorFormat format)
        {
            ImageTransferProcessorExConfig config = new ImageTransferProcessorExConfig();

            ImageTransferProcessor.GetDefaultConfig(ref config);
            Initialize(handle, config);
        }
        public static int GetImageWidth(ImageTransferProcessorFormat format)
        {
            switch (format)
            {
            case ImageTransferProcessorFormat.Format320x240:
                return(320);

            case ImageTransferProcessorFormat.Format160x120:
                return(160);

            case ImageTransferProcessorFormat.Format80x60:
                return(80);

            case ImageTransferProcessorFormat.Format40x30:
                return(40);

            case ImageTransferProcessorFormat.Format20x15:
                return(20);
            }
            return(320);
        }
        public static int GetImageSize(ImageTransferProcessorFormat format)
        {
            switch (format)
            {
            case ImageTransferProcessorFormat.Format320x240:
                return(ImageSize320x240);

            case ImageTransferProcessorFormat.Format160x120:
                return(ImageSize160x120);

            case ImageTransferProcessorFormat.Format80x60:
                return(ImageSize80x60);

            case ImageTransferProcessorFormat.Format40x30:
                return(ImageSize40x30);

            case ImageTransferProcessorFormat.Format20x15:
                return(ImageSize20x15);
            }
            return(ImageSize320x240);
        }
        public static int GetImageHeight(ImageTransferProcessorFormat format)
        {
            switch (format)
            {
            case ImageTransferProcessorFormat.Format320x240:
                return(240);

            case ImageTransferProcessorFormat.Format160x120:
                return(120);

            case ImageTransferProcessorFormat.Format80x60:
                return(60);

            case ImageTransferProcessorFormat.Format40x30:
                return(30);

            case ImageTransferProcessorFormat.Format20x15:
                return(15);
            }
            return(240);
        }
        }                                           // 0x01150000-0x011500C0

        public void Initialize(IrCameraHandle handle, ImageTransferProcessorFormat format)
        {
        }                                                                                             // 0x01150130-0x011501A0
Ejemplo n.º 6
0
 public static int GetImageWidth(ImageTransferProcessorFormat format) => default;                                                               // 0x0114FF70-0x0114FFA0
 public static int GetImageHeight(ImageTransferProcessorFormat format) => default;                                                              // 0x0114FFA0-0x0114FFD0
Ejemplo n.º 7
0
 public static int GetImageSize(ImageTransferProcessorFormat format) => default;                                                                // 0x0114FF40-0x0114FF70
 public static int GetImageWidth(ImageTransferProcessorFormat format) => default;                                                               // 0x0114FF70-0x0114FFA0
Ejemplo n.º 8
0
 public static int GetWorkBufferSize(ImageTransferProcessorFormat format) => default;                                                           // 0x0114FF10-0x0114FF40
 public static int GetImageSize(ImageTransferProcessorFormat format) => default;                                                                // 0x0114FF40-0x0114FF70
Ejemplo n.º 9
0
 public static extern void DestroyWorkBuffer(IntPtr workBuffer);                                                                                // 0x0114FF00-0x0114FF10
 public static int GetWorkBufferSize(ImageTransferProcessorFormat format) => default;                                                           // 0x0114FF10-0x0114FF40