|
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_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
|