mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
fd89575485
Original commit message from CVS: Patch by: Andre Moreira Magalhaes <andrunko@gmail.com> * configure.ac: * gst/librfb/Makefile.am: * gst/librfb/gstrfbsrc.c: * gst/librfb/rfb.c: * gst/librfb/rfb.h: * gst/librfb/rfbbuffer.c: * gst/librfb/rfbbuffer.h: * gst/librfb/rfbbytestream.c: * gst/librfb/rfbbytestream.h: * gst/librfb/rfbcontext.h: * gst/librfb/rfbdecoder.c: * gst/librfb/rfbdecoder.h: * gst/librfb/rfbutil.h: Port librfb to 0.10 (#376106).
38 lines
500 B
C
38 lines
500 B
C
#ifndef _LIBRFB_RFBCONTEXT_H_
|
|
#define _LIBRFB_RFBCONTEXT_H_
|
|
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _RfbContext
|
|
{
|
|
RfbConnection *connection;
|
|
|
|
guint8 *buffer1;
|
|
gpointer buffer1_alloc;
|
|
guint buffer1_len;
|
|
|
|
guint8 *buffer2;
|
|
gpointer buffer2_alloc;
|
|
guint buffer2_len;
|
|
|
|
gchar *name;
|
|
} RfbContext;
|
|
|
|
typedef struct _RfbRect
|
|
{
|
|
RfbContext *context;
|
|
|
|
guint x_pos;
|
|
guint y_pos;
|
|
guint width;
|
|
guint height;
|
|
guint encoding_type;
|
|
|
|
gchar *data;
|
|
} RfbRect;
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|