8 #ifndef CSCORE_USBCAMERAPROPERTY_H_ 9 #define CSCORE_USBCAMERAPROPERTY_H_ 12 #include <linux/videodev2.h> 18 #include "PropertyImpl.h" 32 :
PropertyImpl(name_, rawProp.propKind, 1, defaultValue_, value_),
44 #ifdef VIDIOC_QUERY_EXT_CTRL 49 static std::unique_ptr<UsbCameraProperty> DeviceQuery(
int fd, __u32*
id);
51 bool DeviceGet(std::unique_lock<std::mutex>& lock,
int fd);
52 bool DeviceSet(std::unique_lock<std::mutex>& lock,
int fd)
const;
53 bool DeviceSet(std::unique_lock<std::mutex>& lock,
int fd,
int newValue,
58 bool percentage{
false};
69 #endif // CSCORE_USBCAMERAPROPERTY_H_ Definition: SinkImpl.h:19
Definition: PropertyImpl.h:21
Definition: UsbCameraProperty.h:23
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:42