8 #ifndef CSCORE_USBCAMERAPROPERTY_H_ 9 #define CSCORE_USBCAMERAPROPERTY_H_ 12 #include <linux/videodev2.h> 17 #include <wpi/mutex.h> 19 #include "PropertyImpl.h" 33 :
PropertyImpl(name_, rawProp.propKind, 1, defaultValue_, value_),
45 #ifdef VIDIOC_QUERY_EXT_CTRL 50 static std::unique_ptr<UsbCameraProperty> DeviceQuery(
int fd, __u32*
id);
52 bool DeviceGet(std::unique_lock<wpi::mutex>& lock,
int fd);
53 bool DeviceSet(std::unique_lock<wpi::mutex>& lock,
int fd)
const;
54 bool DeviceSet(std::unique_lock<wpi::mutex>& lock,
int fd,
int newValue,
59 bool percentage{
false};
70 #endif // CSCORE_USBCAMERAPROPERTY_H_ Definition: CvSourceImpl.h:19
Definition: PropertyImpl.h:21
Definition: UsbCameraProperty.h:24
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49