| 786 | } |
| 787 | |
| 788 | XN_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 | |
| 801 | XN_C_API XnResolution xnResolutionGetFromXYRes(XnUInt32 xRes, XnUInt32 yRes) |
| 802 | { |
no outgoing calls
no test coverage detected