Marc-André Moreau
73bdd6b95c
Merge pull request #599 from dorianj/coloriconfix
...
libfreerdp-codec: improve freerdp_icon_convert ICO reader
2012-05-20 11:57:53 -07:00
Dorian Johnson
2d3774e407
libfreerdp-codec: improve freerdp_icon_convert ICO reader
...
freerdp_icon_convert reads ICO data, which is used by RAIL for
window and notify icons. The old implementation incorrectly iterpreted
the green channel, flipped the alpha channel, and ignored alpha padding.
This implementation is much more robust and correctly handles the alpha
channel, even for non-powers-of-two image widths.
Fixes #578 .
2012-05-18 12:43:51 -05:00
Aurimas Fišeras
64ad250f2d
fix more color conversion problems for 16-bit displays
...
based on d588e30a
2012-05-17 21:55:51 +03:00
Julien Ropé
b2177dc8c3
Replacing malloc calls by xmalloc or xzalloc as appropriate.
...
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"
Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Bernhard Miklautz
1d32894775
Changed some functions from inline to static inline
...
This fixes inline build issues with clang.
http://clang.llvm.org/compatibility.html#inline
2012-04-04 15:23:16 +02:00
Michael Osborne
d588e30a38
correct colors for 16-bit displays
2012-03-02 16:49:52 -06:00
Philippe Auphelle
68afff5faa
Merge remote-tracking branch 'upstream/master'
2012-02-03 14:44:10 +01:00
Marc-André Moreau
b4e542ba46
libfreerdp-core: fix multiple memory leaks detected by valgrind
2012-02-01 18:42:20 -05:00
Philippe Auphelle
50b0b74bc4
Merge remote-tracking branch 'upstream/master'
2012-01-17 13:01:38 +01:00
Marc-André Moreau
949bce4d54
wfreerdp: fix warnings and color conversion
2012-01-16 11:40:18 -05:00
Philippe Auphelle
7671f4a15b
Merge remote-tracking branch 'upstream/master'
2012-01-11 16:45:51 +01:00
Marc-André Moreau
c7cc745575
libfreerdp-codec: add freerdp_convert_color_var()
2012-01-09 18:45:36 -05:00
Philippe Auphelle
9007a3aacf
Merge remote-tracking branch 'upstream/master'
2012-01-04 17:44:44 +01: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
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
Philippe Auphelle
fd7eca49a9
Fix spelling mistake in a comment.
2011-12-12 15:49:44 +01:00
Philippe Auphelle
711f4b2202
Refactored bitmap_flip in bitmap.c to use freerdp_bitmap_flip in color.c. Added in place "bitmap flip" in freerdp_bitmap_flip, changed bitmap_decompress (in bitmap.c) to use it.
2011-12-12 14:41:31 +01:00
Anthony Tong
d974829442
codec: fix 24bpp color conv
2011-11-23 19:15:14 -06:00
Nicolas Graziano
025ebf1773
Try to get good color for 8 Bpp and 15 Bpp.
...
The method is try and correct for 8, 15, 16 24 and 32.
I made all this change in freerdp_color_convert_rgb to prevent
blue = clrconv->palette->entries[srcColor].red
2011-10-25 04:12:57 +02:00
Marc-André Moreau
f6cd71026e
xfreerdp: started bitmap caching support
2011-10-04 21:29:01 -04:00
Marc-André Moreau
3297db7062
libfreerdp-codec: merge with libfreerdp-rfx
2011-10-02 20:28:20 -04:00