Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::vision_config::RawCamConfig Class Reference

#include <Config.h>

Inheritance diagram for Config::vision_config::RawCamConfig:

List of all members.


Detailed Description

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

Definition at line 386 of file Config.h.


Public Types

enum  encoding_t { ENCODE_COLOR, ENCODE_SINGLE_CHANNEL }
 type of information to send, stored in encoding More...
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
< encoding_t
encoding
 holds whether to send color or single channel
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< int > compress_quality
 0-100, compression quality (currently only used by jpeg)
plist::Primitive< int > y_skip
 resolution level to transmit y channel at
plist::Primitive< int > uv_skip
 resolution level to transmit uv channel at

Static Public Attributes

static const unsigned int NUM_ENCODINGS = 2
 number of encodings available
static const char * encoding_names [NUM_ENCODINGS+1] = { "color", "grayscale", "" }
 string names for encoding_t
static const unsigned int NUM_COMPRESSIONS = 4
 number of compression algorithms available
static const char * compression_names [NUM_COMPRESSIONS+1] = { "none", "jpeg", "" }
 string names for compression_t

Member Enumeration Documentation

type of information to send, stored in encoding

Enumerator:
ENCODE_COLOR  send Y, U, and V channels
ENCODE_SINGLE_CHANNEL  send only a single channel (which channel to send is stored in channel) This is also used for all seg cam images

Definition at line 399 of file Config.h.

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 409 of file Config.h.


Constructor & Destructor Documentation

Config::vision_config::RawCamConfig::RawCamConfig (  )  [inline]

Definition at line 388 of file Config.h.


Member Data Documentation

const unsigned int Config::vision_config::RawCamConfig::NUM_ENCODINGS = 2 [static]

number of encodings available

Definition at line 403 of file Config.h.

const char * Config::vision_config::RawCamConfig::encoding_names = { "color", "grayscale", "" } [static]

string names for encoding_t

Definition at line 404 of file Config.h.

number of compression algorithms available

Definition at line 414 of file Config.h.

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

string names for compression_t

Definition at line 415 of file Config.h.

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

Definition at line 418 of file Config.h.

Referenced by JPEGGenerator::calcImage().

resolution level to transmit uv channel at

Definition at line 420 of file Config.h.

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


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:13 2007 by Doxygen 1.5.4