diff options
author | Pierre Ossman <ossman@cendio.se> | 2009-03-05 11:57:11 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2009-03-05 11:57:11 +0000 |
commit | 02e43d78bf13276ef18fd542167e1ca26830a2f4 (patch) | |
tree | 9e4c69ff64d17ee9b85ec5e2c300ce704453ecaa /common/rfb/SMsgWriter.h | |
parent | b39ace5b32d5a52280198bef0e8bd8a6c5edacba (diff) | |
download | tigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.tar.gz tigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.zip |
Remove the "video" feature and its associated custom JPEG handling.
Having the client specifiy the video region is conceptually wrong
and a problem like this should be handled by better encoding selection.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3635 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/SMsgWriter.h')
-rw-r--r-- | common/rfb/SMsgWriter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/rfb/SMsgWriter.h b/common/rfb/SMsgWriter.h index 959f865d..bab9a1a2 100644 --- a/common/rfb/SMsgWriter.h +++ b/common/rfb/SMsgWriter.h @@ -37,7 +37,6 @@ namespace rfb { class ColourMap; class Region; class UpdateInfo; - class JpegEncoder; class WriteSetCursorCallback { public: @@ -133,9 +132,6 @@ namespace rfb { virtual void writeCopyRect(const Rect& r, int srcX, int srcY); - virtual bool canUseJpegEncoder(PixelBuffer *pb) const; - virtual void writeJpegRect(PixelBuffer *pb, const Rect& r); - virtual void startRect(const Rect& r, unsigned int enc)=0; virtual void endRect()=0; @@ -161,14 +157,12 @@ namespace rfb { rdr::OutStream* os; Encoder* encoders[encodingMax+1]; - JpegEncoder* jpegEncoder; int lenBeforeRect; unsigned int currentEncoding; int updatesSent; int bytesSent[encodingMax+1]; int rectsSent[encodingMax+1]; int rawBytesEquivalent; - // FIXME: Gather statistics for JpegEncoder as well. rdr::U8* imageBuf; int imageBufSize; |