Go to the source code of this file.
|
void | v2u_close_driver (V2U_HANDLE handle) |
|
V2U_BOOL | v2u_detect_videomode (V2U_HANDLE handle, V2U_VideoMode *vm) |
|
void | v2u_free_frame (V2U_GrabFrame *f) |
|
void | v2u_free_frame2 (V2U_GrabFrame2 *f) |
|
int | v2u_get_fd (V2U_HANDLE handle) |
|
V2U_BOOL | v2u_get_grabparams (V2U_HANDLE handle, V2U_GrabParameters *gp) |
|
V2UProductType | v2u_get_product_type (V2U_HANDLE handle) |
|
V2U_BOOL | v2u_get_property (V2U_HANDLE handle, V2UPropertyKey key, V2UPropertyValue *value) |
|
V2UPropertyType | v2u_get_property_type (V2UPropertyKey key) |
|
V2U_BOOL | v2u_getsn (V2U_HANDLE handle, char *buf, int buflen) |
|
V2U_GrabFrame * | v2u_grab_frame (V2U_HANDLE handle, int format) |
|
V2U_GrabFrame2 * | v2u_grab_frame2 (V2U_HANDLE h, const V2URect *crop, int format) |
|
V2U_BOOL | v2u_ioctl (V2U_HANDLE handle, int code, void *buf, int size) |
|
int | v2u_open_all_devices (V2U_HANDLE *handles, int maxcount) |
|
V2U_HANDLE | v2u_open_driver (void) |
|
V2U_HANDLE | v2u_open_driver_idx (int idx) |
|
V2U_HANDLE | v2u_open_driver_sn (const char *sn) |
|
V2U_BOOL | v2u_set_grabparams (V2U_HANDLE handle, const V2U_GrabParameters *gp) |
|
V2U_BOOL | v2u_set_property (V2U_HANDLE handle, V2UPropertyKey key, const V2UPropertyValue *value) |
|
void | v2u_sleep (int ms) |
|
V2U_TIME | v2u_time (void) |
|
◆ MAX_VGA2USB_DEVICE_COUNT
#define MAX_VGA2USB_DEVICE_COUNT 15 |
◆ v2u_count_devices
Returns number of available VGA2USB devices.
Definition at line 50 of file v2u_sys.h.
◆ V2U_DRIVER_HANDLE
◆ V2U_HANDLE
◆ v2u_close_driver()
◆ v2u_detect_videomode()
Detects video mode. Returns zero on failure, non-zero on success.
◆ v2u_free_frame()
Deallocates V2U_GrabFrame structure allocated by v2u_grab_frame
◆ v2u_free_frame2()
Deallocates V2U_GrabFrame2 structure allocated by v2u_grab_frame2
◆ v2u_get_fd()
Returns OS file descriptor for the existing handle.
◆ v2u_get_grabparams()
Queries grab parameters. Returns zero on failure, non-zero on success.
◆ v2u_get_product_type()
Returns the hardware type, V2UProductOther on error.
◆ v2u_get_property()
Reads the device property.
◆ v2u_get_property_type()
Returns the property type, V2UPropType_Invalid if key is unknown
◆ v2u_getsn()
Returns serial number of the VGA2USB device
◆ v2u_grab_frame()
Grabs one full frame. Return V2U_GrabFrame structure on success, NULL on failure.
◆ v2u_grab_frame2()
Grabs the part of the frame specified by the crop rectangle. Returns V2U_GrabFrame2 structure on success, NULL on failure.
◆ v2u_ioctl()
Sends ioctl to the driver. Returns zero on failure, non-zero on success. Ioctl codes are defined in v2u_ioctl.h
◆ v2u_open_all_devices()
Opens all available devices (up to maxcount), returns number of devices found.
◆ v2u_open_driver()
Opens the driver, returns NULL if fails.
◆ v2u_open_driver_idx()
Opens the driver, returns NULL if fails.
◆ v2u_open_driver_sn()
Opens the driver, returns NULL if fails.
◆ v2u_set_grabparams()
Sets grab parameters. Returns zero on failure, non-zero on success.
◆ v2u_set_property()
Sets the device property.
◆ v2u_sleep()
Sleeps for specified amount of time (ms)
◆ v2u_time()
Returns current time in milliseconds since January 1st 1970, 00:00 GMT