Mike McDonald
62f4b0be2e
Modified code to honor the negotiated settings for 1) ENC_SALTED_CHECKSUM in the general capability set extraFlags field and 2) DRAW_ALLOW_SKIP_ALPHA in the bitmap capability set drawingFlags field.
2014-09-18 19:31:06 -04:00
Marc-André Moreau
527638c691
shadow: delay subsystem initialization for monitor enumeration
2014-09-18 13:06:49 -04:00
Marc-André Moreau
6afd621d4c
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
server/Mac/mf_audin.c
server/Mac/mf_event.c
server/Mac/mf_info.c
server/Mac/mf_mountain_lion.c
server/Mac/mf_peer.c
server/Mac/mf_rdpsnd.c
server/Mac/mfreerdp.c
server/shadow/CMakeLists.txt
2014-09-17 20:15:01 -04:00
Marc-André Moreau
24c8e0c4b5
libfreerdp-gdi: fix clipping of bitmap update
2014-09-17 19:55:39 -04:00
Marc-André Moreau
02c1bf14ce
libfreerdp-gdi: fix gdi_init
2014-09-17 19:44:59 -04:00
Marc-André Moreau
25f1073aa5
freerdp: fix build problems
2014-09-17 19:19:37 -04:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
60b2d7d603
libfreerdp-codec: fix warning in color conversion, fix color move
2014-09-17 18:43:42 -04:00
Marc-André Moreau
73471eb1f0
libfreerdp-gdi: fix 8bpp mode
2014-09-17 18:30:09 -04:00
Marc-André Moreau
1c646da826
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into shadow
2014-09-17 15:17:05 -04:00
Marc-André Moreau
3b02eccc06
libfreerdp-gdi: fix 16bpp internal buffer format
2014-09-17 14:55:52 -04:00
Marc-André Moreau
48b35be953
xfreerdp: fix X11 16bpp mode
2014-09-17 14:29:56 -04:00
Marc-André Moreau
fb4e5d352b
libfreerdp-codec: add proper 16bpp output format support
2014-09-17 12:17:41 -04:00
Armin Novak
f31eb52e46
Adding prefix in libfreerdp addin.c too.
2014-09-17 11:44:15 +02:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Mike McDonald
50cf0ee915
Modified per_read_integer to handle a length of 0 (which is seen when older RDP clients connect to the FreeRDP server)
2014-09-16 23:15:34 -04:00
Marc-André Moreau
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Marc-André Moreau
c40d8155a6
libfreerdp-gdi: fix SurfaceToSurface overlapping copies
2014-09-16 17:41:24 -04:00
Marc-André Moreau
1837c34e6e
libfreerdp-codec: add BGR support to egfx
2014-09-16 16:55:47 -04:00
Marc-André Moreau
b25258e8c6
libfreerdp-gdi: add support for ABGR plain colors
2014-09-15 16:28:53 -04:00
Marc-André Moreau
501386b790
libfreerdp-gdi: partial support for internal ABGR buffer format
2014-09-15 16:08:06 -04:00
Marc-André Moreau
abb841e533
libfreerdp-codec: add RGB/BGR color conversion to freerdp_image_copy
2014-09-15 14:59:45 -04:00
Armin Novak
7ea24ef6cb
Decreased logging verbosity.
2014-09-15 19:55:21 +02:00
Armin Novak
eead7733c8
Decreased logging verbosity.
2014-09-15 19:52:33 +02:00
Armin Novak
31c88013ca
Decreased logging verbosity.
2014-09-15 19:52:19 +02:00
Armin Novak
7ceddc73e9
Decreased logging verbosity.
2014-09-15 19:51:58 +02:00
Armin Novak
d178e33db5
Decreased logging verbosity.
2014-09-15 19:51:37 +02:00
Armin Novak
00d15d0a1b
Decreased logging verbosity.
2014-09-15 19:51:17 +02:00
Armin Novak
06b609062d
Removed remaining printf and DEBUG_* usages.
2014-09-15 09:01:05 +02:00
Armin Novak
a715e9ef50
Fixed compiler warnings.
2014-09-15 08:55:00 +02:00
Armin Novak
17fa410785
Fixed compiler warning.
2014-09-15 08:48:46 +02:00
Armin Novak
2f519d7f16
Replaced logging in libfreerdp with wlog defines.
2014-09-15 08:48:46 +02:00
Marc-André Moreau
06dc76bce2
shadow/mac: add initial screen capture support
2014-09-14 20:08:38 -04:00
Marc-André Moreau
b7351e0795
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into shadow
2014-09-13 12:04:02 -04:00
Marc-André Moreau
f693ff42d7
Merge pull request #2097 from awakecoding/egfx
...
GDI Bitmap Update Optimization
2014-09-12 15:12:52 -04:00
Marc-André Moreau
198f94fe03
libfreerdp-gdi: add RDP8 graphics pipeline support
2014-09-12 14:57:44 -04:00
Marc-André Moreau
efd9b8f7a9
libfreerdp-cache: fix 15bpp
2014-09-12 01:11:40 -04:00
Marc-André Moreau
7130b7064e
libfreerdp-gdi: fix bitmap caching
2014-09-12 01:03:19 -04:00
Marc-André Moreau
45d2bab95d
xfreerdp: optimize bitmap updates
2014-09-11 22:29:09 -04:00
Marc-André Moreau
a3cdcc1641
libfreerdp-gdi: fix and cleanup new bitmap update code
2014-09-11 20:46:15 -04:00
Marc-André Moreau
5b2a465ee6
libfreerdp-gdi: start optimizing gdi bitmap update
2014-09-11 20:12:32 -04:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Martin Fleisz
54b96290c9
Merge branch 'fix_2036' of git://github.com/akallabeth/FreeRDP into akallabeth-fix_2036
...
Conflicts:
libfreerdp/codec/test/TestFreeRDPCodecPlanar.c
libfreerdp/codec/test/TestFreeRDPCodecProgressive.c
libfreerdp/core/transport.c
libfreerdp/primitives/test/TestPrimitivesYCbCr.c
2014-09-11 13:03:01 +02:00
Vic Lee
af57056228
transport: exit transport loop when the session is activated.
2014-09-11 14:04:32 -07:00
Marc-André Moreau
e1e8da9490
shadow: add ability to share rectangle within monitor
2014-09-10 16:27:24 -04:00
Marc-André Moreau
89e5fef11f
wfreerdp: fix build on Windows
2014-09-10 11:38:38 -04:00
Armin Novak
f18a4b8252
Fixed winpr_HexDump calls in tests.
2014-09-10 08:48:49 +02:00
Marc-André Moreau
c71e4e18a1
libfreerdp-core: refactor codec context management
2014-09-10 00:42:41 -04:00
Marc-André Moreau
3d4fea7d8e
libfreerdp-primitives: fix YUV420 color conversion matrix
2014-09-09 19:18:07 -04:00
Marc-André Moreau
bcf1266f51
libfreerdp-primitives: integrate H264 SSE3 color converter
2014-09-09 19:15:07 -04:00
Marc-André Moreau
666919d157
Merge branch 'egfx_new' of https://github.com/erbth/FreeRDP into egfx
2014-09-09 18:04:55 -04:00
Marc-André Moreau
5c5eedc85b
libfreerdp-codec: allow error margin of 1 on YCbCr to RGB color decoding
2014-09-09 17:34:02 -04:00
Marc-André Moreau
372d4076d4
libfreerdp-codec: fix progressive decoding
2014-09-09 14:36:04 -04:00
Marc-André Moreau
1931dc546f
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
2014-09-09 13:45:08 -04:00
Marc-André Moreau
12ca7b3391
libfreerdp-primitives: update YCbCr test code
2014-09-09 13:44:57 -04:00
Armin Novak
6762d73ae1
Fixed winpr_HexDump calls.
2014-09-09 16:33:05 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
f8eae11bf3
Fixed calling of dump functions, updated API
2014-09-09 16:31:46 +02:00
erbth
2d6a59e34b
added some commits, I didn't understand my own code anymore
2014-09-09 12:34:08 +02:00
erbth
7828725413
YUV data conversion of H.264 implementation (egfx):
...
only convert invalid areas
SIMD SSSE3 conversion in primitives
compiling all primitives sources with optimization
and cleanup after last merge
2014-09-09 00:13:18 +02:00
Marc-André Moreau
a427a46ba5
libfreerdp-primitives: start porting tests to Windows
2014-09-08 16:24:43 -04:00
Marc-André Moreau
81454c1171
libfreerdp-primitives: add more YCbCr test coefficients
2014-09-08 15:47:03 -04:00
Marc-André Moreau
e21202ee61
libfreerdp-primitives: add per-pixel YCbCr test code
2014-09-08 15:16:03 -04:00
Marc-André Moreau
cc16ddea2d
libfreerdp-primitives: update YCbCr color converter
2014-09-08 12:28:35 -04:00
erbth
cbc8b3a7e1
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx_new
...
Conflicts:
channels/drdynvc/client/dvcman.c
include/freerdp/codec/h264.h
libfreerdp/codec/h264.c after this merge h264 doesn't work anymore!!
libfreerdp/utils/svc_plugin.c
2014-09-08 16:56:45 +02:00
erbth
fee370e4b2
YUV data conversion with SSSE3 using intrinsics
2014-09-08 16:29:01 +02:00
Marc-André Moreau
ad9092baf9
libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling
2014-09-07 15:40:36 -04:00
Marc-André Moreau
5b8fb70e8c
libfreerdp-codec: simplify and optimize planar raw rgb decoding
2014-09-07 14:08:29 -04:00
Marc-André Moreau
bd516e04fa
libfreerdp-primitives: cleanup YCoCg
2014-09-06 21:13:37 -04:00
Marc-André Moreau
3203d37bdf
libfreerdp-primitives: optimize YUV420p to RGB conversion
2014-09-06 20:15:40 -04:00
Marc-André Moreau
437583aa9a
libfreerdp-primitives: add YUV420 to RGB conversion
2014-09-06 17:10:27 -04:00
Marc-André Moreau
73d121dd82
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
2014-09-05 20:17:05 -04:00
Marc-André Moreau
5f37e768f0
libfreerdp-codec: improve YUV to RGB color conversion
2014-09-05 20:16:56 -04:00
Marc-André Moreau
fe75405d5c
libfreerdp-codec: fix build on Windows
2014-09-05 19:38:33 -04:00
Marc-André Moreau
f14b0e0195
libfreerdp-codec: cleanup h264 decoder
2014-09-05 19:11:03 -04:00
Marc-André Moreau
033e75467b
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-09-05 17:29:35 -04:00
Marc-André Moreau
66bbbf0519
libfreerdp-gdi: enable altsec frame markers
2014-09-05 16:06:19 -04:00
Marc-André Moreau
dc56ad7a0e
Merge pull request #2055 from dbungert/initialize
...
Fix multiple cases of use of uninitialized vars
2014-09-05 14:51:43 -04:00
Marc-André Moreau
510a02ea94
libfreerdp-codec: improve progressive unit test
2014-09-04 16:52:41 -04:00
Marc-André Moreau
be60bddec0
libfreerdp-primitives: add YCbCr color converter test
2014-09-04 16:34:29 -04:00
Marc-André Moreau
ccb31efe63
libfreerdp-primitives: migrate tests to ctest
2014-09-04 15:46:20 -04:00
Marc-André Moreau
37aabc50d1
libfreerdp-codec: improve YCbCr to RGB color conversion
2014-09-04 13:09:46 -04:00
Marc-André Moreau
fd7b9669a5
libfreerdp-codec: improve progressive unit tests
2014-09-03 18:47:02 -04:00
Marc-André Moreau
320b1d35ed
libwinpr-utils: centralize bitmap utils
2014-09-03 16:20:50 -04:00
Marc-André Moreau
1491c5a7f9
libfreerdp-codec: initial partial upgrade tile support
2014-09-02 19:25:01 -04:00
Marc-André Moreau
f79be532f0
libfreerdp-codec: fix and improve SRL decoder
2014-09-02 18:15:36 -04:00
erbth
25593c7250
H.264: converting only clipping rects to XRGB
2014-09-02 22:16:56 +02:00
Marc-André Moreau
6abd9e6be0
libfreerdp-codec: add more progressive test functions
2014-09-02 13:31:40 -04:00
Marc-André Moreau
49cede6e01
libfreerdp-codec: add separate sign array
2014-08-28 15:14:01 -04:00
Marc-André Moreau
e15baf6184
libfreerdp-codec: add code for SRL parsing
2014-08-28 12:14:28 -04:00
Vic Lee
551ee0566a
channels: fix memory leak in stream pools.
2014-08-28 23:16:32 +08:00
Marc-André Moreau
59b8bd0bd1
libfreerdp-codec: start reading progressive RAW bytes
2014-08-27 18:34:37 -04:00
Marc-André Moreau
32766b0647
libfreerdp-codec: start computing BitPos
2014-08-27 17:02:15 -04:00
Marc-André Moreau
51d1d42616
libfreerdp-codec: fix progressive tile diffing
2014-08-27 15:15:37 -04:00
Marc-André Moreau
656dd760c5
libfreerdp-codec: fix sub-band diffing
2014-08-26 16:15:22 -04:00
Marc-André Moreau
4773403243
libfreerdp-codec: partial YCbCr diffing support
2014-08-26 14:36:33 -04:00
Marc-André Moreau
ec53dd612e
libfreerdp-codec: fix progressive codec tile drawing offset, fix dequantization
2014-08-25 19:50:42 -04:00
Marc-André Moreau
2cffa7d8f4
libfreerdp-codec: make use of progressive quantization factors
2014-08-25 17:58:38 -04:00
Marc-André Moreau
ed7312501c
libfreerdp-codec: fix progressive quantization shifts
2014-08-21 19:43:37 -04:00
Marc-André Moreau
969d9011da
libfreerdp-codec: partially working progressive iDWT
2014-08-21 19:02:26 -04:00
Marc-André Moreau
f79ba1b364
libfreerdp-codec: fix crashes
2014-08-21 17:14:10 -04:00
Marc-André Moreau
f77e515965
libfreerdp-codec: improve progressive iDWT
2014-08-21 16:05:39 -04:00
Marc-André Moreau
e54bbdab00
libfreerdp-codec: start new progressive rfx iDWT functions
2014-08-20 19:12:08 -04:00
erbth
dee50a8ca2
H264 data alignement and 32 bit comilation ...
2014-08-21 00:58:08 +02:00
erbth
9eec9cb18a
RDPEGFX H264 YUV data conversion in assembly/with SSSE3 in 32bit
2014-08-21 00:08:56 +02:00
Marc-André Moreau
5e778d6a0c
libfreerdp-codec: intermediate progressive rfx iDWT
2014-08-20 17:16:34 -04:00
Daniel Bungert
27fc3ee64d
Fix multiple cases of use of uninitialized vars
...
* Zeroing xevent helped address some erratic behavior.
* valgrind complained about using xfBitmap uninitialized
during shutdown, traced it back to the initialization.
Bitmap_Prototype->size > sizeof(rdpBitmap).
* Early exit from recv_tpkt_pdu is necessary to address
a shutdown crash - the channelId value was being used
without being set in the disconnect case.
2014-08-20 03:54:05 -06:00
Marc-André Moreau
68b3d0476b
libfreerdp-codec: start work on progressive inverse DWT
2014-08-19 14:48:09 -04:00
Marc-André Moreau
2e672d5bdb
libfreerdp-codec: optimize RemoteFX dequantization and differentiation
2014-08-18 21:10:56 -04:00
Marc-André Moreau
6744bbe7ae
libfreerdp-codec: start working on progressive dequantization
2014-08-18 19:12:08 -04:00
Marc-André Moreau
1a8c763309
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
2014-08-18 17:06:13 -04:00
Marc-André Moreau
5e177118aa
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-08-18 16:23:45 -04:00
Marc-André Moreau
82a53057a1
Merge pull request #2023 from ptsekov/software-gdi-improvements
...
Software GDI improvements
2014-08-18 16:22:23 -04:00
erbth
497e130c21
YUV data conversion using SSSE3/assembly with libavcodec implementation
2014-08-18 21:21:24 +02:00
Marc-André Moreau
ca90650336
shadow: fix race conditions
2014-08-15 18:12:53 -04:00
Marc-André Moreau
0457a29f57
shadow: fix WDS connectivity
2014-08-15 14:15:53 -04:00
Marc-André Moreau
78d43ced3d
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-15 11:44:07 -04:00
Marc-André Moreau
168d46f253
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/nego.c
libfreerdp/core/peer.c
winpr/libwinpr/synch/wait.c
2014-08-15 11:43:50 -04:00
Marc-André Moreau
158f9856ba
shadow: start RDP client backend for WDS
2014-08-14 18:41:22 -04:00
Pavel Tsekov
651887c7e0
Fix erronous use of colors in gdi_patblt().
...
* libfreerdp/gdi/gdi.c:
(gdi_patblt): Fix a call to freerdp_mono_image_convert() which was
still passed colors in drawing order representation instead of GDI
representation.
2014-08-14 20:21:49 +03:00
Pavel Tsekov
eab69c2984
Fix 1bpp -> 16bpp image conversion.
...
* libfreerdp/codec/color.c (freerdp_mono_image_convert): Update the
1bpp -> 16bpp conversion code to reflect the fact that the foreground
and the background colors are in GDI representation now.
2014-08-14 20:09:12 +03:00
Norbert Federa
3c8700f62d
Merge pull request #1963 from akallabeth/async-update-to-lib
...
Moved update thread from client to library.
2014-08-14 17:46:43 +02:00
Marc-André Moreau
86a68f0c0f
shadow: start Windows Desktop Sharing API support
2014-08-13 17:48:57 -04:00
Pavel Tsekov
53e19e0da7
Fix conversion of 24bpp bitmaps to 32bpp fb when
...
CLRCONV_INVERT and/or CLRCONV_ALPHA is set.
* include/freerdp/codec/color.h (RGB32_to_BGR32): New inline function.
* libfreerdp/codec/color.c:
(freerdp_image_convert_24bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT
processing for 32bpp destination.
Unroll the conversion loop to process four pixels in one go using
32-bit load and store operations.
2014-08-14 00:31:15 +03:00
erbth
095a7aba99
OpenH264 YUV data conversion with intel SSSE3 in assembly
2014-08-13 20:56:40 +02:00
Mike McDonald
5906efc5f7
Fixed a FreeRDP server problem which prevented RDP security from being negotiated.
2014-08-13 11:01:43 -04:00
Mike McDonald
37c8ce48e3
Fixed typo in message
2014-08-13 10:14:56 -04:00
Bernhard Miklautz
e5e1a75c35
crypto: fix fingerprint
...
Latest logging changes introduced a problem with fingerprint generation.
The last byte wasn't added.
2014-08-12 15:40:53 +02:00
Marc-André Moreau
e4a4aa4d3a
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
channels/encomsp/client/encomsp_main.c
libfreerdp/core/tcp.c
libfreerdp/crypto/certificate.c
server/Windows/CMakeLists.txt
server/X11/xf_cursor.c
server/X11/xf_input.c
server/X11/xf_interface.c
server/X11/xf_monitors.c
server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Marc-André Moreau
87fd839a35
libfreerdp-codec: cleanup and fix __lzcnt on Windows
2014-08-11 18:48:42 -04:00
Marc-André Moreau
dc7f89dbd5
Merge branch 'egfx' of github.com:awakecoding/FreeRDP
2014-08-11 17:25:38 -04:00
Marc-André Moreau
7171a0b5c1
libfreerdp-core: fix reconnection using client random
2014-08-11 11:23:23 -04:00
Marc-André Moreau
cff9c16c1e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Marc-André Moreau
067da290dd
Merge pull request #2027 from akallabeth/winpr-log
...
Replace stdout and logging defines with WLog, add logcat support
2014-08-11 10:38:28 -04:00
Marc-André Moreau
51ac7fffbd
Merge pull request #1993 from bmiklautz/merge/from-stable-1.1
...
Pick changes from stable-1.1 that are not yet on master
2014-08-11 10:28:10 -04:00
Armin Novak
d0c5d9bb9e
Fixed missing include.
2014-08-11 09:49:57 +02:00
Armin Novak
784696c1cd
Fixed missing includes and invalid replacement.
2014-08-11 09:38:08 +02:00
Armin Novak
bcb5f90ee6
Replaced perror with DEBUG_WARN
2014-08-11 09:19:23 +02:00
Benoit LeBlanc
b990c2002a
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-08-08 11:42:53 -04:00
erbth
a8945306a1
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx
2014-08-08 15:22:47 +02:00
erbth
a8257b5201
fixed some memory leaks arround DVC and RDPEGFX
2014-08-08 15:19:49 +02:00
Armin Novak
b897c6a433
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:20:35 +02:00
Armin Novak
eecc8e2333
Removed debug.c
2014-08-07 21:38:11 +02:00
Pavel Tsekov
052173de5f
Do not assume 32bpp framebuffer when flipping NSCodec bitmaps.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Do not assume 32bpp
framebuffer when flipping NSCodec compressed bitmaps.
2014-08-07 20:37:06 +03:00
Pavel Tsekov
adb750f7ca
Convert NSCodec compressed bitmaps to framebuffer format.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Convert NSCodec compressed
bitmaps to framebuffer format.
2014-08-07 20:33:30 +03:00
Armin Novak
f00cb3d25c
Reverted previous replacements, not to be done for tests.
2014-08-07 19:05:22 +02:00
Armin Novak
a27706d129
Fixed missing includes.
2014-08-07 18:25:43 +02:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Pavel Tsekov
c51c5df2ff
* include/freerdp/codec/color.h:
...
(freerdp_color_convert_drawing_order_color_to_gdi_color): Declare new
function.
* libfreerdp/codec/color.c:
(freerdp_color_convert_drawing_order_color_to_gdi_color): Implement.
(freerdp_image_convert_8bpp): Properly use the ARGB32/ABGR32/RGB32/BGR32
macros when converting 8bpp data to 32bpp.
(freerdp_image_convert_32bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT
processing for 32bpp destination.
(freerdp_mono_image_convert): Use ARGB32/ABGR32 when converting to 32bpp
and CLRCONV_ALPHA is set.
* libfreerdp/core/orders.c: Color data from drawing orders is
interpreted in big endian mode.
* libfreerdp/core/update.c (update_read_palette): Likewise.
* libfreerdp/gdi/16bpp.c (gdi_get_color_16bpp): GDI colors are stored as
RGB now.
* libfreerdp/gdi/32bpp.c (gdi_get_color_32bpp): Likewise.
* libfreerdp/gdi/gdi.c:
Use freerdp_color_convert_drawing_order_color_to_gdi_color() to convert
from drawing order color representation to GDI color representation
troughout.
* libfreerdp/gdi/graphics.c (gdi_Glyph_BeginDraw): Likewise.
(gdi_Glyph_EndDraw): Likewise.
2014-08-07 00:58:58 +03:00
Benoît LeBlanc
1f2f9dfbdc
fix gdi_resize: set primary_buffer to NULL to avoid use after free
2014-08-06 17:02:21 -04:00