| 58 | } |
| 59 | |
| 60 | XnStatus 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 | } |
no outgoing calls
no test coverage detected