Ocean
|
The Ocean Media AVFoundation Library provides media functionalities based on Apple's AV Foundation framework. More...
Typedefs | |
using | Ocean::Media::AVFoundation::ScopedCVBufferRef = ScopedObjectCompileTimeVoidT< CVBufferRef, CVBufferRelease > |
Definition of a scoped object holding a CVBufferRef object. More... | |
using | Ocean::Media::AVFoundation::ScopedCVPixelBufferRef = ScopedObjectCompileTimeT< CVPixelBufferRef, CVBufferRef, void, CVBufferRelease > |
Definition of a scoped object holding a CVPixelBufferRef object. More... | |
using | Ocean::Media::AVFoundation::ScopedCMSampleBufferRef = ScopedObjectCompileTimeT< CMSampleBufferRef, CFTypeRef, void, CFRelease > |
Definition of a scoped object holding a CMSampleBufferRef object. More... | |
Functions | |
std::string | Ocean::Media::AVFoundation::nameAVFLibrary () |
Returns the name of this media AVFoundation library. More... | |
void | Ocean::Media::AVFoundation::registerAVFLibrary () |
Registers this media library at the global library manager. More... | |
bool | Ocean::Media::AVFoundation::unregisterAVFLibrary () |
Unregisters this media library at the global library manager. More... | |
bool | pluginLoad () |
Tries to load the plugin and initializes all internal 3rd party libraries. More... | |
bool | pluginUnload () |
Tries to unload the plugin and all internal resources of 3rd party libraries. More... | |
The Ocean Media AVFoundation Library provides media functionalities based on Apple's AV Foundation framework.
The library is available on Apple platforms only.
using Ocean::Media::AVFoundation::ScopedCMSampleBufferRef = typedef ScopedObjectCompileTimeT<CMSampleBufferRef, CFTypeRef, void, CFRelease> |
Definition of a scoped object holding a CMSampleBufferRef object.
The wrapped CMSampleBufferRef object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::AVFoundation::ScopedCVBufferRef = typedef ScopedObjectCompileTimeVoidT<CVBufferRef, CVBufferRelease> |
Definition of a scoped object holding a CVBufferRef object.
The wrapped CVBufferRef object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::AVFoundation::ScopedCVPixelBufferRef = typedef ScopedObjectCompileTimeT<CVPixelBufferRef, CVBufferRef, void, CVBufferRelease> |
Definition of a scoped object holding a CVPixelBufferRef object.
The wrapped CVPixelBufferRef object will be released automatically once the scoped object does not exist anymore.
std::string Ocean::Media::AVFoundation::nameAVFLibrary | ( | ) |
Returns the name of this media AVFoundation library.
bool pluginLoad | ( | ) |
Tries to load the plugin and initializes all internal 3rd party libraries.
Make sure that the plugin will be loaded only once!
bool pluginUnload | ( | ) |
Tries to unload the plugin and all internal resources of 3rd party libraries.
Make sure that all resources of this plugin has been released before!
void Ocean::Media::AVFoundation::registerAVFLibrary | ( | ) |
Registers this media library at the global library manager.
This function calls AVFLibrary::registerLibrary() only.
bool Ocean::Media::AVFoundation::unregisterAVFLibrary | ( | ) |
Unregisters this media library at the global library manager.
This function calls AVFLibrary::unregisterLibrary() only.