remoteosd.c File Reference

Include dependency graph for remoteosd.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define READ_BUFFER_SIZE   1000000
#define RMTOSD_HOST_TEXT   N_("VNC Host")
#define RMTOSD_HOST_LONGTEXT
#define RMTOSD_PORT_TEXT   N_("VNC Port")
#define RMTOSD_PORT_LONGTEXT
#define RMTOSD_PASSWORD_TEXT   N_("VNC Password")
#define RMTOSD_PASSWORD_LONGTEXT
#define RMTOSD_UPDATE_TEXT   N_("VNC poll interval" )
#define RMTOSD_UPDATE_LONGTEXT
#define RMTOSD_POLL_TEXT   N_("VNC polling")
#define RMTOSD_POLL_LONGTEXT
#define RMTOSD_MOUSE_TEXT   N_("Mouse events")
#define RMTOSD_MOUSE_LONGTEXT
#define RMTOSD_KEYS_TEXT   N_("Key events")
#define RMTOSD_KEYS_LONGTEXT
#define RMTOSD_ALPHA_TEXT   N_("Alpha transparency value (default 255)")
#define RMTOSD_ALPHA_LONGTEXT
#define RMTOSD_CFG   "rmtosd-"
#define RMTOSD_UPDATE_MIN   200
#define RMTOSD_UPDATE_DEFAULT   1000
#define RMTOSD_UPDATE_MAX   300
#define CHALLENGESIZE   16
#define MAX_VNC_SERVER_NAME_LENGTH   255

Functions

