patch-v4l2uvc_h 844 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-v4l2uvc_h,v 1.2 2017/05/12 23:09:25 espie Exp $
  2. Index: v4l2uvc.h
  3. --- v4l2uvc.h.orig
  4. +++ v4l2uvc.h
  5. @@ -29,7 +29,7 @@
  6. #include <sys/ioctl.h>
  7. #include <sys/mman.h>
  8. #include <sys/select.h>
  9. -#include <linux/videodev.h>
  10. +#include <sys/videoio.h>
  11. #include "avilib.h"
  12. #include "uvcvideo.h"
  13. @@ -100,7 +100,7 @@ int v4L2UpDownPan(struct vdIn *vd, short inc);
  14. int v4L2UpDownTilt(struct vdIn *vd,short inc);
  15. int v4L2UpDownPanTilt(struct vdIn *vd, short inc_p, short inc_t);
  16. int v4l2SetLightFrequencyFilter(struct vdIn *vd,int flt);
  17. -int enum_frame_intervals(int dev, __u32 pixfmt, __u32 width, __u32 height);
  18. -int enum_frame_sizes(int dev, __u32 pixfmt);
  19. +int enum_frame_intervals(int dev, u_int32_t pixfmt, u_int32_t width, u_int32_t height);
  20. +int enum_frame_sizes(int dev, u_int32_t pixfmt);
  21. int enum_frame_formats(int dev);