ofxDepthStream
|
contains all classes and functions of the DepthStream library. More...
Data Structures | |
class | Buffer |
Manages a reference to a Frame instance. More... | |
class | CamInterface |
The Whole purpose of this wrapper is to "hide" all OpenNI related stuff and replace it with placeholder code for the purpose of development. More... | |
class | Compressor |
Compressed a package (frame) of data using zlib compression. More... | |
class | Formatter |
class | Frame |
A read-only wrapper around a data block of a specified size. More... | |
class | Inflater |
Inflates ("decompresses") a package ("frame") of data compressed using zlib doCompression. More... | |
class | Playback |
class | Receiver |
Network stream receiver class. More... | |
class | Recorder |
class | SimpleFrameListener |
class | Transmitter |
Network stream transmitter class. More... | |
class | VideoStream |
Typedefs | |
typedef std::shared_ptr< VideoStream > | VideoStreamRef |
typedef std::shared_ptr< Compressor > | CompressorRef |
typedef std::shared_ptr< Frame > | FrameRef |
typedef std::shared_ptr< Inflater > | InflaterRef |
typedef std::shared_ptr< Receiver > | ReceiverRef |
typedef std::shared_ptr< Transmitter > | TransmitterRef |
Functions | |
FrameRef | compress (const void *data, size_t size) |
FrameRef | compress (Frame &instance) |
FrameRef | compress (FrameRef ref) |
FrameRef | inflate (const void *data, size_t size) |
FrameRef | inflate (Frame &instance) |
FrameRef | inflate (FrameRef ref) |
FrameRef | convert_32bit_to_8bit (size_t targetSize, const void *data) |
FrameRef | convert_16bit_to_8bit (size_t targetSize, const void *data) |
FrameRef | convertTo8bitGrayscaleData (size_t texSize, const void *data) |
FrameRef | convertTo8bitGrayscaleData (int texWidth, int texHeight, const void *data) |
FrameRef | convertTo8bitGrayscaleData (int texWidth, int texHeight, FrameRef ref) |
std::function< FrameRef(const void *, size_t)> | grayscale8bitConverter (int texWidth, int texHeight) |
Generates converter lambda for specified width/height. More... | |
void | emptyBuffer (Buffer &buf, Frame::InputFunc func) |
void | emptyAndInflateBuffer (Buffer &buf, Frame::InputFunc func) |
int | wasKeyboardHit () |
void | Sleep (int millisecs) |
contains all classes and functions of the DepthStream library.
The DepthStream library provides tool for streaming (transmitteing and receiving) compressed image-data of a network.
typedef std::shared_ptr<Compressor> depth::CompressorRef |
typedef std::shared_ptr<Frame> depth::FrameRef |
typedef std::shared_ptr<Inflater> depth::InflaterRef |
typedef std::shared_ptr<Receiver> depth::ReceiverRef |
typedef std::shared_ptr<Transmitter> depth::TransmitterRef |
typedef std::shared_ptr<VideoStream> depth::VideoStreamRef |
FrameRef depth::compress | ( | const void * | data, |
size_t | size | ||
) |
Referenced by compress().
FrameRef depth::convert_16bit_to_8bit | ( | size_t | targetSize, |
const void * | data | ||
) |
FrameRef depth::convert_32bit_to_8bit | ( | size_t | targetSize, |
const void * | data | ||
) |
FrameRef depth::convertTo8bitGrayscaleData | ( | size_t | texSize, |
const void * | data | ||
) |
Referenced by convertTo8bitGrayscaleData(), and grayscale8bitConverter().
FrameRef depth::convertTo8bitGrayscaleData | ( | int | texWidth, |
int | texHeight, | ||
const void * | data | ||
) |
void depth::emptyAndInflateBuffer | ( | Buffer & | buf, |
Frame::InputFunc | func | ||
) |
void depth::emptyBuffer | ( | Buffer & | buf, |
Frame::InputFunc | func | ||
) |
Referenced by emptyAndInflateBuffer().
std::function<FrameRef(const void*, size_t)> depth::grayscale8bitConverter | ( | int | texWidth, |
int | texHeight | ||
) |
Generates converter lambda for specified width/height.
FrameRef depth::inflate | ( | const void * | data, |
size_t | size | ||
) |
Referenced by depth::Inflater::decompress(), emptyAndInflateBuffer(), and inflate().
void depth::Sleep | ( | int | millisecs | ) |
Referenced by depth::Transmitter::serverThread(), and depth::Receiver::threadFunc().
int depth::wasKeyboardHit | ( | ) |