Commit Graph

1421 Commits

Author SHA1 Message Date
Marc-André Moreau
845d6ead55 libfreerdp-codec: fix color pointer conversion 2011-12-31 15:23:29 -05:00
Marc-André Moreau
576429e1b6 Merge pull request #321 from atong-tcs/rdpdr
rdpdr/disk: fix file deletes
2011-12-31 11:08:48 -08:00
Anthony Tong
40cfa9bfc8 rdpdr/disk: fix file deletes
- FileDispositionInfo implies delete_pending, if buffer is empty
2011-12-31 13:03:00 -06:00
Marc-André Moreau
25da218d6a libfreerdp-cache: fix handling of cached brushes 2011-12-31 12:06:09 -05:00
Marc-André Moreau
e95dcc4c5e libfreerdp-core: fix decompression of color brushes 2011-12-30 14:23:47 -05:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Marc-André Moreau
cd6d3c0076 Merge pull request #315 from dorianj/master
drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
2011-12-29 09:42:10 -08:00
Marc-André Moreau
f879bdc66d Merge pull request #318 from nfedera/rgb_to_ycbcr_speedup
codec: RemoteFX YCbCr/RGB conversion optimization
2011-12-29 09:41:47 -08:00
Norbert Federa
d3a801db6c codec: RemoteFX YCbCr/RGB conversion optimization
Replaced the non-accelerated rgb to ycbcr encoder (rfx_encode.c) to use 32-bit
integer multiplication with shifted factors: 2 times faster

The accelerated SSE2 rgb to ycbcr encoder (rfx_sse2.c) was completely changed
and simplified in order to make use of the SSE2 signed 16-bit integer
multiplication: 2 times faster

Also modified the non-accelerated ycbcr to rgb decoder (rfx_encode.c) to use
32-bit integer multiplications with shifted factors instead of floating point
multiplications: 3 times faster
2011-12-29 18:01:20 +01:00
Vic Lee
522bd24d19 xfreerdp: fix trivial compile warnings. 2011-12-29 21:26:34 +08:00
Dorian Johnson
39752fa014 drdynvc: dvcman_load_plugin load multiple drdynvc plugins 2011-12-27 16:06:57 -06:00
Dorian Johnson
e303867528 drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
Allows one to config both decoder and audio simultaneously
2011-12-27 13:57:40 -06:00
Marc-André Moreau
2cd52d34cf Merge pull request #314 from nfedera/ycbcr_to_rgb_fix_and_sse2_speedup
codec: fixed and accelerated RemoteFX ycbcr-to-rgb decoder
2011-12-27 08:35:25 -08:00
Marc-André Moreau
62515cb028 Merge pull request #313 from dorianj/master
drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading
2011-12-27 07:58:50 -08:00
Dorian Johnson
6dae926d86 drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading 2011-12-27 09:55:00 -06:00
Marc-André Moreau
882880d0c9 Merge pull request #312 from atong-tcs/master
xfreerdp: create all X11 atoms used for safety
2011-12-27 07:39:05 -08:00
Anthony Tong
6ef9d6da30 xfreerdp: create all X11 atoms used for safety 2011-12-27 09:26:20 -06:00
Norbert Federa
04518f0b42 codec: fixed and accelerated RemoteFX ycbcr-to-rgb decoder
The current ycbcr decoder was loosing some bits because cr/cb was multiplied by
the shifted factors.
Instead one should multiply by the non-shifted factors and shift the result.
The effects of these lost bits are easily seen by comparing the colors of a
RemoteFX session with the colors of a plain RDP session - they are just wrong ;)

I've replaced the bit-magic from the non non-accelerated version (rfx_decode.c)
and replaced it with simple float multiplications using the compiler's implicit
integer conversions. On several test machines this was even a little bit faster.

The accelerated SSE2 ycbcr decoder (rfx_sse2.c) was completely changed in order
to make use of the SSE2 signed 16-bit integer multiplication.
Fortunately the factors in the conversion matrix are so small that we can
easily shift them to the maximum possible 16-bit signed integer value without
loosing any information and use _mm_mulhi_epi16 which takes the upper 16 bits
of the 32-bit result.

The SSE2 ycbcr decoder is now much simpler and about 40 percent faster.
2011-12-27 16:18:02 +01:00
Otavio Salvador
c5a2cf3035 Merge pull request #310 from llyzs/ostype
libfreerdp-core: move os type settings to the client.
2011-12-24 03:32:09 -08:00
Vic Lee
0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
Anthony
e411f1cab8 Merge pull request #307 from absmall/master
Fix crash when connecting using smartcard authentication
2011-12-22 13:00:34 -08:00
Aaron Small
7ec1b56e42 Fix crash when connecting using smartcard 2011-12-22 14:23:08 -05:00
Marc-André Moreau
c8993296d0 Merge pull request #306 from dorianj/master
xfreerdp: create _NET_WM_ICON atom if not already exist
2011-12-22 10:26:38 -08:00
Dorian Johnson
5d825990f2 xfreerdp: create _NET_WM_ICON atom if not already exist
fixes crash on MacOS X and systems without WM.

