17#define PUC_MAX_DEVICE 16
20#define PUC_MAX_LEN 256
26#define PUC_MIN_RING_BUF_COUNT 4
29#define PUC_MAX_RING_BUF_COUNT 65535
32#define PUC_XFER_TIMEOUT_AUTO 0
35#define PUC_XFER_TIMEOUT_INFINITE 0xFFFFFFFF
38#define PUC_SYNC_OUT_MAGNIFICATION_0_5 0
41#define PUC_MAX_DECODE_THREAD_COUNT 32
216#define PUC_CHK_SUCCEEDED(res) (res == PUC_SUCCEEDED)
219#define PUC_CHK_FAILED(res) (res != PUC_SUCCEEDED)
void * PUC_HANDLE
Device handle.
@ PUC_ERROR_NOTEQUAL_READ_SIZE
The data of specified size could not be read from the device.
@ PUC_ERROR_GPU_MEMORY_COPY
Failed to copy GPU memory.
@ PUC_ERROR_RING_BUF_COUNT
The specified ring buffer count is invalid.
@ PUC_ERROR_DEVICE_WRITE
Failed to write data to the device.
@ PUC_ERROR_ILLEGAL_FRAME_RATE
The specified framerate cannot be set.
@ PUC_ERROR_INITIALIZED
Initialization is already complete.
@ PUC_ERROR_XFER_DATA_FINISH
The data transfer ended abnormally.
@ PUC_ERROR_NOTEQUAL_WRITE_SIZE
The data of specified size could not be written to the device.
@ PUC_ERROR_GPU_UNINITIALIZE
The setup required for GPU processing is not done, please run PUC_SetupGPUDecode.
@ PUC_ERROR_FREE_BUFFER
Failed to release the buffer.
@ PUC_ERROR_ILLEGAL_RESOLUTION
The specified resolution cannot be set.
@ PUC_ERROR_GPU_DECODE_PROCESS
GPU decode process failed.
@ PUC_ERROR_XFER_DATA_WAIT
An unexpected error occurred during waiting for a data transfer from the device.
@ PUC_ERROR_MODULE_LOAD
There are modules in the SDK that could not load.
@ PUC_ERROR_ALLOCATE_BUFFUER
Failed to allocate buffer.
@ PUC_ERROR_XFERRING
Unable to process as a data transfer is in progress.
@ PUC_ERROR_DEVICE_NOTOPEN
The device is not open.
@ PUC_ERROR_DEVICE_OPEN
Failed to open the device.
@ PUC_ERROR_GPU_SYNCHRONIZE
Failed to synchronize GPU processing.
@ PUC_ERROR_XFER_DATA_INVALID_HEADER
The header information in the data received from the device is invalid.
@ PUC_ERROR_NOTSUPPORT
This function is not supprted.
@ PUC_ERROR_SET_CMD
Failed to send a SET command to the device.
@ PUC_ERROR_GET_CMD
Failed to send a GET command to the device.
@ PUC_ERROR_ILLEGAL_EXPOSE_CLOCK
The specified exposure time or non-exposure time (clock units) cannot be set.
@ PUC_ERROR_DEVICE_READ
Failed to read data from the device.
@ PUC_ERROR_ILLEGAL_ARG
The specified argument is NULL.
@ PUC_ERROR_ILLEGAL_DEVICE_HANDLE
The specified device handle is NULL.
@ PUC_ERROR_UNINITIALIZE
Initialization has not been performed. Please execute the PUC_Initialize function.
@ PUC_SUCCEEDED
Succeeded.
@ PUC_ERROR_SYNC_EXTERNAL
Unable to process as a synchronize to external signal is in progress.
@ PUC_ERROR_LOCK_TIMEOUT
The exclusive process of the function has timed out.
@ PUC_ERROR_XFER_DATA_BEGIN
Unable to start data transfer.
@ PUC_ERROR_NOT_EXIST_DEVICE_NO
The specified device number does not exist.
PUC_MODE
Enumeration for ON/OFF setting.
PUC_COLOR_TYPE
Enumeration for device color/monochrome setting.
@ PUC_COLOR_MONO
Monochrome.
PUC_SYNC_MODE
Enumeration for synchronization.
@ PUC_SYNC_EXTERNAL
Synchronize to external signal.
@ PUC_SYNC_INTERNAL
Internal operation.
PUC_HANDLE * PPUC_HANDLE
Pointer for the device handle.
PUC_SIGNAL
Enumeration for signal polarity.
@ PUC_SIGNAL_NEGA
Negative polarity signal.
@ PUC_SIGNAL_POSI
Positive polarity signal.