diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-03-16 21:56:27 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-03-16 21:56:27 -0700 |
commit | 50a1b1fdb975bfa29ff45897db63885362e34615 (patch) | |
tree | 2cec50bbf34e5d92ed5bf74e972bdb06fd40865c /xrdp/xrdp_types.h | |
parent | 9414467af284458b6835fd4866bf847cad1b1f66 (diff) | |
download | xrdp-proprietary-50a1b1fdb975bfa29ff45897db63885362e34615.tar.gz xrdp-proprietary-50a1b1fdb975bfa29ff45897db63885362e34615.zip |
work on codec mode jpeg
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r-- | xrdp/xrdp_types.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h index 00cf435f..3ac1b752 100644 --- a/xrdp/xrdp_types.h +++ b/xrdp/xrdp_types.h @@ -287,10 +287,11 @@ struct xrdp_mm int chan_trans_up; /* true once connected to chansrv */ int delete_chan_trans; /* boolean set when done with channel connection */ int usechansrv; /* true if chansrvport is set in xrdp.ini or using sesman */ - + /* for codec mode operations */ int in_codec_mode; - tbus xrdp_encoder_event; + tbus xrdp_encoder_event_to_proc; + tbus xrdp_encoder_event_processed; FIFO *fifo_to_proc; FIFO *fifo_processed; tbus mutex; @@ -619,9 +620,23 @@ struct xrdp_enc_data char *data; int width; int height; - int flags; + int flags; }; typedef struct xrdp_enc_data XRDP_ENC_DATA; +/* used when scheduling tasks from xrdp_encoder.c */ +struct xrdp_enc_data_done +{ + int comp_bytes; + char *comp_data; + struct xrdp_enc_data *enc; + int last; /* true is this is last message for enc */ + int index; /* depends on codec */ +}; + +typedef struct xrdp_enc_data_done XRDP_ENC_DATA_DONE; + + + #endif |