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

Function xnResolutionGetYRes

Source/OpenNI/XnOpenNI.cpp:788–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788XN_C_API XnUInt32 xnResolutionGetYRes(XnResolution resolution)
789{
790 for (XnUInt i = 0; i < sizeof(g_resInfo)/sizeof(XnResolutionInfo); ++i)
791 {
792 if (g_resInfo[i].Res == resolution)
793 {
794 return g_resInfo[i].nYRes;
795 }
796 }
797
798 return 0;
799}
800
801XN_C_API XnResolution xnResolutionGetFromXYRes(XnUInt32 xRes, XnUInt32 yRes)
802{

Calls

no outgoing calls

Tested by

no test coverage detected