1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
extern "C" {
#include <X11/extensions/XShm.h>
#include <XPlxExt.h>
}
extern "C" {
plx_IO *XPlxQueryConfig(Display *dpy, Drawable d, GC gc);
plx_signal *XPlxQueryVideo(Display *dpy, Drawable d, GC gc);
void XPlxVideoInputSelect(Display *dpy, Drawable d, GC gc,
int channel, int standard, int format, int type);
void XPlxVideoSqueezeLive(Display *dpy, Drawable d, GC gc,
int vx, int vy, int vw, int vh,
int x, int y, int w, int h);
void XPlxVideoSqueezeStill(Display *dpy, Drawable d, GC gc,
int vx, int vy, int vw, int vh,
int x, int y, int w, int h);
void XPlxVideoTag(Display *dpy, Drawable, GC gc, int type);
void XPlxVideoValueLoad(Display *dpy, Drawable d, GC gc,
int sat, int cont, int hue, int brit);
void XPlxVideoValueQuery(Display *dpy, Drawable d, GC gc,
int *sat, int *cont, int *hue, int *brit);
int MakeQTables(unsigned int factor, unsigned char **pqtable);
XPlxCImage *XPlxCreateCImage(Display *dpy, char *data, int size,
unsigned int width, unsigned int height);
int XPlxDestroyCImage(XPlxCImage *ximage);
XPlxCImage *XPlxGetCImage(Display *dpy, Drawable d, GC gc,
int src_x, int src_y, unsigned int src_w, unsigned int src_h,
unsigned int dst_w, unsigned int dst_h);
void XPlxPutCImage(Display *dpy, Drawable d, GC gc, XPlxCImage *image,
int src_x, int src_y, unsigned int src_w, unsigned int src_h,
int dst_x, int dst_y, unsigned int dst_w, unsigned int dst_h,
int flag);
#ifdef __hpux
void XPlxPutTable(Display *dpy, Drawable d, GC gc,
short *table, int size, Bool dir);
#else
void XPlxPutTable(Display *dpy, Drawable d, GC gc,
char *table, int size, Bool dir);
#endif
XPlxCImage *XPlxShmCreateCImage(Display *dpy, char *data,
XShmSegmentInfo *shminfo, int size,
unsigned int width, unsigned int height);
Status XPlxShmGetCImage(Display *dpy, Drawable d, GC gc,
XPlxCImage *image, int src_x, int src_y,
unsigned int src_w, unsigned int src_h);
Status XPlxShmPutCImage(Display *dpy, Drawable d, GC gc,
XPlxCImage *image, int src_x, int src_y,
unsigned int src_w, unsigned int src_h,
int dst_x, int dst_y, unsigned int dst_w, unsigned int dst_h,
int flag, Bool send_event);
}
|