| 28 | #include <cstdlib> |
| 29 | |
| 30 | void Streamer::initialize() |
| 31 | { |
| 32 | std::cout << "Initialize Streamer." << std::endl; |
| 33 | |
| 34 | jpegqual = ENCODE_QUALITY; // Compression Parameter |
| 35 | |
| 36 | servAddress = SERVER_ADDRESS; |
| 37 | servPort = Socket::resolveService(SERVER_PORT, "udp"); // Server port |
| 38 | |
| 39 | compression_params.push_back(CV_IMWRITE_JPEG_QUALITY); |
| 40 | compression_params.push_back(jpegqual); |
| 41 | } |
| 42 | |
| 43 | void Streamer::stream(libfreenect2::Frame* frame) |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected