| 1303 | } |
| 1304 | |
| 1305 | Freenect2ReplayDevice::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 | |
| 1313 | Freenect2ReplayDevice::~Freenect2ReplayDevice() |
| 1314 | { |
nothing calls this directly
no test coverage detected