| 77 | } |
| 78 | |
| 79 | VideoStream::VideoStream(Device* drvdev, libfreenect2::Freenect2Device* device, Freenect2Driver::Registration *reg) : |
| 80 | frame_id(1), |
| 81 | device(device), |
| 82 | driver_dev(drvdev), |
| 83 | running(false), |
| 84 | mirroring(false), |
| 85 | reg(reg), |
| 86 | callPropertyChangedCallback(false) |
| 87 | { |
| 88 | // joy of structs |
| 89 | memset(&cropping, 0, sizeof(cropping)); |
| 90 | memset(&video_mode, 0, sizeof(video_mode)); |
| 91 | } |
| 92 | //~VideoStream() { stop(); } |
| 93 | |
| 94 |
nothing calls this directly
no outgoing calls
no test coverage detected