/* The bitmap data encapsulated in the bitmapData field is uncompressed. Pixelsintheuncompresseddataareorderedfromlefttorightandthen
top to bottom. */ #define XR_RDPGFX_CODECID_UNCOMPRESSED 0x0000 /* The bitmap data encapsulated in the bitmapData field is compressed using theRemoteFXCodec([MS-RDPRFX]sections2.2.1and3.1.8).Notethatthe TS_RFX_RECT([MS-RDPRFX]section2.2.2.1.6)structuresencapsulatedin thebitmapDatafieldMUSTallberelativetothetop-leftcornerofthe
rectangle defined by the destRect field. */ #define XR_RDPGFX_CODECID_CAVIDEO 0x0003 /* The bitmap data encapsulated in the bitmapData field is compressed using
the ClearCodec Codec (sections 2.2.4.1 and 3.3.8.1). */ #define XR_RDPGFX_CODECID_CLEARCODEC 0x0008 /* The bitmap data encapsulated in the bitmapData field is compressed using
the Planar Codec ([MS-RDPEGDI] sections 2.2.2.5.1 and 3.1.9). */ #define XR_RDPGFX_CODECID_PLANAR 0x000A /* The bitmap data encapsulated in the bitmapData field is compressed using
the MPEG-4 AVC/H.264 Codec in YUV420p mode (section 2.2.4.4). */ #define XR_RDPGFX_CODECID_AVC420 0x000B /* The bitmap data encapsulated in the bitmapData field is compressed using
the Alpha Codec (section 2.2.4.3). */ #define XR_RDPGFX_CODECID_ALPHA 0x000C /* The bitmap data encapsulated in the bitmapData field is compressed using
the MPEG-4 AVC/H.264 Codec in YUV444 mode (section 2.2.4.5). */ #define XR_RDPGFX_CODECID_AVC444 0x000E /* The bitmap data encapsulated in the bitmapData field is compressed using
the MPEG-4 AVC/H.264 Codec in YUV444v2 mode (section 2.2.4.6). */ #define XR_RDPGFX_CODECID_AVC444V2 0x000F
struct xrdp_egfx_rect
{ short x1; short y1; short x2; short y2;
};
struct xrdp_egfx_point
{ short x; short y;
};
struct xrdp_egfx
{ struct xrdp_session *session; int channel_id; int surface_id; int frame_id; struct stream *s; void *user; struct xrdp_egfx_bulk *bulk; int (*caps_advertise)(void *user, int num_caps, int *version, int *flags); int (*frame_ack)(void *user, uint32_t queue_depth, int frame_id, int frames_decoded);
};
struct xrdp_egfx_bulk
{ int id;
};
int
xrdp_egfx_send_data(struct xrdp_egfx *egfx, constchar *data, int bytes); int
xrdp_egfx_send_s(struct xrdp_egfx *egfx, struct stream *s); int
xrdp_egfx_create(struct xrdp_mm *mm, struct xrdp_egfx **egfx); int
xrdp_egfx_shutdown_delete_surface(struct xrdp_egfx *egfx); int
xrdp_egfx_shutdown_close_connection(struct xrdp_egfx *egfx); int
xrdp_egfx_shutdown_delete(struct xrdp_egfx *egfx); int
xrdp_egfx_shutdown_full(struct xrdp_egfx *egfx); struct stream *
xrdp_egfx_create_surface(struct xrdp_egfx_bulk *bulk, int surface_id, int width, int height, int pixel_format); int
xrdp_egfx_send_create_surface(struct xrdp_egfx *egfx, int surface_id, int width, int height, int pixel_format); struct stream *
xrdp_egfx_delete_surface(struct xrdp_egfx_bulk *bulk, int surface_id); int
xrdp_egfx_send_delete_surface(struct xrdp_egfx *egfx, int surface_id); struct stream *
xrdp_egfx_map_surface(struct xrdp_egfx_bulk *bulk, int surface_id, int x, int y); int
xrdp_egfx_send_map_surface(struct xrdp_egfx *egfx, int surface_id, int x, int y); struct stream *
xrdp_egfx_fill_surface(struct xrdp_egfx_bulk *bulk, int surface_id, int fill_color, int num_rects, conststruct xrdp_egfx_rect *rects); int
xrdp_egfx_send_fill_surface(struct xrdp_egfx *egfx, int surface_id, int fill_color, int num_rects, conststruct xrdp_egfx_rect *rects); struct stream *
xrdp_egfx_surface_to_surface(struct xrdp_egfx_bulk *bulk, int src_surface_id, int dst_surface_id, conststruct xrdp_egfx_rect *src_rect, int num_dst_points, conststruct xrdp_egfx_point *dst_points); int
xrdp_egfx_send_surface_to_surface(struct xrdp_egfx *egfx, int src_surface_id, int dst_surface_id, conststruct xrdp_egfx_rect *src_rect, int num_dst_points, conststruct xrdp_egfx_point *dst_points); struct stream *
xrdp_egfx_frame_start(struct xrdp_egfx_bulk *bulk, int frame_id, int timestamp); int
xrdp_egfx_send_frame_start(struct xrdp_egfx *egfx, int frame_id, int timestamp); struct stream *
xrdp_egfx_frame_end(struct xrdp_egfx_bulk *bulk, int frame_id); int
xrdp_egfx_send_frame_end(struct xrdp_egfx *egfx, int frame_id); struct stream *
xrdp_egfx_capsconfirm(struct xrdp_egfx_bulk *bulk, int version, int flags); int
xrdp_egfx_send_capsconfirm(struct xrdp_egfx *egfx, int version, int flags); struct stream *
xrdp_egfx_wire_to_surface1(struct xrdp_egfx_bulk *bulk, int surface_id, int codec_id, int pixel_format, struct xrdp_egfx_rect *dest_rect, void *bitmap_data, int bitmap_data_length); int
xrdp_egfx_send_wire_to_surface1(struct xrdp_egfx *egfx, int surface_id, int codec_id, int pixel_format, struct xrdp_egfx_rect *dest_rect, void *bitmap_data, int bitmap_data_length); struct stream *
xrdp_egfx_wire_to_surface2(struct xrdp_egfx_bulk *bulk, int surface_id, int codec_id, int codec_context_id, int pixel_format, void *bitmap_data, int bitmap_data_length); int
xrdp_egfx_send_wire_to_surface2(struct xrdp_egfx *egfx, int surface_id, int codec_id, int codec_context_id, int pixel_format, void *bitmap_data, int bitmap_data_length); /* *NB:mibelowmustbesuchthatthe(top,left)co-ordinateof *theprimarymonitoris(0.0)
*/ struct stream *
xrdp_egfx_reset_graphics(struct xrdp_egfx_bulk *bulk, int width, int height, int monitor_count, struct monitor_info *mi); int
xrdp_egfx_send_reset_graphics(struct xrdp_egfx *egfx, int width, int height, int monitor_count, struct monitor_info *mi);
#endif
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-07-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.