diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-03-22 16:51:30 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-03-22 16:51:30 -0700 |
commit | 575fc9fb6f3f12f43890340f0c5005ae22332b5c (patch) | |
tree | c6a95938bd6fb3752d566974f802eeeaf6e46843 /xrdp/xrdp_types.h | |
parent | 5f7a4b46fb33d20877d78a3d9272ebb9ab5c7cf9 (diff) | |
download | xrdp-proprietary-575fc9fb6f3f12f43890340f0c5005ae22332b5c.tar.gz xrdp-proprietary-575fc9fb6f3f12f43890340f0c5005ae22332b5c.zip |
work on codec mode jpeg
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r-- | xrdp/xrdp_types.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h index c50daf79..048bff0e 100644 --- a/xrdp/xrdp_types.h +++ b/xrdp/xrdp_types.h @@ -47,7 +47,8 @@ struct xrdp_mod int (*mod_get_wait_objs)(struct xrdp_mod* v, tbus* read_objs, int* rcount, tbus* write_objs, int* wcount, int* timeout); int (*mod_check_wait_objs)(struct xrdp_mod* v); - long mod_dumby[100 - 9]; /* align, 100 minus the number of mod + int (*mod_frame_ack)(struct xrdp_mod* v, int flags, int frame_id); + long mod_dumby[100 - 10]; /* align, 100 minus the number of mod functions above */ /* server functions */ int (*server_begin_update)(struct xrdp_mod* v); @@ -143,7 +144,8 @@ struct xrdp_mod int (*server_paint_rects)(struct xrdp_mod* v, int num_drects, short *drects, int num_crects, short *crects, - char *data, int width, int height, int flags); + char *data, int width, int height, + int flags, int frame_id); long server_dumby[100 - 43]; /* align, 100 minus the number of server functions above */ /* common */ @@ -292,6 +294,7 @@ struct xrdp_mm int in_codec_mode; tbus xrdp_encoder_event_to_proc; tbus xrdp_encoder_event_processed; + tbus xrdp_encoder_term; FIFO *fifo_to_proc; FIFO *fifo_processed; tbus mutex; @@ -621,6 +624,7 @@ struct xrdp_enc_data int width; int height; int flags; + int frame_id; }; typedef struct xrdp_enc_data XRDP_ENC_DATA; |