MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / getSupportedVideoModes

Method getSupportedVideoModes

src/openni2/IrStream.cpp:44–51  ·  view source on GitHub ↗

Add video modes here as you implement them

Source from the content-addressed store, hash-verified

42
43// Add video modes here as you implement them
44IrStream::VideoModeMap IrStream::getSupportedVideoModes() const
45{
46 VideoModeMap modes;
47 // pixelFormat, resolutionX, resolutionY, fps
48 modes[makeOniVideoMode(ONI_PIXEL_FORMAT_GRAY16, 512, 424, 30)] = 0;
49
50 return modes;
51}
52
53void IrStream::populateFrame(libfreenect2::Frame* srcFrame, int srcX, int srcY, OniFrame* dstFrame, int dstX, int dstY, int width, int height) const
54{

Callers

nothing calls this directly

Calls 1

makeOniVideoModeFunction · 0.85

Tested by

no test coverage detected