21 #define MAX_VGA2USB_DEVICE_COUNT 15 50 #define v2u_count_devices() v2u_open_all_devices(NULL,MAX_VGA2USB_DEVICE_COUNT)
V2U_BOOL v2u_get_property(V2U_HANDLE handle, V2UPropertyKey key, V2UPropertyValue *value)
V2U_GrabFrame2 * v2u_grab_frame2(V2U_HANDLE h, const V2URect *crop, int format)
V2UProductType v2u_get_product_type(V2U_HANDLE handle)
V2U_GrabFrame * v2u_grab_frame(V2U_HANDLE handle, int format)
void v2u_close_driver(V2U_HANDLE handle)
V2U_BOOL v2u_get_grabparams(V2U_HANDLE handle, V2U_GrabParameters *gp)
int v2u_get_fd(V2U_HANDLE handle)
V2U_HANDLE v2u_open_driver(void)
V2U_BOOL v2u_ioctl(V2U_HANDLE handle, int code, void *buf, int size)
int v2u_open_all_devices(V2U_HANDLE *handles, int maxcount)
struct _V2U_DRIVER * V2U_HANDLE
V2U_HANDLE v2u_open_driver_sn(const char *sn)
V2U_BOOL v2u_set_grabparams(V2U_HANDLE handle, const V2U_GrabParameters *gp)
V2U_BOOL v2u_detect_videomode(V2U_HANDLE handle, V2U_VideoMode *vm)
V2UPropertyType v2u_get_property_type(V2UPropertyKey key)
V2U_HANDLE v2u_open_driver_idx(int idx)
void v2u_free_frame2(V2U_GrabFrame2 *f)
V2U_BOOL v2u_getsn(V2U_HANDLE handle, char *buf, int buflen)
enum v2u_product_type V2UProductType
enum v2u_property_type V2UPropertyType
enum v2u_property_key V2UPropertyKey
const char const char * value
struct _V2U_DRIVER * V2U_DRIVER_HANDLE
V2U_BOOL v2u_set_property(V2U_HANDLE handle, V2UPropertyKey key, const V2UPropertyValue *value)
void v2u_free_frame(V2U_GrabFrame *f)