FreeRDP
rfx.h File Reference
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <freerdp/freerdp.h>
#include <freerdp/constants.h>
#include <freerdp/codec/region.h>
#include <winpr/stream.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  RFX_RECT
 
struct  RFX_TILE
 
struct  RFX_MESSAGE
 
struct  RFX_CONTEXT
 

Macros

#define _RFX_DECODED_SYNC   0x00000001
 
#define _RFX_DECODED_CONTEXT   0x00000002
 
#define _RFX_DECODED_VERSIONS   0x00000004
 
#define _RFX_DECODED_CHANNELS   0x00000008
 
#define _RFX_DECODED_HEADERS   0x0000000F
 

Typedefs

typedef enum _RLGR_MODE RLGR_MODE
 
typedef enum _RFX_STATE RFX_STATE
 

Enumerations

enum  _RLGR_MODE { RLGR1, RLGR3 }
 
enum  _RFX_STATE {
  RFX_STATE_INITIAL, RFX_STATE_SERVER_UNINITIALIZED, RFX_STATE_SEND_HEADERS, RFX_STATE_SEND_FRAME_DATA,
  RFX_STATE_FRAME_DATA_SENT, RFX_STATE_FINAL
}
 

Functions

FREERDP_API void rfx_context_set_pixel_format (RFX_CONTEXT *context, UINT32 pixel_format)
 
FREERDP_API BOOL rfx_process_message (RFX_CONTEXT *context, const BYTE *data, UINT32 length, UINT32 left, UINT32 top, BYTE *dst, UINT32 dstFormat, UINT32 dstStride, UINT32 dstHeight, REGION16 *invalidRegion)
 
FREERDP_API UINT16 rfx_message_get_tile_count (RFX_MESSAGE *message)
 
FREERDP_API UINT16 rfx_message_get_rect_count (RFX_MESSAGE *message)
 
FREERDP_API void rfx_message_free (RFX_CONTEXT *context, RFX_MESSAGE *message)
 
FREERDP_API BOOL rfx_compose_message (RFX_CONTEXT *context, wStream *s, const RFX_RECT *rects, int num_rects, BYTE *image_data, int width, int height, int rowstride)
 
FREERDP_API RFX_MESSAGE * rfx_encode_message (RFX_CONTEXT *context, const RFX_RECT *rects, int numRects, BYTE *data, int width, int height, int scanline)
 
FREERDP_API RFX_MESSAGE * rfx_encode_messages (RFX_CONTEXT *context, const RFX_RECT *rects, int numRects, BYTE *data, int width, int height, int scanline, int *numMessages, int maxDataSize)
 
FREERDP_API BOOL rfx_write_message (RFX_CONTEXT *context, wStream *s, RFX_MESSAGE *message)
 
FREERDP_API BOOL rfx_context_reset (RFX_CONTEXT *context, UINT32 width, UINT32 height)
 
FREERDP_API RFX_CONTEXT * rfx_context_new (BOOL encoder)
 
FREERDP_API void rfx_context_free (RFX_CONTEXT *context)
 

Macro Definition Documentation

#define _RFX_DECODED_CHANNELS   0x00000008
#define _RFX_DECODED_CONTEXT   0x00000002
#define _RFX_DECODED_HEADERS   0x0000000F
#define _RFX_DECODED_SYNC   0x00000001
#define _RFX_DECODED_VERSIONS   0x00000004

Typedef Documentation

typedef enum _RFX_STATE RFX_STATE
typedef enum _RLGR_MODE RLGR_MODE

Enumeration Type Documentation

enum _RFX_STATE
Enumerator
RFX_STATE_INITIAL 
RFX_STATE_SERVER_UNINITIALIZED 
RFX_STATE_SEND_HEADERS 
RFX_STATE_SEND_FRAME_DATA 
RFX_STATE_FRAME_DATA_SENT 
RFX_STATE_FINAL 
enum _RLGR_MODE
Enumerator
RLGR1 
RLGR3 

Function Documentation

FREERDP_API BOOL rfx_compose_message ( RFX_CONTEXT *  context,
wStream *  s,
const RFX_RECT *  rects,
int  num_rects,
BYTE image_data,
int  width,
int  height,
int  rowstride 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API void rfx_context_free ( RFX_CONTEXT *  context)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API RFX_CONTEXT* rfx_context_new ( BOOL  encoder)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL rfx_context_reset ( RFX_CONTEXT *  context,
UINT32  width,
UINT32  height 
)

Here is the caller graph for this function:

FREERDP_API void rfx_context_set_pixel_format ( RFX_CONTEXT *  context,
UINT32  pixel_format 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API RFX_MESSAGE* rfx_encode_message ( RFX_CONTEXT *  context,
const RFX_RECT *  rects,
int  numRects,
BYTE data,
int  width,
int  height,
int  scanline 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API RFX_MESSAGE* rfx_encode_messages ( RFX_CONTEXT *  context,
const RFX_RECT *  rects,
int  numRects,
BYTE data,
int  width,
int  height,
int  scanline,
int *  numMessages,
int  maxDataSize 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API void rfx_message_free ( RFX_CONTEXT *  context,
RFX_MESSAGE *  message 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API UINT16 rfx_message_get_rect_count ( RFX_MESSAGE *  message)
FREERDP_API UINT16 rfx_message_get_tile_count ( RFX_MESSAGE *  message)
FREERDP_API BOOL rfx_process_message ( RFX_CONTEXT *  context,
const BYTE data,
UINT32  length,
UINT32  left,
UINT32  top,
BYTE dst,
UINT32  dstFormat,
UINT32  dstStride,
UINT32  dstHeight,
REGION16 *  invalidRegion 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL rfx_write_message ( RFX_CONTEXT *  context,
wStream *  s,
RFX_MESSAGE *  message 
)

Here is the call graph for this function:

Here is the caller graph for this function: