blob: 99dfb190b4aa9b21fd73218caacdff7143fbd76c
1 | #ifndef __USB_FMT_H__ |
2 | #define __USB_FMT_H__ |
3 | #include <linux/videodev2.h> |
4 | |
5 | #ifndef ARRAY_SIZE |
6 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
7 | #endif |
8 | |
9 | extern "C" uint32_t query_aml_usb_pixelfmt(uint16_t idVendor, uint16_t idProduct, |
10 | uint16_t w, uint16_t h); |
11 | #endif |
12 |