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

Function makeOniVideoMode

src/openni2/Utility.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32// Oni helpers
33
34OniVideoMode makeOniVideoMode(OniPixelFormat pixel_format, int resolution_x, int resolution_y, int frames_per_second)
35{
36 OniVideoMode mode;
37 mode.pixelFormat = pixel_format;
38 mode.resolutionX = resolution_x;
39 mode.resolutionY = resolution_y;
40 mode.fps = frames_per_second;
41 return mode;
42}
43
44bool operator==(const OniVideoMode& left, const OniVideoMode& right)
45{

Callers 8

ColorStreamMethod · 0.85
IrStreamMethod · 0.85
setStreamPropertiesMethod · 0.85
DepthStreamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected