Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::vision_config::RawCamConfig Class Reference

contains settings specific to the "RawCam" (original camera images) for streaming video over the network More...

#include <Config.h>

Inheritance diagram for Config::vision_config::RawCamConfig:

Detailed Description

contains settings specific to the "RawCam" (original camera images) for streaming video over the network

Definition at line 412 of file Config.h.

List of all members.

Public Types

enum  compression_t { COMPRESS_NONE, COMPRESS_JPEG, COMPRESS_PNG }
 

compression format to use, stored in Config::vision_config::RawCamConfig::compression

More...

Public Member Functions

 RawCamConfig ()

Public Attributes

plist::NamedEnumeration
< Config::vision_config::encoding_t
encoding
 type of information to send, stored in encoding
plist::Primitive< int > channel
 RawCameraGenerator::channel_id_t, if encoding is single channel, this indicates the channel to send.
plist::NamedEnumeration
< compression_t
compression
 holds whether to send jpeg compression
plist::Primitive< unsigned int > compress_quality
 0-100, compression quality (currently only used by jpeg)
plist::Primitive< unsigned int > y_skip
 resolution level to transmit y channel at
plist::Primitive< unsigned int > uv_skip
 resolution level to transmit uv channel at

Static Public Attributes

static const unsigned int NUM_COMPRESSIONS = 4
 number of compression algorithms available
static const char * compression_names [NUM_COMPRESSIONS+1] = { "none", "jpeg", NULL }
 string names for compression_t

Member Enumeration Documentation

compression format to use, stored in Config::vision_config::RawCamConfig::compression

Enumerator:
COMPRESS_NONE 

no compression (other than subsampling)

COMPRESS_JPEG 

JPEG compression.

COMPRESS_PNG 

PNG compression.

Definition at line 430 of file Config.h.


Constructor & Destructor Documentation

Config::vision_config::RawCamConfig::RawCamConfig (  ) 

Definition at line 414 of file Config.h.


Member Data Documentation

0-100, compression quality (currently only used by jpeg)

Definition at line 439 of file Config.h.

Referenced by JPEGGenerator::calcImage(), and RawCamConfig().

const char * Config::vision_config::RawCamConfig::compression_names = { "none", "jpeg", NULL } [static]

string names for compression_t

Definition at line 436 of file Config.h.

number of compression algorithms available

Definition at line 435 of file Config.h.

resolution level to transmit uv channel at

Definition at line 441 of file Config.h.

Referenced by JPEGGenerator::calcImage(), RawCam::getSourceLayer(), RawCamConfig(), and RawCam::writeColor().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3