15#define DLL_EXPORT __declspec(dllexport)
17#define DLL_EXPORT __declspec(dllimport)
21#define DLLAPI extern "C"
101DLL_EXPORT PUCRESULT WINAPI
DecodeData(PUINT8 pDst, UINT32 nX, UINT32 nY, UINT32 nWidth, UINT32 nHeight, UINT32 nLineBytes,
const PUINT8 pSrc,
const PUSHORT pQVals);
struct PUC_GPU_SETUP_PARAM * PPUC_GPU_SETUP_PARAM
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 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 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 IsSetupGPUDecode(bool &status)
This retrieves whether GPU decode memory is allocated.
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 GetGPULastError(int &errorCode)
This retrieves the error code from the last GPU processing.
DLL_EXPORT PUCRESULT WINAPI GetAvailableGPUProcess()
This retrieves whether the PC is capable of GPU processing.
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.
A structure that stores parameters used in GPU decoding.
UINT32 width
The image width on GPU process.
UINT32 height
The image height on GPU process.