File: plxfuncs.h

package info (click to toggle)
vic 2.8ucl4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,864 kB
  • ctags: 9,033
  • sloc: ansic: 56,989; cpp: 44,560; tcl: 5,550; sh: 1,382; perl: 1,329; makefile: 357
file content (54 lines) | stat: -rw-r--r-- 2,222 bytes parent folder | download | duplicates (5)
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);
}