some of the other XInternAtom calls should probably be changed to
False, but they don't appear to cause crashes
2011-12-22 12:01:29 -06:00
Marc-André Moreau
596f88e6b2 Merge pull request #301 from atong-tcs/master
xfreerdp: patblt fix, set stipple before drawing the rect
2011-12-21 17:21:01 -08:00
Marc-André Moreau
537e831197 Merge pull request #302 from dorianj/master
freerdp-channels: freerdp_channels_send_event free event in case of error
2011-12-21 17:19:48 -08:00
Dorian Johnson
b38d829342 freerdp-libchannels: freerdp_channels_send_event free event in case of error
fix for #257. Routine is already taking ownership of the passed event; thus it should free it in case of error.
2011-12-21 17:54:27 -06:00
Anthony Tong
b455455365 xfreerdp: patblt fix, set stipple before drawing the rect 2011-12-21 18:51:22 -05:00
Marc-André Moreau
ee7f80d021 Merge pull request #300 from sunds/master
Patch for #297 - inverted colormap
2011-12-21 15:18:53 -08:00
David Sundstrom
622375cef2 Detect when sever visual has an inverted color map and invert all color conversions.
Remote spurious printf() in code
2011-12-21 17:00:09 -06:00
David Sundstrom
50dcc1138a Fix SEGV for X servers without XKB extension. 2011-12-21 16:58:56 -06:00
Marc-André Moreau
3ad37ad461 Merge pull request #299 from dorianj/master
freerdp-cliprdr: Fix parsing of long-style format lists
2011-12-21 14:05:42 -08:00
Dorian Johnson
8a0ac1f3b7 Merge remote-tracking branch 'upstream/master' 2011-12-21 16:03:53 -06:00
Dorian Johnson
69ed9290c7 freerdp-cliprdr: Fix parsing of long-style format lists
Long-style format lists use variable length utf-16le names, but parser was treating the chunks as short-style 32-byte chunks, causing various issues
2011-12-21 16:02:53 -06:00
Marc-André Moreau
dcd1cff4c2 Merge pull request #298 from atong-tcs/master
server redirection
2011-12-21 12:14:37 -08:00
Anthony Tong
a65e562411 libfreerdp-core: fix server redirection when using rdp security 2011-12-21 14:59:31 -05:00
Marc-André Moreau
04d78066fd Merge pull request #296 from atong-tcs/master
fix previous pull (--dbg-x11)
2011-12-21 10:32:07 -08:00
Anthony Tong
5e98558ea0 xfreerdp: missed a commit for --dbg-x11 2011-12-21 13:05:48 -05:00
Marc-André Moreau
6cae1e9d6b Merge pull request #295 from atong-tcs/master
xfreerdp x11 debugging mode
2011-12-21 09:55:39 -08:00
Anthony Tong
a63e81581d xfreerdp: add --dbg-x11 which may help debugging 2011-12-21 12:50:22 -05:00
Marc-André Moreau
b4030bc4fd Merge pull request #292 from louyihua/master
libfreerdp-core & libfreerdp-utils: some fixes under win32
2011-12-20 16:55:22 -08:00
louyihua
d095c2398e libfreerdp-utils: fix a handle leak while creating threads under win32 2011-12-21 08:50:47 +08:00
louyihua
95b03f96ef libfreerdp-core: avoid macro redefinition under win32 2011-12-21 08:48:13 +08:00
Marc-André Moreau
d5c25196bc Merge pull request #291 from louyihua/master
wfreerdp: enable SSE2 acceleration under Visual C++
2011-12-20 16:35:43 -08:00
louyihua
32ff6a0b69 wfreerdp: enable SSE2 acceleration for RemoteFX under Visual C++ 2011-12-21 08:32:04 +08:00
Marc-André Moreau
d9e5832061 Merge pull request #290 from dorianj/master
libfreerdp-gdi: disable Glyph_Draw printf message
2011-12-20 16:05:17 -08:00
Dorian Johnson
e6aab94788 libfreerdp-gdi: disable Glyph_Draw printf message 2011-12-20 16:43:16 -06:00
Marc-André Moreau
77bbd18d5c libfreerdp-core: fix input callback registration for slow-path input 2011-12-20 14:51:44 -05:00
Marc-André Moreau
216947a330 libfreerdp-core: disable fastpath output if server does not support it 2011-12-20 14:42:22 -05:00
Marc-André Moreau
39e4d1a092 libfreerdp-core: cleanup of fastpath input flags processing 2011-12-20 12:09:53 -05:00