summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-03-28 18:34:25 -0700
committerJay Sorg <jay.sorg@gmail.com>2015-03-28 18:34:25 -0700
commit33167a7c746de49e735e76c5662d1e6c36bd10ed (patch)
tree936ed6150bf276d850a1f350823fb85bee296768 /common
parent7f8ec757de53dbe2f4a19b5bf0a3edccbf31a0ef (diff)
downloadxrdp-proprietary-33167a7c746de49e735e76c5662d1e6c36bd10ed.tar.gz
xrdp-proprietary-33167a7c746de49e735e76c5662d1e6c36bd10ed.zip
add frame acks and h264 codec mode basics
Diffstat (limited to 'common')
-rw-r--r--common/xrdp_client_info.h8
-rw-r--r--common/xrdp_constants.h4
2 files changed, 12 insertions, 0 deletions
diff --git a/common/xrdp_client_info.h b/common/xrdp_client_info.h
index 8313d0ae..d1ce1e1e 100644
--- a/common/xrdp_client_info.h
+++ b/common/xrdp_client_info.h
@@ -134,6 +134,14 @@ struct xrdp_client_info
char variant[16];
char options[256];
+ /* codec */
+ int h264_codec_id;
+ int h264_prop_len;
+ char h264_prop[64];
+
+ int use_frame_acks;
+ int max_unacknowledged_frame_count;
+
};
#endif
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 25d9495f..b8739b2b 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -557,6 +557,10 @@
#define XR_CODEC_GUID_PNG \
"\x8D\x85\x0C\x0E\xE0\x28\xDB\x45\xAD\xAA\x0F\x83\xE5\x7C\xC5\x60"
+/* MFVideoFormat_H264 ({34363248-0000-0010-8000-00AA00389B71}) */
+#define XR_CODEC_GUID_H264 \
+ "\x48\x32\x36\x34\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71"
+
#define RDP_CAPSET_SURFCMDS 0x1c
#define RDP_CAPLEN_SURFCMDS 0x0c
#define RDP_CAPSET_BMPCODECS 0x1d