PUCLIB 1.6.2.0
PHOTRON USB Control Library
Loading...
Searching...
No Matches
PUCUTIL.h File Reference
#include "PUCCONST.h"

Go to the source code of this file.

Data Structures

struct  PUC_GPU_SETUP_PARAM
 A structure that stores parameters used in GPU decoding. More...

Namespaces

namespace  pucutil

Macros

#define DLL_EXPORT   __declspec(dllimport)
#define DLLAPI   extern "C"

Typedefs

typedef struct PUC_GPU_SETUP_PARAMPPUC_GPU_SETUP_PARAM

Functions

DLL_EXPORT PUCRESULT WINAPI ExtractSequenceNo (const PUCHAR pData, UINT32 nWidth, UINT32 nHeight, PUSHORT pSeqNo)
 This extracts the sequence number from the compressed image data.
DLL_EXPORT PUCRESULT WINAPI 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.
DLL_EXPORT PUCRESULT WINAPI 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.
DLL_EXPORT PUCRESULT WINAPI 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.
DLL_EXPORT PUCRESULT WINAPI DecodeDCData (PUINT8 pDst, UINT32 nBlockX, UINT32 nBlockY, UINT32 nBlockCountX, UINT32 nBlockCountY, const PUINT8 pSrc)
 Decodes the DC component of compressed image data.
DLL_EXPORT PUCRESULT WINAPI GetAvailableGPUProcess ()
 This retrieves whether the PC is capable of GPU processing.
DLL_EXPORT PUCRESULT WINAPI SetupGPUDecode (PUC_GPU_SETUP_PARAM param)
 Allocates memory for GPU processing.
DLL_EXPORT PUCRESULT WINAPI TeardownGPUDecode ()
 Releases memory used by GPU processing.
DLL_EXPORT PUCRESULT WINAPI DecodeGPU (bool download, unsigned char *pSrc, unsigned char **pDst, UINT32 lineBytes)
 This unpacks the compressed image data to luminance data.(GPU processing)
DLL_EXPORT PUCRESULT WINAPI GetGPULastError (int &errorCode)
 This retrieves the error code from the last GPU processing.
DLL_EXPORT PUCRESULT WINAPI IsSetupGPUDecode (bool &status)
 This retrieves whether GPU decode memory is allocated.

Macro Definition Documentation

◆ DLL_EXPORT

#define DLL_EXPORT   __declspec(dllimport)

Definition at line 17 of file PUCUTIL.h.

◆ DLLAPI

#define DLLAPI   extern "C"

Definition at line 21 of file PUCUTIL.h.

Typedef Documentation

◆ PPUC_GPU_SETUP_PARAM