1 #ifndef __BIASVIDEOSOURCE_NET_HH__
2 #define __BIASVIDEOSOURCE_NET_HH__
4 #include <bias_config.h>
5 #include <Base/Common/BIASpragmaStart.hh>
9 #include <VideoSource/VideoSource_Base.hh>
11 #include <NetworkComm/CScommClient.hh>
15 #ifdef BIAS_HAVE_LIBJPEG
16 # include <Base/Image/CompressJpeg.hh>
17 #endif //BIAS_HAVE_LIBJPEG
45 virtual int OpenDevice(
const char* serverName);
48 virtual int OpenDevice(
const std::string &serverName,
49 int port=D_CS_DEFAULT_PORT);
52 virtual int OpenDevice(
int port=D_CS_DEFAULT_PORT);
70 #ifdef BIAS_HAVE_LIBJPEG
73 #endif //BIAS_HAVE_LIBJPEG
80 #include <Base/Common/BIASpragmaEnd.hh>
Wrapper for fast libjpeg methods.
Defines a common interface to different devices.
BIAS::Image< unsigned char > jpegImg_
class for sending/receiving data between clients and servers
std::stringstream * pImgBuffer_
virtual ~VideoSource_Net()
This class implements a video streaming client using TCP.
This is the base class for images in BIAS.
JpegHandler Decompressor_