1 #ifndef __BIAS_VideoTransmitter_HH__
2 #define __BIAS_VideoTransmitter_HH__
8 #include <bias_config.h>
10 #include <Base/Debug/Debug.hh>
11 #include <Base/Image/ImageIO.hh>
12 #include <Filter/Rescale.hh>
13 #include <Image/Camera.hh>
14 #include <VideoSource/VideoSource_Base.hh>
15 #include <NetworkComm/CScommServer.hh>
18 #ifdef BIAS_HAVE_LIBJPEG
19 #include <Base/Image/CompressJpeg.hh>
20 #include <Base/Image/ImageConvert.hh>
21 #endif // BIAS_HAVE_LIBJPEG
39 int Init(
int port=D_CS_DEFAULT_PORT);
44 jpeg_ = compressionLevel;
67 #ifdef BIAS_HAVE_LIBJPEG
69 #endif //BIAS_HAVE_LIBJPEG
Wrapper for fast libjpeg methods.
int * CompressionQuality_
std::ostringstream SendBuffer_
unsigned int GetMessageSize()
class for sending/receiving data between clients and serversOnly registered msgs will be accepted at ...
std::string targetAddress_
void SetCompression(int compressionLevel=60)
class to send images to a client uses TCP or UDPServer,