6 #include <X11/extensions/Xcomposite.h>
7 #include <X11/extensions/XShm.h>
10 // XV extension API - start
11 const char* createScreenShot(int width, int height);
12 void releaseScreenShot(const char *ss);
13 // XV extension API - end
15 char *scrcapture_capture_screen_by_x11(Window xid, int *size);
16 char *scrcapture_capture_screen_by_xv_ext(int width, int height);
17 void scrcapture_release_screen_by_xv_ext(const char *s);
19 int init_scrcapture(void *data);
20 void close_scrcapture(void *data);
22 #endif // _scrcapture_h_