TwiceAsNice
2019-02-18
|
#include <math.h>
#include "qhyccdstruct.h"
#include "unlockimagequeue.h"
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <libusb.h>
#include "stdint.h"
Classes | |
class | QHYCAM |
QHYCAM class define. More... | |
Macros | |
#define | IDLE 0 |
#define | EXPOSING 1 |
#define | DOWNLOADING 2 |
#define | QHYCCD_USBTYPE_NONE (0xFF) |
#define | QHYCCD_USBTYPE_CYUSB (0x00) |
#define | QHYCCD_USBTYPE_WINUSB (0x01) |
#define | LIBUSB_PACKET_LENGTH (4096) |
#define | LIBUSB_WR_TIMEOUT (5000) |
#define | LIBUSB_CONTROL_TRANSFER_RD_TIMEOUT (5000) |
#define | LIBUSB_CONTROL_TRANSFER_WR_TIMEOUT (1000) |
#define | LIBUSB_BULK_TRANSFER_RD_TIMEOUT (5000) |
#define | LIBUSB_BULK_TRANSFER_WR_TIMEOUT (1000) |
#define | LIBUSB_ASYNC_BULK_TRANSFER_TIMEOUT (3600000) |
#define | EVENT_TIMEOUT_SEC (5) |
#define | EVENT_TIMEOUT_USEC (0); |
#define | USB_ENDPOINT (0x81) |
#define | CAM_16_BITS (16) |
Typedefs | |
typedef struct libusb_device | qhyccd_device |
typedef struct libusb_device_handle | qhyccd_handle |
#define CAM_16_BITS (16) |
#define DOWNLOADING 2 |
#define EVENT_TIMEOUT_SEC (5) |
#define EVENT_TIMEOUT_USEC (0); |
#define EXPOSING 1 |
#define IDLE 0 |
#define LIBUSB_ASYNC_BULK_TRANSFER_TIMEOUT (3600000) |
#define LIBUSB_BULK_TRANSFER_RD_TIMEOUT (5000) |
#define LIBUSB_BULK_TRANSFER_WR_TIMEOUT (1000) |
#define LIBUSB_CONTROL_TRANSFER_RD_TIMEOUT (5000) |
#define LIBUSB_CONTROL_TRANSFER_WR_TIMEOUT (1000) |
#define LIBUSB_PACKET_LENGTH (4096) |
#define LIBUSB_WR_TIMEOUT (5000) |
#define QHYCCD_USBTYPE_CYUSB (0x00) |
#define QHYCCD_USBTYPE_NONE (0xFF) |
#define QHYCCD_USBTYPE_WINUSB (0x01) |
#define USB_ENDPOINT (0x81) |
typedef struct libusb_device qhyccd_device |
typedef struct libusb_device_handle qhyccd_handle |