Host: Made rendering pipeline a bit more flexible

This commit is contained in:
jaseg 2016-01-02 00:48:14 +01:00
parent 330e1eb20e
commit fefb33736a
8 changed files with 123 additions and 94 deletions

View file

@ -16,12 +16,12 @@
typedef struct {
libusb_device_handle *handle;
char *serial;
char *serial;
} matelight_handle;
int matelight_usb_init(void);
void matelight_usb_destroy(void);
matelight_handle *matelight_open(void);
matelight_handle *matelight_open(char *match_serial);
int matelight_send_frame(matelight_handle *ml, void *buf, size_t w, size_t h, float brightness, int alpha);
#endif//__USB_H__