| 814 | } |
| 815 | |
| 816 | void CpuDepthPacketProcessor::setConfiguration(const libfreenect2::DepthPacketProcessor::Config &config) |
| 817 | { |
| 818 | DepthPacketProcessor::setConfiguration(config); |
| 819 | |
| 820 | impl_->params.min_depth = config.MinDepth * 1000.0f; |
| 821 | impl_->params.max_depth = config.MaxDepth * 1000.0f; |
| 822 | impl_->enable_bilateral_filter = config.EnableBilateralFilter; |
| 823 | impl_->enable_edge_filter = config.EnableEdgeAwareFilter; |
| 824 | } |
| 825 | |
| 826 | /** |
| 827 | * Load p0 tables from a command response, |
nothing calls this directly
no outgoing calls
no test coverage detected