static int CreateFilter (vlc_object_t *)
static void DestroyFilter (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static subpicture_tFilter (filter_t *, mtime_t)
static int MouseEvent (filter_t *, const vlc_mouse_t *, const vlc_mouse_t *, const video_format_t *)
static int KeyEvent (vlc_object_t *p_this, char const *psz_var, vlc_value_t oldval, vlc_value_t newval, void *p_data)
static void stop_osdvnc (filter_t *p_filter)
static void * vnc_worker_thread (vlc_object_t *p_thread_obj)
static void * update_request_thread (vlc_object_t *p_thread_obj)
static bool open_vnc_connection (filter_t *p_filter)
static bool handshaking (filter_t *p_filter)
static bool process_server_message (filter_t *p_filter, rfbServerToClientMsg *msg)
static void rgb_to_yuv (uint8_t *y, uint8_t *u, uint8_t *v, int r, int g, int b)
static bool fill_rect (filter_sys_t *p_sys, uint16_t i_x, uint16_t i_y, uint16_t i_w, uint16_t i_h, uint8_t i_color)
static bool copy_rect (filter_sys_t *p_sys, uint16_t i_x, uint16_t i_y, uint16_t i_w, uint16_t i_h, uint16_t i_sx, uint16_t i_sy)
static bool raw_line (filter_sys_t *p_sys, uint16_t i_x, uint16_t i_y, uint16_t i_w)
static void vnc_encrypt_bytes (unsigned char *bytes, char *passwd)
static bool read_exact (filter_t *p_filter, int i_socket, char *p_readbuf, int i_bytes)
static bool write_exact (filter_t *p_filter, int i_socket, char *p_writebuf, int i_bytes)

Define Documentation

#define CHALLENGESIZE   16

Referenced by handshaking(), and vnc_encrypt_bytes().

#define MAX_VNC_SERVER_NAME_LENGTH   255

Referenced by handshaking().

#define READ_BUFFER_SIZE   1000000

Referenced by process_server_message().

#define RMTOSD_ALPHA_LONGTEXT

Value:

N_( \
    "The transparency of the OSD VNC can be changed by giving a value " \
    "between 0 and 255. A lower value specifies more transparency a higher " \
    "means less transparency. The default is being not transparent " \
    "(value 255) the minimum is fully transparent (value 0)." )

#define RMTOSD_ALPHA_TEXT   N_("Alpha transparency value (default 255)")

#define RMTOSD_CFG   "rmtosd-"

Referenced by CreateFilter(), and DestroyFilter().

#define RMTOSD_HOST_LONGTEXT

Value:

N_( \
    "VNC hostname or IP address." )

#define RMTOSD_HOST_TEXT   N_("VNC Host")

#define RMTOSD_KEYS_LONGTEXT

Value:

N_( \
    "Send key events to VNC host." )

#define RMTOSD_KEYS_TEXT   N_("Key events")

#define RMTOSD_MOUSE_LONGTEXT

Value:

N_( \
    "Send mouse events to VNC host. Not needed for use as VDR ffnetdev client." )

#define RMTOSD_MOUSE_TEXT   N_("Mouse events")

#define RMTOSD_PASSWORD_LONGTEXT

Value:

N_( \
    "VNC password." )

#define RMTOSD_PASSWORD_TEXT   N_("VNC Password")

#define RMTOSD_POLL_LONGTEXT

Value:

N_( \
    "Activate VNC polling. Do NOT activate for use as VDR ffnetdev client." )

#define RMTOSD_POLL_TEXT   N_("VNC polling")

#define RMTOSD_PORT_LONGTEXT

Value:

N_( \
    "VNC port number." )

#define RMTOSD_PORT_TEXT   N_("VNC Port")

#define RMTOSD_UPDATE_DEFAULT   1000

#define RMTOSD_UPDATE_LONGTEXT

Value:

N_( \
    "In this interval an update from VNC is requested, default every 300 ms. ")

#define RMTOSD_UPDATE_MAX   300

#define RMTOSD_UPDATE_MIN   200

#define RMTOSD_UPDATE_TEXT   N_("VNC poll interval" )


Function Documentation

static bool copy_rect ( filter_sys_t p_sys,
uint16_t  i_x,
uint16_t  i_y,
uint16_t  i_w,
uint16_t  i_h,
uint16_t  i_sx,
uint16_t  i_sy 
) [inline, static]

static int CreateFilter ( vlc_object_t p_this  )  [static]

static void DestroyFilter ( vlc_object_t p_this  )  [static]

static bool fill_rect ( filter_sys_t p_sys,
uint16_t  i_x,
uint16_t  i_y,
uint16_t  i_w,
uint16_t  i_h,
uint8_t  i_color 
) [inline, static]

static subpicture_t * Filter ( filter_t p_filter,
mtime_t  date 
) [static]

static bool handshaking ( filter_t p_filter  )  [static]

static int KeyEvent ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int MouseEvent ( filter_t p_filter,
const vlc_mouse_t p_old,
const vlc_mouse_t p_new,
const video_format_t p_fmt 
) [static]

static bool open_vnc_connection ( filter_t p_filter  )  [static]

static bool process_server_message ( filter_t p_filter,
rfbServerToClientMsg msg 
) [static]

static bool raw_line ( filter_sys_t p_sys,
uint16_t  i_x,
uint16_t  i_y,
uint16_t  i_w 
) [inline, static]

static bool read_exact ( filter_t p_filter,
int  i_socket,
char *  p_readbuf,
int  i_bytes 
) [static]

static void rgb_to_yuv ( uint8_t *  y,
uint8_t *  u,
uint8_t *  v,
int  r,
int  g,
int  b 
) [inline, static]

static void stop_osdvnc ( filter_t p_filter  )  [static]

static void * update_request_thread ( vlc_object_t p_thread_obj  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static void vnc_encrypt_bytes ( unsigned char *  bytes,
char *  passwd 
) [static]

References CHALLENGESIZE, ctx, and i.

Referenced by handshaking().

static void * vnc_worker_thread ( vlc_object_t p_thread_obj  )  [static]

static bool write_exact ( filter_t p_filter,
int  i_socket,
char *  p_writebuf,
int  i_bytes 
) [static]


Generated on Tue May 25 08:05:31 2010 for VLC by  doxygen 1.5.6