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

Function xnPixelFormatFromString

Source/OpenNI/XnUtils.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76XN_C_API XnStatus xnPixelFormatFromString(const XnChar* strType, XnPixelFormat* pFormat)
77{
78 XN_VALIDATE_INPUT_PTR(strType);
79 XN_VALIDATE_OUTPUT_PTR(pFormat);
80
81 XN_ENUM_VALIDATE_FROM_STRING(XnPixelFormat, strType, *pFormat);
82
83 return (XN_STATUS_OK);
84}
85
86XN_C_API XnUInt32 xnGetBytesPerPixelForPixelFormat(XnPixelFormat format)
87{

Callers 1

xnConfigurePixelFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected