Add video modes here as you implement them
| 42 | |
| 43 | // Add video modes here as you implement them |
| 44 | IrStream::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 | |
| 53 | void IrStream::populateFrame(libfreenect2::Frame* srcFrame, int srcX, int srcY, OniFrame* dstFrame, int dstX, int dstY, int width, int height) const |
| 54 | { |
nothing calls this directly
no test coverage detected