Host: Made rendering pipeline a bit more flexible
This commit is contained in:
parent
330e1eb20e
commit
fefb33736a
8 changed files with 123 additions and 94 deletions
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue