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

Function getCodecName

Samples/NiViewer/Capture.cpp:441–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441const char* getCodecName(NodeCodec *pNodeCodec, XnCodecID codecID)
442{
443 for (int i = 0; i < pNodeCodec->nValuesCount; i++)
444 {
445 if (pNodeCodec->pValues[i] == codecID)
446 {
447 return pNodeCodec->pIndexToName[i];
448 }
449 }
450 return NULL;
451}
452
453const char* captureGetDepthFormatName()
454{

Callers 4

captureGetIRFormatNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected