Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <VisionSerializer.h>
Inheritance diagram for VisionSerializer:
Definition at line 9 of file VisionSerializer.h.
Public Member Functions | |
VisionSerializer () | |
constructor | |
void | serialize () |
encodes and sends current frame | |
Private Member Functions | |
void | encodeVisionRaw (char *buf, CMVision::image_yuv< const uchar > &img, int scale) |
encodes the original camera image | |
void | encodeVisionRLE (char *buf, int num_runs, run *runs) |
encodes the RLE processed image | |
char * | encodeVisionRun (char *buf, run *run) |
helper function for encodeVisionRLE, encodes one run length | |
VisionSerializer (const VisionSerializer &) | |
don't call | |
VisionSerializer & | operator= (const VisionSerializer &) |
don't call | |
Private Attributes | |
Socket * | visRaw |
socket to which raw vision images should be sent | |
Socket * | visRLE |
socket to which RLE images shoudl be sent |
|
constructor
Definition at line 35 of file VisionSerializer.cc. References config, Wireless::listen(), Config::vision_config::raw_port, Config::vision_config::rle_port, Wireless::socket(), Config::vision, visRaw, visRLE, and wireless. |
|
don't call
|
|
encodes the original camera image
Definition at line 77 of file VisionSerializer.cc. |
|
encodes the RLE processed image
Definition at line 99 of file VisionSerializer.cc. References Serializer::encode(), and encodeVisionRun(). |
|
helper function for encodeVisionRLE, encodes one run length
Definition at line 69 of file VisionSerializer.cc. |
|
don't call
|
|
encodes and sends current frame
Definition at line 43 of file VisionSerializer.cc. References encodeVisionRaw(), encodeVisionRLE(), Socket::getWriteBuffer(), Vision::img, Vision::num_runs, Vision::rmap, vision, visRaw, visRLE, and Socket::write(). |
|
socket to which raw vision images should be sent
Definition at line 26 of file VisionSerializer.h. |
|
socket to which RLE images shoudl be sent
Definition at line 27 of file VisionSerializer.h. |
Tekkotsu v1.4 |
Generated Sat Jul 19 00:09:14 2003 by Doxygen 1.3.2 |