| 165 | } |
| 166 | |
| 167 | void 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 | |
| 177 | void DumpDepthPacketProcessor::loadLookupTable(const short *lut) { |
| 178 | delete[] lut_; |