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

Method processRawFrame

src/libfreenect2.cpp:1419–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1417}
1418
1419bool Freenect2ReplayDevice::processRawFrame(Frame::Type type, Frame* frame)
1420{
1421 if (frame->format != Frame::Raw)
1422 {
1423 return false;
1424 }
1425 switch (type)
1426 {
1427 case Frame::Color:
1428 processRgbFrame(frame);
1429 break;
1430 case Frame::Depth:
1431 processDepthFrame(frame);
1432 break;
1433 default:
1434 return false;
1435 }
1436 return true;
1437}
1438
1439void Freenect2ReplayDevice::processRgbFrame(Frame* frame)
1440{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected