From a970a323047d9241a4ee96f4126c9739fc9780cf Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 11 Feb 2005 22:01:19 +0000 Subject: configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate. Move rfbsrc plug... Original commit message from CVS: * configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate. Move rfbsrc plugin to gst/. * ext/Makefile.am: * ext/librfb/Makefile.am: * ext/librfb/gstrfbsrc.c: * 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: --- gst/librfb/rfbcontext.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 gst/librfb/rfbcontext.h (limited to 'gst/librfb/rfbcontext.h') diff --git a/gst/librfb/rfbcontext.h b/gst/librfb/rfbcontext.h new file mode 100644 index 00000000..df9ec1df --- /dev/null +++ b/gst/librfb/rfbcontext.h @@ -0,0 +1,41 @@ + +#ifndef _LIBRFB_RFBCONTEXT_H_ +#define _LIBRFB_RFBCONTEXT_H_ + +G_BEGIN_DECLS + +#include + +typedef struct _RfbContext +{ + RfbConnection *connection; + + guint8 *buffer1; + void *buffer1_alloc; + unsigned int buffer1_len; + + guint8 *buffer2; + void *buffer2_alloc; + unsigned int buffer2_len; + + char *name; +} RfbContext; + +typedef struct _RfbRect +{ + RfbContext *context; + + unsigned int x_pos; + unsigned int y_pos; + unsigned int width; + unsigned int height; + unsigned int encoding_type; + + char *data; +} RfbRect; + + + +G_END_DECLS + +#endif -- cgit v1.2.1