OpenNI 1.5.4: Codec

OpenNI

Functions

XN_C_API XnStatus XN_C_DECL xnCreateCodec (XnContext *pContext, XnCodecID codecID, XnNodeHandle hInitializerNode, XnNodeHandle *phCodec)
XN_C_API XnCodecID XN_C_DECL xnGetCodecID (XnNodeHandle hCodec)
XN_C_API XnStatus XN_C_DECL xnEncodeData (XnNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
XN_C_API XnStatus XN_C_DECL xnDecodeData (XnNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)

Detailed Description

A Codec node is a Production Node that allows compression and decompression of data. It supports all Production Node functions, and adds additional functions.


Function Documentation

XN_C_API XnStatus XN_C_DECL xnCreateCodec ( XnContext pContext,
XnCodecID  codecID,
XnNodeHandle  hInitializerNode,
XnNodeHandle phCodec 
)
XN_C_API XnStatus XN_C_DECL xnDecodeData ( XnNodeHandle  hCodec,
const void *  pSrc,
XnUInt32  nSrcSize,
void *  pDst,
XnUInt32  nDstSize,
XnUInt *  pnBytesWritten 
)
XN_C_API XnStatus XN_C_DECL xnEncodeData ( XnNodeHandle  hCodec,
const void *  pSrc,
XnUInt32  nSrcSize,
void *  pDst,
XnUInt32  nDstSize,
XnUInt *  pnBytesWritten 
)
XN_C_API XnCodecID XN_C_DECL xnGetCodecID ( XnNodeHandle  hCodec)
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by   doxygen 1.7.5.1