Ocean
Ocean Media USB Library

The Ocean Media USB Library provides camera access to USB video devices. More...

Collaboration diagram for Ocean Media USB Library:

Modules

 Ocean Media USB JNI Library
 The Ocean Media USB JNI Library provides a Java Native Interface for USB.
 

Data Structures

class  Ocean::Media::USB::USBLibrary
 This class implements the USB library. More...
 
class  Ocean::Media::USB::USBLiveVideo
 This class implements an live video class for USB devices. More...
 
class  Ocean::Media::USB::USBMedium
 This class implements the base class for all Medium objects in the USB library. More...
 

Functions

OCEAN_MEDIA_USB_EXPORT std::string Ocean::Media::USB::nameUSBLibrary ()
 Returns the name of this media library. More...
 
void Ocean::Media::USB::registerUSBLibrary ()
 Registers this media library at the global library manager. More...
 
bool Ocean::Media::USB::unregisterUSBLibrary ()
 Unregisters this media library at the global library manager. More...
 

Detailed Description

The Ocean Media USB Library provides camera access to USB video devices.

The library is platform independent but is mainly intended for Android platforms, as USB device access through libusb is quite limited on other platforms.

Function Documentation

◆ nameUSBLibrary()

OCEAN_MEDIA_USB_EXPORT std::string Ocean::Media::USB::nameUSBLibrary ( )

Returns the name of this media library.

◆ registerUSBLibrary()

void Ocean::Media::USB::registerUSBLibrary ( )

Registers this media library at the global library manager.

This function calls USBLibrary::registerLibrary() only.

◆ unregisterUSBLibrary()

bool Ocean::Media::USB::unregisterUSBLibrary ( )

Unregisters this media library at the global library manager.

This function calls USBLibrary::unregisterLibrary() only.

Returns
True, if succeeded