Commit Graph

1409 Commits

Author SHA1 Message Date
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
Marc-André Moreau
3fb8e8fb58 libfreerdp-core: set code page 2011-12-19 20:52:22 -05:00
Marc-André Moreau
15a2567e87 libfreerdp-core: handle omission of bitmap compression header 2011-12-19 20:31:37 -05:00
Marc-André Moreau
0914eb071e libfreerdp-core: fix sending large pointer caps twice 2011-12-18 17:11:24 -05:00
Marc-André Moreau
135503612d libfreerdp-core: fix race condition in connection finalization 2011-12-18 15:15:48 -05:00
Marc-André Moreau
b913b1d1b8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-12-18 12:11:05 -05:00
Vic Lee
3b3660898d server: fix pdu processing during reactivation. 2011-12-19 01:15:27 +08:00
Marc-André Moreau
30e8b63ab6 libfreerdp-core: fix sending of extended data blocks when supported only 2011-12-18 12:10:56 -05:00
Vic Lee
b7a46c4bf0 printer: support flexible document format (#211) 2011-12-17 17:28:48 +08:00
Marc-André Moreau
27a7f866ef Merge pull request #283 from floppym/manpage
xfreerdp: Correct manpage description of numeric values passed via the -...
2011-12-16 19:51:20 -08:00
Mike Gilbert
53c902cea7 xfreerdp: Correct manpage description of numeric values passed via the -x parameter 2011-12-16 22:48:06 -05:00
Marc-André Moreau
bb621876a0 Merge pull request #282 from sunds/master
Compile error on Solaris, minor RAIL local move redraw issues
2011-12-16 15:49:43 -08:00
David Sundstrom
49303c8969 Fix compile error on Solaris
Fix few small issues with local move race conditions
Add missing --gdi option to command-line help
2011-12-16 15:10:07 -06:00