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

Method downloadToNewFrame

src/opengl_depth_packet_processor.cpp:385–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 }
384
385 Frame *downloadToNewFrame()
386 {
387 Frame *f = new Frame(width, height, bytes_per_pixel);
388 f->format = Frame::Float;
389 downloadToBuffer(f->data);
390 flipYBuffer(f->data);
391
392 return f;
393 }
394};
395
396class OpenGLDepthPacketProcessorImpl : public WithOpenGLBindings, public WithPerfLogging

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected