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

Method initialize

tools/streamer_recorder/streamer.cpp:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include <cstdlib>
29
30void 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
43void Streamer::stream(libfreenect2::Frame* frame)
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected