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:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

Definition at line 373 of file Config.h.

Public Types

 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
 COMPRESS_NONE
 no compression (other than subsampling)
 COMPRESS_JPEG
 JPEG compression.
 COMPRESS_PNG
 PNG compression.
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_tencoding
 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_tcompression
 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

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

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


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

Tekkotsu v3.0
Generated Fri May 11 20:07:54 2007 by Doxygen 1.4.7