MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / DecompressData

Method DecompressData

Source/Modules/nimCodecs/XnCodec.cpp:60–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60XnStatus XnCodec::DecompressData(const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten) const
61{
62 XnStatus nRetVal = XN_STATUS_OK;
63
64 XN_VALIDATE_INPUT_PTR(pSrc);
65 XN_VALIDATE_INPUT_PTR(pDst);
66 XN_VALIDATE_OUTPUT_PTR(pnBytesWritten);
67
68 nRetVal = DecompressImpl((const XnUChar*)pSrc, nSrcSize, (XnUChar*)pDst, &nDstSize);
69 XN_IS_STATUS_OK_LOG_ERROR("Decompress", nRetVal);
70
71 *pnBytesWritten = nDstSize;
72
73 return (XN_STATUS_OK);
74}

Callers 2

xnDecodeDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected