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

Method Freenect2ReplayDevice

src/libfreenect2.cpp:1305–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1303}
1304
1305Freenect2ReplayDevice::Freenect2ReplayDevice(Freenect2ReplayImpl *context, const std::vector<std::string>& frame_filenames, const PacketPipeline* pipeline)
1306 :context_(context), pipeline_(pipeline), frame_filenames_(frame_filenames), running_(false)
1307{
1308 size_t single_image = 512*424*11/8;
1309 buffer_size_ = 10 * single_image;
1310 pipeline_->getDepthPacketProcessor()->allocateBuffer(packet_, buffer_size_);
1311}
1312
1313Freenect2ReplayDevice::~Freenect2ReplayDevice()
1314{

Callers

nothing calls this directly

Calls 2

allocateBufferMethod · 0.45

Tested by

no test coverage detected