1059PUCRESULT WINAPI
PUC_DecodeData(PUINT8 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes,
const PUINT8 pSrc,
const PUSHORT pQVals);
1117PUCRESULT WINAPI
PUC_DecodeDataMultiThread(PUINT8 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes,
const PUINT8 pSrc,
const PUSHORT pQVals, UINT32 nThreadCount);
1153PUCRESULT WINAPI
PUC_DecodeDCTData(PINT16 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes,
const PUINT8 pSrc,
const PUSHORT pQVals);
PUC_GENERAL_OUT_SIGNAL_TYPE
The signal type assigned to a general output port. Names ending with POS are positive polarity and NE...
PUC_SYNC_OUT_TIMES
The output count magnification of the synchronization signal, given as a multiple of the framerate....
PUC_GENERAL_IN_SIGNAL_TYPE
The signal type assigned to a general input port. Names containing POS are positive polarity and NEG ...
struct PUC_GBE2_XFER_HEADER * PPUC_GBE2_XFER_HEADER
void * PUC_HANDLE
Device handle.
#define PUC_MAX_DEVICE
Maximum number of connectable devices.
PUC_CAPABILITY
Camera capability. Use with PUC_IsSupported to check whether a feature is available on the connected ...
PUC_MODE
Enumeration for ON/OFF setting.
PUC_COLOR_TYPE
Enumeration for device color/monochrome setting.
PUC_SYNC_MODE
Enumeration for synchronization.
PUC_HANDLE * PPUC_HANDLE
Pointer for the device handle.
PUC_NETWORK_INFO_TYPE
The network setting to change with PUC_SetNetworkInfo.
PUC_SIGNAL
Enumeration for signal polarity.
#define PUC_MAC_ADDRESS_SIZE
MAC address size.
PUCRESULT WINAPI PUC_IsSupported(PUC_HANDLE hDevice, PUC_CAPABILITY cap, bool *pIsSupported)
This checks whether the connected camera supports the specified capability.
PUCRESULT WINAPI PUC_ResetSequenceNo(PUC_HANDLE hDevice)
This resets the sequence number.
PUCRESULT WINAPI PUC_GetSyncOutMagnification(PUC_HANDLE hDevice, UINT32 *pMagnification)
This retrieves the output magnification rate for the synchronization signal.
PUCRESULT WINAPI PUC_GetResolutionLimit(PUC_HANDLE hDevice, PPUC_RESO_LIMIT_INFO pLimitInfo)
This retrieves the resolution limit for the device, and minimum unit for altering the resolution.
PUCRESULT WINAPI PUC_DiscoveryDevice(UINT32 nAdapterIPaddress, UINT32 *pNumDetectedDevice, PPUC_NETWORK_INFO pDetectedDevicesInfo)
This searches for devices under the specified network adapter. (GbE-2 only)
PUCRESULT WINAPI PUC_SetSyncInMode(PUC_HANDLE hDevice, PUC_SYNC_MODE nMode, PUC_SIGNAL nSignal)
This sets the synchronous signal input mode for the device.
PUCRESULT WINAPI PUC_IsXferring(PUC_HANDLE hDevice, BOOL *pIsXferring)
This checks whether a continuous transfer is in progress.
PUCRESULT WINAPI PUC_DetectDevice(PPUC_DETECT_INFO pDetectInfo)
This searches for the device. (UC1 only)
PUCRESULT WINAPI PUC_DecodeData(PUINT8 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes, const PUINT8 pSrc, const PUSHORT pQVals)
This unpacks the compressed image data to luminance data.
PUCRESULT WINAPI PUC_GetRingBufferCount(PUC_HANDLE hDevice, UINT32 *pCount)
This retrieves the ring buffer count for continuous transfer.
PUCRESULT WINAPI PUC_GetMaxResolution(PUC_HANDLE hDevice, UINT32 *pCurMaxWidth, UINT32 *pCurMaxHeight)
This retrieves the maximum resolution setting allowed for the current frame rate of the device.
PUCRESULT WINAPI PUC_GetColorType(PUC_HANDLE hDevice, PUC_COLOR_TYPE *pType)
This retrieves color/monochrome information of the device.
PUCRESULT WINAPI PUC_GetQuantization(PUC_HANDLE hDevice, UINT32 nPoint, USHORT *pVal)
This retrieves one set of quantization table data stored to the device.
PUCRESULT WINAPI PUC_ExtractGbe2XferHeader(const PUCHAR pData, PPUC_GBE2_XFER_HEADER pHeader)
This parses the header of the transfer data. (GbE-2 only)
PUCRESULT WINAPI PUC_GetSyncOutDelay(PUC_HANDLE hDevice, UINT32 *pDelay)
This retrieves the delay value of device's synchronization signal output in nsec. The value less th...
struct PUC_XFER_DATA_INFO * PPUC_XFER_DATA_INFO
PUCRESULT WINAPI PUC_SetupGPUDecode(PUC_GPU_SETUP_PARAM param)
Allocates memory for GPU processing.
PUCRESULT WINAPI PUC_GetPPOutDelay(PUC_HANDLE hDevice, UINT32 *pDelay)
This retrieves the delay of the PP OUT (PTP pulse per second) signal for the device....
PUCRESULT WINAPI PUC_ExtractSequenceNo(const PUCHAR pData, UINT32 nWidth, UINT32 nHeight, PUSHORT pSeqNo)
This extracts the sequence number from the compressed image data. (UC1 only)
PUCRESULT WINAPI PUC_GetFanState(PUC_HANDLE hDevice, PUC_MODE *pState)
This retrieves the state of the device fan.
PUCRESULT WINAPI PUC_DetectDevice2(const PPUC_DETECT_FILTER pFilter, PPUC_DETECT_INFO pDetectInfo)
This searches for devices matching the specified search conditions.
struct PUC_DETECT_INFO * PPUC_DETECT_INFO
PUCRESULT WINAPI PUC_GetTrigInDelay(PUC_HANDLE hDevice, UINT32 *pDelay)
This retrieves the delay of the TRIG IN signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_SetFramerateShutter(PUC_HANDLE hDevice, UINT32 nFramerate, UINT32 nShutterSpeedFps)
This sets the framerate and the shutter speed (1/fps) for the device.
PUCRESULT WINAPI PUC_GetExposeDelay(PUC_HANDLE hDevice, UINT32 *pDelay)
This retrieves the exposure delay of the device.
PUCRESULT WINAPI PUC_GetSyncOutWidth(PUC_HANDLE hDevice, UINT32 *pWidth)
This retrieves the output width of synchronization signal for the device. If it is less than 100nse...
PUCRESULT WINAPI PUC_CloseDevice(PUC_HANDLE hDevice)
This closes the device.
PUCRESULT WINAPI PUC_SetRingBufferCount(PUC_HANDLE hDevice, UINT32 nCount)
This sets the ring buffer count for continuous transfer.
PUCRESULT WINAPI PUC_GetSensorTemperature(PUC_HANDLE hDevice, UINT32 *pTemp)
This retrieves the device sensor temperature.
PUCRESULT WINAPI PUC_IsSetupGPUDecode(bool &status)
This retrieves whether GPU decode memory is allocated.
PUCRESULT WINAPI PUC_GetSupportedGeneralInSignal(PUC_HANDLE hDevice, PUC_GENERAL_IN_SIGNAL_TYPE GenInType, bool *isSupported)
This retrieves whether the device supports the specified general input signal type....
PUCRESULT WINAPI PUC_SetWhiteBalanceGain(double nGainR, double nGainG, double nGainB)
Sets the per-channel white balance gain (R/G/B) applied during GbE-2 color (bayer) decoding by PUC_De...
void(* RECEIVE_CALLBACK)(PPUC_XFER_DATA_INFO, void *)
The callback function type called during continuous transfer.
PUCRESULT WINAPI PUC_GetXferTimeOut(PUC_HANDLE hDevice, UINT32 *pSingleXferTimeOut, UINT32 *pContinuousXferTimeOut)
This retrieves the timeout duration (ms) for data transfer from the device.
PUCRESULT WINAPI PUC_GetSyncOutTimes(PUC_HANDLE hDevice, PUC_SYNC_OUT_TIMES *pTimes)
This retrieves the output times for the synchronization signal.
PUCRESULT WINAPI PUC_GetGeneralInSignal(PUC_HANDLE hDevice, int portNo, PUC_GENERAL_IN_SIGNAL_TYPE *type)
This retrieves the signal type assigned to the specified general input port. (GbE-2 only)
PUCRESULT WINAPI PUC_GetXferDataSize(PUC_HANDLE hDevice, UINT32 *pDataSize)
This retrieves the size of transfer data from the device.
PUCRESULT WINAPI PUC_SetQuantization(PUC_HANDLE hDevice, UINT32 nPoint, USHORT nVal)
This overwrites one set of quantization table data stored to the device.
PUCRESULT WINAPI PUC_GetResolution(PUC_HANDLE hDevice, UINT32 *pWidth, UINT32 *pHeight)
This retrieves the device resolution.
PUCRESULT WINAPI PUC_DecodeGPU(bool download, unsigned char *pSrc, unsigned char **pDst, UINT32 lineBytes)
This unpacks the compressed image data to luminance data.(GPU processing)
PUCRESULT WINAPI PUC_SetLEDMode(PUC_HANDLE hDevice, PUC_MODE nMode)
This sets the LED state of the device.
PUCRESULT WINAPI PUC_GetAvailableGPUProcess()
This retrieves whether the PC is capable of GPU processing.
PUCRESULT WINAPI PUC_SetSyncOutTimes(PUC_HANDLE hDevice, PUC_SYNC_OUT_TIMES nTimes)
This sets the output times for the synchronization signal.
PUCRESULT WINAPI PUC_SetExposeTime(PUC_HANDLE hDevice, UINT32 nExpOnTime, UINT32 nExpOffTime)
This sets the exposure/non-exposure time of the device.
PUCRESULT WINAPI PUC_SetResolution(PUC_HANDLE hDevice, UINT32 nWidth, UINT32 nHeight)
This sets the device resolution.
PUCRESULT WINAPI PUC_GetMacAddress(PUC_HANDLE hDevice, UINT8 *pMacAddress)
This retrieves the MAC address of the device from the cache. (GbE-2 only)
PUCRESULT WINAPI PUC_SetSyncInDelay(PUC_HANDLE hDevice, UINT32 nDelay)
This sets the delay of the SYNC IN signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_DecodeDataMultiThread(PUINT8 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes, const PUINT8 pSrc, const PUSHORT pQVals, UINT32 nThreadCount)
This unpacks the compressed image data to luminance data. This process is multithreaded.
PUCRESULT WINAPI PUC_SetSyncOutWidth(PUC_HANDLE hDevice, UINT32 nWidth)
This sets the output width of synchronization signal for the device.
struct PUC_DETECT_FILTER * PPUC_DETECT_FILTER
PUCRESULT WINAPI PUC_ExtractSequenceNo_GBE2(const PUCHAR pData, PUSHORT pSeqNo)
This extracts the sequence number from the transfer data. (GbE-2 only)
PUCRESULT WINAPI PUC_GetSyncInMode(PUC_HANDLE hDevice, PUC_SYNC_MODE *pMode, PUC_SIGNAL *pSignal)
This retrieves the synchronous signal input mode for the device.
PUCRESULT WINAPI PUC_GetExternalSyncStatus(PUC_HANDLE hDevice, UINT32 *pStatus, UINT32 *pFrequency)
This retrieves the external sync status.
PUCRESULT WINAPI PUC_GetSyncOutSignal(PUC_HANDLE hDevice, PUC_SIGNAL *pSignal)
This retrieves the synchronization signal output polarity for the device.
PUCRESULT WINAPI PUC_GetAdaptersInfoList(UINT32 *pNumAdapters, PPUC_NETWORK_INFO pAdaptersInfo)
This retrieves the list of network adapters on the PC. (GbE-2 only)
PUCRESULT WINAPI PUC_TeardownGPUDecode()
Releases memory used by GPU processing.
PUCRESULT WINAPI PUC_SetEPOCTime(PUC_HANDLE hDevice, UINT32 year, UINT32 month, UINT32 day, UINT32 hour, UINT32 minute, UINT32 second)
This sets the clock of the device by specifying the date and time. (GbE-2 only)
PUCRESULT WINAPI PUC_GetGPULastError(int &errorCode)
This retrieves the error code from the last GPU processing.
PUCRESULT WINAPI PUC_SetSyncOutMagnification(PUC_HANDLE hDevice, UINT32 nMagnification)
This sets the output magnification rate for the synchronization signal.
PUCRESULT WINAPI PUC_GetLEDMode(PUC_HANDLE hDevice, PUC_MODE *pMode)
This retrieves the LED state of the device.
PUCRESULT WINAPI PUC_GetDeviceVersion(PUC_HANDLE hDevice, UINT32 *pVersion)
This retrieves device version information.
PUCRESULT WINAPI PUC_GetDeviceName(PUC_HANDLE hDevice, UINT32 *pName)
This retrieves the device name.
PUCRESULT WINAPI PUC_SetFanState(PUC_HANDLE hDevice, PUC_MODE nState)
This sets the state of the device fan.
PUCRESULT WINAPI PUC_GetDeviceType(PUC_HANDLE hDevice, UINT32 *pType)
This retrieves the device type.
PUCRESULT WINAPI PUC_DecodeDCData(PUINT8 pDst, UINT32 nBlockX, UINT32 nBlockY, UINT32 nBlockCountX, UINT32 nBlockCountY, const PUINT8 pSrc)
Decodes the DC component of compressed image data.
PUCRESULT WINAPI PUC_GetMaxFramerate(PUC_HANDLE hDevice, UINT32 *pFramerate)
This retrieves the maximum framerate for the current resolution.
PUCRESULT WINAPI PUC_GetExposeTime(PUC_HANDLE hDevice, UINT32 *pExpOnTime, UINT32 *pExpOffTime)
This retrieves the exposure/non-exposure time of the device.
PUCRESULT WINAPI PUC_GetFramerateLimit(PUC_HANDLE hDevice, PPUC_FRAMERATE_LIMIT_INFO pLimitInfo)
This retrieves the framerate limit information.
PUCRESULT WINAPI PUC_SetTimeOfDay(PUC_HANDLE hDevice, UINT64 epochSeconds)
This sets the clock of the device by specifying the epoch time. (GbE-2 only)
PUCRESULT WINAPI PUC_BeginXferData(PUC_HANDLE hDevice, RECEIVE_CALLBACK callback, void *arg)
This starts continuous transfer.
struct PUC_FRAMERATE_LIMIT_INFO * PPUC_FRAMERATE_LIMIT_INFO
PUCRESULT WINAPI PUC_SetGeneralInSignal(PUC_HANDLE hDevice, int portNo, PUC_GENERAL_IN_SIGNAL_TYPE type)
This assigns a signal type to the specified general input port. (GbE-2 only)
PUCRESULT WINAPI PUC_GetMaxXferDataSize(PUC_HANDLE hDevice, UINT32 *pDataSize)
This retrieves the maximum size of transfer data from the device.
PUCRESULT WINAPI PUC_GetQuantization2(PUC_HANDLE hDevice, unsigned short *pQvals)
This retrieves the whole quantization table of the device at once.
PUCRESULT WINAPI PUC_SetExposeDelay(PUC_HANDLE hDevice, UINT32 nDelay)
This sets the exposure delay of the device.
PUCRESULT WINAPI PUC_SetPPOutWidth(PUC_HANDLE hDevice, UINT32 nWidth)
This sets the output width of the PP OUT (PTP pulse per second) signal for the device....
PUCRESULT WINAPI PUC_OpenDevice(UINT32 nDeviceNo, PPUC_HANDLE pDeviceHandle)
This opens the device. (UC1 only)
PUCRESULT WINAPI PUC_GetSyncInDelay(PUC_HANDLE hDevice, UINT32 *pDelay)
This retrieves the delay of the SYNC IN signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_SetSyncOutDelay(PUC_HANDLE hDevice, UINT32 nDelay)
This sets the delay value of device's synchronization signal output in nsec.
PUCRESULT WINAPI PUC_GetSupportedGeneralOutSignal(PUC_HANDLE hDevice, PUC_GENERAL_OUT_SIGNAL_TYPE GenOutType, bool *isSupported)
This retrieves whether the device supports the specified general output signal type....
PUCRESULT WINAPI PUC_SetSyncOutSignal(PUC_HANDLE hDevice, PUC_SIGNAL nSignal)
This sets the synchronous signal output polarity for the device.
PUCRESULT WINAPI PUC_GetIPAddress(PUC_HANDLE hDevice, UINT32 *pIPAddress)
This retrieves the IP address of the device from the cache. (GbE-2 only)
PUCRESULT WINAPI PUC_SetXferTimeOut(PUC_HANDLE hDevice, UINT32 nSingleXferTimeOut, UINT32 nContinuousXferTimeOut)
This sets the timeout duration (ms) for data transfer from the device.
PUCRESULT WINAPI PUC_GetGeneralOutSignal(PUC_HANDLE hDevice, int portNo, PUC_GENERAL_OUT_SIGNAL_TYPE *type)
This retrieves the signal type assigned to the specified general output port. (GbE-2 only)
PUCRESULT WINAPI PUC_GetSingleXferData(PUC_HANDLE hDevice, PPUC_XFER_DATA_INFO pXferData)
This retrieves the current live image from the device.
struct PUC_NETWORK_INFO * PPUC_NETWORK_INFO
PUCRESULT WINAPI PUC_GetFramerateShutter(PUC_HANDLE hDevice, UINT32 *pFramerate, UINT32 *pShutterSpeedFps)
This retrieves the framerate and the shutter speed (1/fps) for the device.
PUCRESULT WINAPI PUC_DecodeDCTData(PINT16 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes, const PUINT8 pSrc, const PUSHORT pQVals)
This unpacks the compressed image data to DCT coefficients.
RECEIVE_CALLBACK RECIEVE_CALLBACK
Deprecated alias kept for backward compatibility. Use RECEIVE_CALLBACK.
PUCRESULT WINAPI PUC_Initialize()
This initializes the library.
PUCRESULT WINAPI PUC_SetNetworkInfo(PUC_HANDLE hDevice, PUC_NETWORK_INFO_TYPE type, UINT32 value)
This changes the network setting of the opened device. (GbE-2 only)
PUCRESULT WINAPI PUC_SetTrigInDelay(PUC_HANDLE hDevice, UINT32 nDelay)
This sets the delay of the TRIG IN signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_SetTrigOutWidth(PUC_HANDLE hDevice, UINT32 nWidth)
This sets the output width of the TRIG OUT signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_GetSerialNo(PUC_HANDLE hDevice, UINT64 *pSerialNo)
This retrieves the device serial number.
PUCRESULT WINAPI PUC_GetTrigOutWidth(PUC_HANDLE hDevice, UINT32 *pWidth)
This retrieves the output width of the TRIG OUT signal for the device. (GbE-2 only)
PUCRESULT WINAPI PUC_ResetDevice(UINT32 nDeviceNo)
This resets the device. (UC1 only)
PUCRESULT WINAPI PUC_SetGeneralOutSignal(PUC_HANDLE hDevice, int portNo, PUC_GENERAL_OUT_SIGNAL_TYPE type)
This assigns a signal type to the specified general output port. (GbE-2 only)
struct PUC_RESO_LIMIT_INFO * PPUC_RESO_LIMIT_INFO
PUCRESULT WINAPI PUC_ForceSetNetworkSetting(UINT32 nAdapterIPaddress, const PPUC_NETWORK_INFO pTargetInfo, UINT32 nForTemporary, PPUC_NETWORK_INFO pResultInfo)
This forcibly writes network settings to a device that is not opened. (GbE-2 only)
PUCRESULT WINAPI PUC_EndXferData(PUC_HANDLE hDevice)
This finishes continuous transfer.
PUCRESULT WINAPI PUC_GetPPOutWidth(PUC_HANDLE hDevice, UINT32 *pWidth)
This retrieves the output width of the PP OUT (PTP pulse per second) signal for the device....
PUCRESULT WINAPI PUC_SetQuantization2(PUC_HANDLE hDevice, unsigned short *pQvals)
This sets the whole quantization table of the device at once.
PUCRESULT WINAPI PUC_GetTimeCode2EPOC(PUINT8 pSrc, time_t *time)
This converts the time code in the transfer data into epoch time. (GbE-2 only)
PUCRESULT WINAPI PUC_GetMinExposeTime(PUC_HANDLE hDevice, UINT32 *pMinExpOnTime, UINT32 *pMinExpOffTime)
This retrieves the minimum exposure/non-exposure time of the device. If it is less than 100nsec,...
PUCRESULT WINAPI PUC_OpenDevice2(UINT32 index, PPUC_HANDLE pDeviceHandle)
This opens a device found by the last device search.
PUCRESULT WINAPI PUC_SetPPOutDelay(PUC_HANDLE hDevice, UINT32 nDelay)
This sets the delay of the PP OUT (PTP pulse per second) signal for the device. (GbE-2 only)
Structure for specifying device search conditions (for PUC_DetectDevice2)
UINT32 nDetectMode
Search method (PUC_DETECT_MODE_DISCOVERY / PUC_DETECT_MODE_TARGET_IP). PUC_DETECT_MODE_DISCOVERY(0) i...
UINT32 nDeviceTypeFlags
Combination of search target flags (PUC_DETECT_TARGET_UC1 / PUC_DETECT_TARGET_GBE2)....
UINT32 nReserved[4]
Reserved for future use. Set to 0.
UINT32 nAdapterIPAddress
Adapter IP address used for network device search. 0 searches on all adapters. (GbE-2 only)
UINT32 nTargetIPAddress
Target device IP address. With PUC_DETECT_MODE_DISCOVERY, 0 searches all devices and a non-zero value...
Structure for storing device search results.
UINT32 nDeviceIPAddress[PUC_MAX_DEVICE]
UINT32 nDeviceType[PUC_MAX_DEVICE]
UINT32 nDeviceCount
Number of detected devices.
UINT32 nDeviceNoList[PUC_MAX_DEVICE]
List of device IDs found.
Structure for storing framerate limit values.
UINT32 nMaxFrameRate
Maximum Framerate.
UINT32 nMinFrameRate
Minimum Framerate.
A structure that stores parameters used in GPU decoding.
UINT8 macAddress[PUC_MAC_ADDRESS_SIZE]
MAC address of the device.
UINT32 nDefaultGateway
Default gateway of the device.
UINT32 nIPAddress
IP address of the device.
UINT32 nSubnetmask
Subnet mask of the device.
UINT32 nDeviceCode
Device code.
Structure for storing resolution limit values.
UINT32 nUnitWidth
Minimum unit for altering the horizontal resolution.
UINT32 nMaxHeight
Maximum vertical resolution.
UINT32 nMaxWidth
Maximum horizontal resolution.
UINT32 nUnitHeight
Minimum unit for altering the vertical resolution.
UINT32 nMinHeight
Minimum vertical resolution.
UINT32 nMinWidth
Minimum horizontal resolution.
Structure for storing the information of transfer data.
UINT32 nDataSize
The size of transfer data. Stores the size of transfer data.
UINT8 isDamaged
Indicates whether the transfer data is damaged.
USHORT nSequenceNo
The sequence number of transfer data.
PUINT8 pData
Location for unpacked transfer data. It is necessary to allocate the required amount in advance....