summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-07-17 15:19:59 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-07-17 15:19:59 -0700
commite4182cde17c8d71120f497d7811839ddbe800186 (patch)
treeb82fb09cecc5905336f24582765b6390624d88d0 /common
parent01393af3e6654c3812bad4c8c9688fcc34a0c837 (diff)
downloadxrdp-proprietary-e4182cde17c8d71120f497d7811839ddbe800186.tar.gz
xrdp-proprietary-e4182cde17c8d71120f497d7811839ddbe800186.zip
work on rdp codecs
Diffstat (limited to 'common')
-rw-r--r--common/xrdp_client_info.h10
-rw-r--r--common/xrdp_constants.h6
2 files changed, 14 insertions, 2 deletions
diff --git a/common/xrdp_client_info.h b/common/xrdp_client_info.h
index bf296404..e1879cef 100644
--- a/common/xrdp_client_info.h
+++ b/common/xrdp_client_info.h
@@ -80,8 +80,16 @@ struct xrdp_client_info
int wnd_support_level;
int wnd_num_icon_caches;
int wnd_num_icon_cache_entries;
- /* remotefx codec */
+ /* codecs */
int rfx_codec_id;
+ int rfx_prop_len;
+ char rfx_prop[64];
+ int ns_codec_id;
+ int ns_prop_len;
+ char ns_prop[64];
+ int jpeg_codec_id;
+ int jpeg_prop_len;
+ char jpeg_prop[64];
};
#endif
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index c9e39ae8..7d31326e 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -508,8 +508,12 @@
#define SURCMDS_FRAMEMARKER 0x00000010
#define SURCMDS_STREAMSUFRACEBITS 0x00000040
+/* CODEC_GUID_NSCODEC 0xCA8D1BB9000F154F589FAE2D1A87E2D6 */
+#define XR_CODEC_GUID_NSCODEC \
+ "\xb9\x1b\x8d\xca\x0f\x00\x4f\x15\x58\x9f\xae\x2d\x1a\x87\xe2\xd6"
+
/* CODEC_GUID_REMOTEFX 0x76772F12BD724463AFB3B73C9C6F7886 */
-#define CODEC_GUID_REMOTEFX \
+#define XR_CODEC_GUID_REMOTEFX \
"\x12\x2F\x77\x76\x72\xBD\x63\x44\xAF\xB3\xB7\x3C\x9C\x6F\x78\x86"
#define RDP_CAPSET_SURFCMDS 0x1c