diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-03-14 15:59:46 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-14 16:03:42 +0200 |
commit | c0397269fcab67e9acd4fdcbc29f24d79ed0ef39 (patch) | |
tree | 41ac251e5a595a37b832a61626723a89258bb018 /common/rfb/SMsgWriter.h | |
parent | a088f1ab3923482998174b9db8949cf06d0761af (diff) | |
download | tigervnc-c0397269fcab67e9acd4fdcbc29f24d79ed0ef39.tar.gz tigervnc-c0397269fcab67e9acd4fdcbc29f24d79ed0ef39.zip |
Move image encoding logic into a central EncodeManager class
This allows us to apply a lot more server logic
independently of which encoder is in use.
Most of this class are things moved over from the
Tight encoder.
Diffstat (limited to 'common/rfb/SMsgWriter.h')
-rw-r--r-- | common/rfb/SMsgWriter.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/rfb/SMsgWriter.h b/common/rfb/SMsgWriter.h index e9fc5a47..deddd3cd 100644 --- a/common/rfb/SMsgWriter.h +++ b/common/rfb/SMsgWriter.h @@ -109,15 +109,11 @@ namespace rfb { void startRect(const Rect& r, int enc); void endRect(); - rdr::U8* getImageBuf(int required, int requested=0, int* nPixels=0); - int getUpdatesSent() { return updatesSent; } int getRectsSent(int encoding) { return rectsSent[encoding]; } int getBytesSent(int encoding) { return bytesSent[encoding]; } rdr::U64 getRawBytesEquivalent() { return rawBytesEquivalent; } - int imageBufIdealSize; - protected: void startMsg(int type); void endMsg(); @@ -159,9 +155,6 @@ namespace rfb { int rectsSent[encodingMax+1]; rdr::U64 rawBytesEquivalent; - rdr::U8* imageBuf; - int imageBufSize; - typedef struct { rdr::U16 reason, result; int fb_width, fb_height; |