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

Method loadXZTables

src/cpu_depth_packet_processor.cpp:861–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859}
860
861void CpuDepthPacketProcessor::loadXZTables(const float *xtable, const float *ztable)
862{
863 impl_->x_table.create(424, 512);
864 std::copy(xtable, xtable + TABLE_SIZE, impl_->x_table.ptr(0,0));
865
866 impl_->z_table.create(424, 512);
867 std::copy(ztable, ztable + TABLE_SIZE, impl_->z_table.ptr(0,0));
868}
869
870void CpuDepthPacketProcessor::loadLookupTable(const short *lut)
871{

Callers

nothing calls this directly

Calls 3

copyFunction · 0.85
createMethod · 0.80
ptrMethod · 0.45

Tested by

no test coverage detected