ports/graphics/luvcview/patches/patch-v4l2uvc_h

23 lines
780 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: v4l2uvc.h
--- v4l2uvc.h.orig
+++ v4l2uvc.h
@@ -29,7 +29,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/select.h>
-#include <linux/videodev.h>
+#include <sys/videoio.h>
#include "avilib.h"
#include "uvcvideo.h"
@@ -100,7 +100,7 @@ int v4L2UpDownPan(struct vdIn *vd, short inc);
int v4L2UpDownTilt(struct vdIn *vd,short inc);
int v4L2UpDownPanTilt(struct vdIn *vd, short inc_p, short inc_t);
int v4l2SetLightFrequencyFilter(struct vdIn *vd,int flt);
-int enum_frame_intervals(int dev, __u32 pixfmt, __u32 width, __u32 height);
-int enum_frame_sizes(int dev, __u32 pixfmt);
+int enum_frame_intervals(int dev, u_int32_t pixfmt, u_int32_t width, u_int32_t height);
+int enum_frame_sizes(int dev, u_int32_t pixfmt);
int enum_frame_formats(int dev);