8 #ifndef META_OCEAN_MEDIA_USB_USB_LIVE_VIDEO_H
9 #define META_OCEAN_MEDIA_USB_USB_LIVE_VIDEO_H
20 #ifdef OCEAN_PLATFORM_BUILD_ANDROID
80 VideoDecoder(
const std::string& mime,
const unsigned int width,
const unsigned int height);
121 #ifdef OCEAN_MEDIA_ANDROID_VIDEODECODER_AVAILABLE
129 unsigned int sampleCounter_ = 0u;
216 explicit USBLiveVideo(
const std::string& url,
const std::string& deviceName);
272 void onPermission(
const std::string& deviceName,
const bool permissionGranted);
355 std::atomic_int hasPermission_ = 0;
373 mutable double minExposureDuration_ = -1.0;
376 mutable double maxExposureDuration_ = -1.0;
379 uint8_t videoDeviceAutoExposureMode_ = uint8_t(-1);
388 mutable float minFocus_ = -1.0f;
391 mutable float maxFocus_ = -1.0f;
393 #ifdef OCEAN_PLATFORM_BUILD_ANDROID
399 std::atomic_bool delayedStart_ =
false;
402 std::atomic_bool delayedStop_ =
false;
This class implements Ocean's image class.
Definition: Frame.h:1792
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition: Frame.h:183
static constexpr T minValue()
Returns the min scalar value.
Definition: Numeric.h:3250
DeviceStreamType
Definition of individual USB UVC device stream types.
Definition: VideoDevice.h:59
This class implements a thread.
Definition: Thread.h:115
This class implements a timestamp.
Definition: Timestamp.h:36
std::shared_ptr< VideoDevice > SharedVideoDevice
Definition of a shared pointer holding a VideoDevice.
Definition: VideoDevice.h:39
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15