![]() |
PUCLIB 1.6.0.0
PHOTRON USB Control Library
|
Go to the source code of this file.
Macros | |
#define | PUC_MAX_DEVICE 16 |
Maximum number of connectable devices. More... | |
#define | PUC_MAX_LEN 256 |
Maximum number of characters. More... | |
#define | PUC_Q_COUNT 64 |
Quantization table count (8*8) More... | |
#define | PUC_MIN_RING_BUF_COUNT 4 |
Minimum ring buffer count for continuous transfer. More... | |
#define | PUC_MAX_RING_BUF_COUNT 65535 |
Maximum ring buffer count for continuous transfer. More... | |
#define | PUC_XFER_TIMEOUT_AUTO 0 |
Mode for automatically setting the timeout duration (ms) based on the frame rate when no response is received from the device. More... | |
#define | PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF |
Mode for setting the timeout duration (ms) to infinite when no response is received from the device. More... | |
#define | PUC_SYNC_OUT_MAGNIFICATION_0_5 0 |
Constant value expressing the output magnification rate of synchronization signal is 0.5. More... | |
#define | PUC_MAX_DECODE_THREAD_COUNT 32 |
Constant value expressing the thread count for multi thread decoding. More... | |
#define | PUC_CHK_SUCCEEDED(res) (res == PUC_SUCCEEDED) |
The macro to be positive when an error code is normal. More... | |
#define | PUC_CHK_FAILED(res) (res != PUC_SUCCEEDED) |
The macro to be positive when an error code is not normal. More... | |
Typedefs | |
typedef void * | PUC_HANDLE |
Device handle. More... | |
typedef PUC_HANDLE * | PPUC_HANDLE |
Pointer for the device handle. More... | |
#define PUC_CHK_FAILED | ( | res | ) | (res != PUC_SUCCEEDED) |
The macro to be positive when an error code is not normal.
Definition at line 219 of file PUCCONST.h.
#define PUC_CHK_SUCCEEDED | ( | res | ) | (res == PUC_SUCCEEDED) |
The macro to be positive when an error code is normal.
Definition at line 216 of file PUCCONST.h.
#define PUC_MAX_DECODE_THREAD_COUNT 32 |
Constant value expressing the thread count for multi thread decoding.
Definition at line 41 of file PUCCONST.h.
#define PUC_MAX_DEVICE 16 |
Maximum number of connectable devices.
Definition at line 17 of file PUCCONST.h.
#define PUC_MAX_LEN 256 |
Maximum number of characters.
Definition at line 20 of file PUCCONST.h.
#define PUC_MAX_RING_BUF_COUNT 65535 |
Maximum ring buffer count for continuous transfer.
Definition at line 29 of file PUCCONST.h.
#define PUC_MIN_RING_BUF_COUNT 4 |
Minimum ring buffer count for continuous transfer.
Definition at line 26 of file PUCCONST.h.
#define PUC_Q_COUNT 64 |
Quantization table count (8*8)
Definition at line 23 of file PUCCONST.h.
#define PUC_SYNC_OUT_MAGNIFICATION_0_5 0 |
Constant value expressing the output magnification rate of synchronization signal is 0.5.
Definition at line 38 of file PUCCONST.h.
#define PUC_XFER_TIMEOUT_AUTO 0 |
Mode for automatically setting the timeout duration (ms) based on the frame rate when no response is received from the device.
Definition at line 32 of file PUCCONST.h.
#define PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF |
Mode for setting the timeout duration (ms) to infinite when no response is received from the device.
Definition at line 35 of file PUCCONST.h.
typedef PUC_HANDLE* PPUC_HANDLE |
Pointer for the device handle.
Definition at line 97 of file PUCCONST.h.
typedef void* PUC_HANDLE |
Device handle.
Definition at line 94 of file PUCCONST.h.
enum PUC_COLOR_TYPE |
Enumeration for device color/monochrome setting.
Enumerator | |
---|---|
PUC_COLOR_MONO | Monochrome. |
PUC_COLOR_COLOR | Color. |
Definition at line 82 of file PUCCONST.h.
enum PUC_MODE |
Enumeration for ON/OFF setting.
Enumerator | |
---|---|
PUC_OFF | OFF. |
PUC_ON | ON. |
Definition at line 46 of file PUCCONST.h.
enum PUC_SIGNAL |
Enumeration for signal polarity.
Enumerator | |
---|---|
PUC_SIGNAL_POSI | Positive polarity signal. |
PUC_SIGNAL_NEGA | Negative polarity signal. |
Definition at line 58 of file PUCCONST.h.
enum PUC_SYNC_MODE |
Enumeration for synchronization.
Enumerator | |
---|---|
PUC_SYNC_INTERNAL | Internal operation. |
PUC_SYNC_EXTERNAL | Synchronize to external signal. |
Definition at line 70 of file PUCCONST.h.
enum PUCRESULT |
Error code.
Definition at line 101 of file PUCCONST.h.