diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-17 02:27:59 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-17 02:27:59 +0000 |
commit | ffe09d68f578f6765ed73f3b2bf9d4ea37a0b66b (patch) | |
tree | 35a2d8caf9c4393a894b39a3f1e3a6a3748f02a2 /common/rfb/JpegCompressor.h | |
parent | 4c44600b9b8c0ca5b5bf078470cdc4c1b4fc2c48 (diff) | |
download | tigervnc-ffe09d68f578f6765ed73f3b2bf9d4ea37a0b66b.tar.gz tigervnc-ffe09d68f578f6765ed73f3b2bf9d4ea37a0b66b.zip |
Further optimizations to the Tight encoder to eliminate getImage() overhead. The encoder now directly accesses the framebuffer for solid rectangle computation, JPEG encoding, and color counting (if pixel translation is not required.) Also moved everything in tightEncode.h into the TightEncoder class to eliminate all of the static mess (this will be important later on if we decide to multi-thread the encoder.)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4631 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/JpegCompressor.h')
-rw-r--r-- | common/rfb/JpegCompressor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/JpegCompressor.h b/common/rfb/JpegCompressor.h index 5a9c2fd5..6860b415 100644 --- a/common/rfb/JpegCompressor.h +++ b/common/rfb/JpegCompressor.h @@ -63,7 +63,7 @@ namespace rfb { JpegCompressor(int bufferLen = 128*1024); virtual ~JpegCompressor(); - void compress(rdr::U8 *, const Rect&, const PixelFormat&, int, + void compress(rdr::U8 *, int, const Rect&, const PixelFormat&, int, JPEG_SUBSAMP); void writeBytes(const void*, int); |