|
static BOOL | checkCapsAreExchangedInt (RdpgfxServerContext *context, const char *file, const char *fkt, size_t line) |
|
static INLINE UINT32 | rdpgfx_pdu_length (UINT32 dataLen) |
|
static INLINE UINT | rdpgfx_server_packet_init_header (wStream *s, UINT16 cmdId, UINT32 pduLength) |
|
static INLINE BOOL | rdpgfx_server_packet_complete_header (wStream *s, size_t start) |
|
static UINT | rdpgfx_server_packet_send (RdpgfxServerContext *context, wStream *s) |
|
static wStream * | rdpgfx_server_single_packet_new (wLog *log, UINT16 cmdId, UINT32 dataLen) |
|
static INLINE UINT | rdpgfx_server_single_packet_send (RdpgfxServerContext *context, wStream *s) |
|
static UINT | rdpgfx_send_caps_confirm_pdu (RdpgfxServerContext *context, const RDPGFX_CAPS_CONFIRM_PDU *capsConfirm) |
|
static UINT | rdpgfx_send_reset_graphics_pdu (RdpgfxServerContext *context, const RDPGFX_RESET_GRAPHICS_PDU *pdu) |
|
static UINT | rdpgfx_send_evict_cache_entry_pdu (RdpgfxServerContext *context, const RDPGFX_EVICT_CACHE_ENTRY_PDU *pdu) |
|
static UINT | rdpgfx_send_cache_import_reply_pdu (RdpgfxServerContext *context, const RDPGFX_CACHE_IMPORT_REPLY_PDU *pdu) |
|
static UINT | rdpgfx_process_cache_import_offer_pdu (RdpgfxServerContext *context, const RDPGFX_CACHE_IMPORT_OFFER_PDU *cacheImportOffer) |
|
static UINT | rdpgfx_send_create_surface_pdu (RdpgfxServerContext *context, const RDPGFX_CREATE_SURFACE_PDU *pdu) |
|
static UINT | rdpgfx_send_delete_surface_pdu (RdpgfxServerContext *context, const RDPGFX_DELETE_SURFACE_PDU *pdu) |
|
static INLINE BOOL | rdpgfx_write_start_frame_pdu (wStream *s, const RDPGFX_START_FRAME_PDU *pdu) |
|
static INLINE BOOL | rdpgfx_write_end_frame_pdu (wStream *s, const RDPGFX_END_FRAME_PDU *pdu) |
|
static UINT | rdpgfx_send_start_frame_pdu (RdpgfxServerContext *context, const RDPGFX_START_FRAME_PDU *pdu) |
|
static UINT | rdpgfx_send_end_frame_pdu (RdpgfxServerContext *context, const RDPGFX_END_FRAME_PDU *pdu) |
|
static INLINE UINT32 | rdpgfx_estimate_h264_avc420 (const RDPGFX_AVC420_BITMAP_STREAM *havc420) |
|
static INLINE UINT32 | rdpgfx_estimate_surface_command (const RDPGFX_SURFACE_COMMAND *cmd) |
|
static INLINE UINT16 | rdpgfx_surface_command_cmdid (const RDPGFX_SURFACE_COMMAND *cmd) |
|
static UINT | rdpgfx_write_h264_metablock (wLog *log, wStream *s, const RDPGFX_H264_METABLOCK *meta) |
|
static INLINE UINT | rdpgfx_write_h264_avc420 (wLog *log, wStream *s, RDPGFX_AVC420_BITMAP_STREAM *havc420) |
|
static UINT | rdpgfx_write_surface_command (wLog *log, wStream *s, const RDPGFX_SURFACE_COMMAND *cmd) |
|
static UINT | rdpgfx_send_surface_command (RdpgfxServerContext *context, const RDPGFX_SURFACE_COMMAND *cmd) |
|
static UINT | rdpgfx_send_surface_frame_command (RdpgfxServerContext *context, const RDPGFX_SURFACE_COMMAND *cmd, const RDPGFX_START_FRAME_PDU *startFrame, const RDPGFX_END_FRAME_PDU *endFrame) |
|
static UINT | rdpgfx_send_delete_encoding_context_pdu (RdpgfxServerContext *context, const RDPGFX_DELETE_ENCODING_CONTEXT_PDU *pdu) |
|
static UINT | rdpgfx_send_solid_fill_pdu (RdpgfxServerContext *context, const RDPGFX_SOLID_FILL_PDU *pdu) |
|
static UINT | rdpgfx_send_surface_to_surface_pdu (RdpgfxServerContext *context, const RDPGFX_SURFACE_TO_SURFACE_PDU *pdu) |
|
static UINT | rdpgfx_send_surface_to_cache_pdu (RdpgfxServerContext *context, const RDPGFX_SURFACE_TO_CACHE_PDU *pdu) |
|
static UINT | rdpgfx_send_cache_to_surface_pdu (RdpgfxServerContext *context, const RDPGFX_CACHE_TO_SURFACE_PDU *pdu) |
|
static UINT | rdpgfx_send_map_surface_to_output_pdu (RdpgfxServerContext *context, const RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU *pdu) |
|
static UINT | rdpgfx_send_map_surface_to_window_pdu (RdpgfxServerContext *context, const RDPGFX_MAP_SURFACE_TO_WINDOW_PDU *pdu) |
|
static UINT | rdpgfx_send_map_surface_to_scaled_window_pdu (RdpgfxServerContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU *pdu) |
|
static UINT | rdpgfx_recv_frame_acknowledge_pdu (RdpgfxServerContext *context, wStream *s) |
|
static UINT | rdpgfx_recv_cache_import_offer_pdu (RdpgfxServerContext *context, wStream *s) |
|
static UINT | rdpgfx_recv_caps_advertise_pdu (RdpgfxServerContext *context, wStream *s) |
|
static UINT | rdpgfx_recv_qoe_frame_acknowledge_pdu (RdpgfxServerContext *context, wStream *s) |
|
static UINT | rdpgfx_send_map_surface_to_scaled_output_pdu (RdpgfxServerContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU *pdu) |
|
static UINT | rdpgfx_server_receive_pdu (RdpgfxServerContext *context, wStream *s) |
|
static BOOL | rdpgfx_server_close (RdpgfxServerContext *context) |
|
static DWORD WINAPI | rdpgfx_server_thread_func (LPVOID arg) |
|
static BOOL | rdpgfx_server_open (RdpgfxServerContext *context) |
|
static BOOL | rdpgfx_server_initialize (RdpgfxServerContext *context, BOOL externalThread) |
|
RdpgfxServerContext * | rdpgfx_server_context_new (HANDLE vcm) |
|
void | rdpgfx_server_context_free (RdpgfxServerContext *context) |
|
HANDLE | rdpgfx_server_get_event_handle (RdpgfxServerContext *context) |
|
UINT | rdpgfx_server_handle_messages (RdpgfxServerContext *context) |
|
FreeRDP: A Remote Desktop Protocol Implementation Graphics Pipeline Extension
Copyright 2016 Jiang Zihao zihao.nosp@m..jia.nosp@m.ng@ya.nosp@m.hoo..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.