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

Method loadXZTables

src/depth_packet_processor.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void DumpDepthPacketProcessor::loadXZTables(const float *xtable, const float *ztable) {
168 delete[] xtable_;
169 xtable_ = new float[TABLE_SIZE];
170 std::memcpy(xtable_, xtable, TABLE_SIZE * sizeof(float));
171
172 delete[] ztable_;
173 ztable_ = new float[TABLE_SIZE];
174 std::memcpy(ztable_, ztable, TABLE_SIZE * sizeof(float));
175}
176
177void DumpDepthPacketProcessor::loadLookupTable(const short *lut) {
178 delete[] lut_;

Callers 1

setIrCameraParamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected