aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* 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
* A fix to handle line endings properly.Constantin Kaplinsky2007-04-112-203/+203
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2255 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated gcc compilation warning.Constantin Kaplinsky2007-04-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2254 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replaced call to Win32-specific stricmp() function with strcasecmp().Constantin Kaplinsky2007-04-111-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2253 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial implementation of continuous updates in the server code. This code ↵Constantin Kaplinsky2007-04-059-2/+121
| | | | | | does not handle framebuffer size changes properly yet. Also, the server does not send the client EndOfContinuousUpdates message yet (documented in doc/rfbproto.tex). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2251 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added ScaleFilters::getFilterIdByName() method and defaultScaleFilter parameter.george822007-03-272-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2242 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the routines for manipulation the scale filter method. It allow change thegeorge822007-03-202-0/+17
| | | | | | | scale filter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2241 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the bug with crashing vncviewer when it works in the george822007-03-104-22/+29
| | | | | | | scaling mode and scale < 10%. Scale part of vncviewer code improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2232 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reverted the changes appeared in revisions 2173,2181. We better always send ↵Constantin Kaplinsky2006-12-081-12/+16
| | | | | | the "security result" message in the protocol version 3.8, even after an empty list of authentication capabilities. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2189 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected support for TightVNC extensions - always sending authentication ↵Constantin Kaplinsky2006-12-051-17/+12
| | | | | | capability list even when authentication is not required. This may be incompatible with certain TightVNC viewers but this is the way to allow "no authentication" AND prompting local user to accept/reject incoming connection. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2181 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reordered initializers in ScaledPixelBuffer constructors to eliminate ↵Constantin Kaplinsky2006-12-051-5/+5
| | | | | | compilation warnings produced by gcc. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2178 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated make file for building under *nix.Constantin Kaplinsky2006-12-051-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2177 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved the performance of the remote desktop scaling.george822006-12-041-5/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2176 3789f03b-4d11-0410-bbf8-ca57d06f2519