summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | [Cleanup] Fixed a compilation warning by removing a very doubtful optimization.Constantin Kaplinsky2008-08-211-6/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2696 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | [Bugfix] When pixel comparison to reduce unnecessary updates was performed,Constantin Kaplinsky2008-08-211-1/+3
| | | | | | | | | | | | | | its results were not saved, unnecessary updates were sent to clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2695 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | VideoPriority parameter was set to 0 by default, now it defaults to 2.Constantin Kaplinsky2008-08-211-1/+1
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2694 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | VideoArea parameter is fully respected. The server treats the specified ↵Constantin Kaplinsky2008-08-211-1/+4
| | | | | | | | | | | | rectangle as video unless the client selected some different rectangle via the VideoRectangleSelection protocol message. When the client discards selection, the server will use VideoArea setting again. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2693 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Passing VideoArea parameter to VNCServerST object. VNCServerST saves theConstantin Kaplinsky2008-08-212-0/+7
| | | | | | | | | | | | | | | | rectangle but does not use it yet. does not do anything more. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2692 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Handling VideoRectangleSelection protocol message (TightVNC extension).Constantin Kaplinsky2008-06-147-2/+50
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2585 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Restored the functionality of the VideoPriority parameter. This time, itConstantin Kaplinsky2008-06-136-1/+39
| | | | | | | | | | | | | | | | | | should work correctly even over slow networks, when update requests go less frequently than polling cycles. This version does not give any special meaning to the value 0, it is equivalent to 1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2584 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Removed support for continuous updates, a TightVNC-specific RFB protocolConstantin Kaplinsky2008-06-058-81/+0
| | | | | | | | | | | | | | | | | | extension. That extension used to send framebuffer updates continuously, not waiting for clients' requests. However, it showed bad results with low-bandwidth connections, due to lack of proper data flow control. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2581 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Improved error handling: if JpegCompressor could not compress the data,Constantin Kaplinsky2008-06-051-1/+9
| | | | | | | | | | | | | | switch to StandardJpegCompressor and try to compress once again. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2580 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Don't use one va_list variable twice in vsnprintfAdam Tkac2008-06-031-3/+10
| | | | | | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2570 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Using proper logging in SMsgReader class. Reporting details on receiving ↵Constantin Kaplinsky2008-04-241-3/+10
| | | | | | | | | | | | VideoRectangleSelection messages. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2560 3789f03b-4d11-0410-bbf8-ca57d06f2519
* | Support for VideoRectangleSelection client message in the server code. The ↵Constantin Kaplinsky2008-04-249-3/+55
|/ | | | | | message is read but ignored (only a message will be written to stderr). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2559 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added some missing #includes whose prevent build source with gcc 4.3Adam Tkac2008-03-192-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2431 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Protect common/zlib/configure parameter processing against infinite loopAdam Tkac2008-03-191-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2430 3789f03b-4d11-0410-bbf8-ca57d06f2519
* IrixDMJpegCompressor is now preferred to IrixCLJpegCompressor. Debugging ↵Constantin Kaplinsky2007-12-202-29/+23
| | | | | | behavior was either removed or made dependent on the DEBUG_FORCE_CL define. This define allows testing of Irix CL software-only JPEG compressor which normally would not be used. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2377 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Functional version of IrixCLJpegCompressor. This commit includes ↵Constantin Kaplinsky2007-12-193-16/+132
| | | | | | modifications used to test this class without hardware compressors available via Irix CL. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2376 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added IrixCLJpegCompressor class which will support JPEG compression via the ↵Constantin Kaplinsky2007-12-134-930/+4143
| | | | | | Irix Compression Library. This version of IrixCLJpegCompressor is just a stub. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2375 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do not use JPEG if not requested by the client.Constantin Kaplinsky2007-12-071-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2374 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changing JPEG compression levels did not have immediate effect.Constantin Kaplinsky2007-12-071-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2373 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Various improvements in the IrixDMJpegCompressor class. Member functions ↵Constantin Kaplinsky2007-12-072-12/+12
| | | | | | have been declared virtual. The setQuality() function allows compression levels in the range [1..99] now, and calls IrixDMIC_RawToJpeg::setImageQuality() when necessary. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2372 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Small code improvements - added check for scale buffer in ↵george822007-11-051-1/+1
| | | | | | ScaledPixelBuffer::setScaleFilter(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2367 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed the possibility to choose the scale filter in the options dialog of ↵george822007-11-051-2/+2
| | | | | | vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2366 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the improvements of the ScaledPixelBuffer class - increased scaled ↵george822007-11-053-10/+16
| | | | | | image quality when scale < 100%. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2365 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Powerful ScaledPixelBuffer class code improvements - at 10x increased scale ↵george822007-11-042-36/+67
| | | | | | | | | performance due to using the row accumulators. The row accumulators keep result of the convolution of the source image by y axis. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2364 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added implementation of the remote desktop scaling on basis of integergeorge822007-10-283-17/+30
| | | | | | computing. It allow to double the scaling performance. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2363 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the small mistake - set the scale parameter ingeorge822007-10-281-2/+2
| | | | | | | rfb::ScaledPixelBuffer class constructor. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2362 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using JpegEncoder for video only with proper pixel formats.Constantin Kaplinsky2007-10-175-17/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2361 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes in mapping of JPEG quality levels. Minor code cleanups.Constantin Kaplinsky2007-10-103-10/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2360 3789f03b-4d11-0410-bbf8-ca57d06f2519
* In IRIX, if we could not find a matching DMIC converter, list all available ↵Constantin Kaplinsky2007-10-102-1/+43
| | | | | | converters in the log. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2359 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added support for new UseHardwareJPEG parameter ("Use hardware-accelerated ↵Constantin Kaplinsky2007-10-102-3/+30
| | | | | | JPEG compressor for video if available") which is 'true' by default. Also, in IRIX, if IrixDMJpegCompressor fails to initialize, we use StandardJpegCompressor instead. This way, video will be transmitted even if we could not open hardware JPEG compressor. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2358 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed two obsolete FIXME comments.Constantin Kaplinsky2007-10-101-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2357 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replaced printf(...) and fprintf(stderr, ...) with proper logging.Constantin Kaplinsky2007-10-101-5/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2356 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor code cleanup to decrease the amount of compilation warnings in Fedora ↵Constantin Kaplinsky2007-09-051-0/+1
| | | | | | Core 6. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2339 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a compilation problem under Fedora Core 6. Now the rfb library uses ↵Constantin Kaplinsky2007-09-051-1/+2
| | | | | | external strcasecmp() and strncasecmp() functions if provided by the system. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2337 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with copying discontinuous pixel data to IRIX JPEG ompressor.Constantin Kaplinsky2007-09-043-2/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2335 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using hardware-accelerated version of JpegEncoder under IRIX.Constantin Kaplinsky2007-09-041-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2334 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sending updates for "video area".Constantin Kaplinsky2007-09-033-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2331 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Passing image quality level to JpegEncoder.Constantin Kaplinsky2007-09-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2330 3789f03b-4d11-0410-bbf8-ca57d06f2519
* In SMsgWriter, added the ability to send a video rectangle via JpegEncoder.Constantin Kaplinsky2007-08-312-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2329 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A typo fixed in a comment.Constantin Kaplinsky2007-08-311-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2328 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Special handling of a rectangular video area in the UpdateTracker and ↵Constantin Kaplinsky2007-08-317-9/+72
| | | | | | derived/related classes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2327 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor code cleanup - changed a variable name.Constantin Kaplinsky2007-08-311-13/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2326 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code cleanups. The most important change is that we now always use ↵Constantin Kaplinsky2007-08-313-21/+39
| | | | | | UpdateTracker's getUpdateInfo() and never call get_changed(), get_copied() and get_delta() member functions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2325 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Unused function commented out.Constantin Kaplinsky2007-08-312-3/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2324 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Makefile updated to include JpegEncoder.Constantin Kaplinsky2007-08-021-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2323 3789f03b-4d11-0410-bbf8-ca57d06f2519
* JpegEncoder implemented. It compresses full-color pixel data with JPEG ↵Constantin Kaplinsky2007-08-023-0/+138
| | | | | | sub-encoding of Tight encoding. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2322 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added new files to the project.Constantin Kaplinsky2007-07-281-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2321 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added JpegCompressor abstract class and two implementations -- one ↵Constantin Kaplinsky2007-07-249-54/+1032
| | | | | | cross-platform and another IRIX-specific. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2320 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed "Sinc" scale filter. It's has very low performance and not urgently ↵george822007-05-092-9/+1
| | | | | | for this project. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2303 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Now implemented manage the scale filters from the vncviewer options dialog.george822007-04-301-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2291 3789f03b-4d11-0410-bbf8-ca57d06f2519