Ocean
|
The Ocean Media MediaFoundation Library provides MediaFoundation media functionalities. More...
Data Structures | |
class | Ocean::Media::MediaFoundation::MFAudio |
This class implements a Media Foundation audio object. More... | |
class | Ocean::Media::MediaFoundation::MFFiniteMedium |
This class is the base class for all Media Foundation finite mediums. More... | |
class | Ocean::Media::MediaFoundation::MFFrameMedium |
This is the base class for all Media Foundation frame mediums. More... | |
class | Ocean::Media::MediaFoundation::MFLibrary |
This class implements the MediaFoundation library. More... | |
class | Ocean::Media::MediaFoundation::MFLiveVideo |
This class implements a MediaFoundation live video object allowing to access e.g., webcams. More... | |
class | Ocean::Media::MediaFoundation::MFMedium |
This is the base class for all MediaFoundation mediums. More... | |
class | Ocean::Media::MediaFoundation::MFMovie |
This class implements a MediaFoundation movie object. More... | |
class | Ocean::Media::MediaFoundation::MFMovieRecorder |
This class implements a MediaFoundation movie recorder object. More... | |
class | Ocean::Media::MediaFoundation::MFSoundMedium |
This class is the base class for all MediaFoundation sound mediums. More... | |
class | Ocean::Media::MediaFoundation::SampleGrabber |
This class implements a callback interface. More... | |
class | Ocean::Media::MediaFoundation::Utilities |
This class implements utilities functions for the Microsoft Media Foundation. More... | |
Typedefs | |
template<typename T > | |
using | Ocean::Media::MediaFoundation::ScopedMediaFoundationObject = ScopedObjectCompileTimeVoidT< T *, release > |
Template specialization for ScopedObjectCompileTimeVoid using the release() function to release media foundation objects. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFActivate = ScopedMediaFoundationObject< IMFActivate > |
Definition of a scoped object holding a IMFActivate object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFAudioStreamVolume = ScopedMediaFoundationObject< IMFAudioStreamVolume > |
Definition of a scoped object holding a IMFAudioStreamVolume object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFAttributes = ScopedMediaFoundationObject< IMFAttributes > |
Definition of a scoped object holding a IMFAttributes object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaBuffer = ScopedMediaFoundationObject< IMFMediaBuffer > |
Definition of a scoped object holding a IMFMediaBuffer object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaEvent = ScopedMediaFoundationObject< IMFMediaEvent > |
Definition of a scoped object holding a IMFMediaEvent object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaEventGenerator = ScopedMediaFoundationObject< IMFMediaEventGenerator > |
Definition of a scoped object holding a IMFMediaEventGenerator object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaSession = ScopedMediaFoundationObject< IMFMediaSession > |
Definition of a scoped object holding a IMFMediaSession object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaSource = ScopedMediaFoundationObject< IMFMediaSource > |
Definition of a scoped object holding a ScopedIMFMediaSource object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaType = ScopedMediaFoundationObject< IMFMediaType > |
Definition of a scoped object holding a IMFMediaType object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFMediaTypeHandler = ScopedMediaFoundationObject< IMFMediaTypeHandler > |
Definition of a scoped object holding a IMFMediaTypeHandler object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFSample = ScopedMediaFoundationObject< IMFSample > |
Definition of a scoped object holding a IMFSample object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFStreamSink = ScopedMediaFoundationObject< IMFStreamSink > |
Definition of a scoped object holding a IMFStreamSink object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFTopology = ScopedMediaFoundationObject< IMFTopology > |
Definition of a scoped object holding a IMFTopology object. More... | |
using | Ocean::Media::MediaFoundation::ScopedIMFTopologyNode = ScopedMediaFoundationObject< IMFTopologyNode > |
Definition of a scoped object holding a IMFTopologyNode object. More... | |
typedef ScopedMediaFoundationObject< SampleGrabber > | Ocean::Media::MediaFoundation::ScopedSampleGrabber |
Definition of a scoped object holding a SampleGrabber object. More... | |
Functions | |
OCEAN_MEDIA_MF_EXPORT std::string | Ocean::Media::MediaFoundation::nameMediaFoundationLibrary () |
Returns the name of this media MediaFoundation library. More... | |
void | Ocean::Media::MediaFoundation::registerMediaFoundationLibrary () |
Registers this media library at the global library manager. More... | |
bool | Ocean::Media::MediaFoundation::unregisterMediaFoundationLibrary () |
Unregisters this media library at the global library manager. More... | |
template<class T > | |
void | Ocean::Media::MediaFoundation::release (T *object) |
This functions allows to release a media foundation object if it does exist. More... | |
bool OCEAN_MEDIA_MF_EXPORT | pluginLoad () |
Tries to load the plugin and initializes all internal 3rd party libraries. More... | |
bool OCEAN_MEDIA_MF_EXPORT | pluginUnload () |
Tries to unload the plugin and all internal resources of 3rd party libraries. More... | |
The Ocean Media MediaFoundation Library provides MediaFoundation media functionalities.
The library is available on windows platforms only.
using Ocean::Media::MediaFoundation::ScopedIMFActivate = typedef ScopedMediaFoundationObject<IMFActivate> |
Definition of a scoped object holding a IMFActivate object.
The wrapped IMFActivate object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFAttributes = typedef ScopedMediaFoundationObject<IMFAttributes> |
Definition of a scoped object holding a IMFAttributes object.
The wrapped IMFAttributes object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFAudioStreamVolume = typedef ScopedMediaFoundationObject<IMFAudioStreamVolume> |
Definition of a scoped object holding a IMFAudioStreamVolume object.
The wrapped IMFAudioStreamVolume object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaBuffer = typedef ScopedMediaFoundationObject<IMFMediaBuffer> |
Definition of a scoped object holding a IMFMediaBuffer object.
The wrapped IMFMediaBuffer object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaEvent = typedef ScopedMediaFoundationObject<IMFMediaEvent> |
Definition of a scoped object holding a IMFMediaEvent object.
The wrapped IMFMediaEvent object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaEventGenerator = typedef ScopedMediaFoundationObject<IMFMediaEventGenerator> |
Definition of a scoped object holding a IMFMediaEventGenerator object.
The wrapped IMFMediaEventGenerator object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaSession = typedef ScopedMediaFoundationObject<IMFMediaSession> |
Definition of a scoped object holding a IMFMediaSession object.
The wrapped IMFMediaSession object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaSource = typedef ScopedMediaFoundationObject<IMFMediaSource> |
Definition of a scoped object holding a ScopedIMFMediaSource object.
The wrapped ScopedIMFMediaSource object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaType = typedef ScopedMediaFoundationObject<IMFMediaType> |
Definition of a scoped object holding a IMFMediaType object.
The wrapped IMFMediaType object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFMediaTypeHandler = typedef ScopedMediaFoundationObject<IMFMediaTypeHandler> |
Definition of a scoped object holding a IMFMediaTypeHandler object.
The wrapped IMFMediaTypeHandler object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFSample = typedef ScopedMediaFoundationObject<IMFSample> |
Definition of a scoped object holding a IMFSample object.
The wrapped IMFSample object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFStreamSink = typedef ScopedMediaFoundationObject<IMFStreamSink> |
Definition of a scoped object holding a IMFStreamSink object.
The wrapped IMFStreamSink object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFTopology = typedef ScopedMediaFoundationObject<IMFTopology> |
Definition of a scoped object holding a IMFTopology object.
The wrapped IMFTopology object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedIMFTopologyNode = typedef ScopedMediaFoundationObject<IMFTopologyNode> |
Definition of a scoped object holding a IMFTopologyNode object.
The wrapped IMFTopologyNode object will be released automatically once the scoped object does not exist anymore.
using Ocean::Media::MediaFoundation::ScopedMediaFoundationObject = typedef ScopedObjectCompileTimeVoidT<T*, release> |
Template specialization for ScopedObjectCompileTimeVoid using the release() function to release media foundation objects.
T | The data type of the wrapped object |
typedef ScopedMediaFoundationObject<SampleGrabber> Ocean::Media::MediaFoundation::ScopedSampleGrabber |
Definition of a scoped object holding a SampleGrabber object.
The wrapped SampleGrabber object will be released automatically once the scoped object does not exist anymore.
OCEAN_MEDIA_MF_EXPORT std::string Ocean::Media::MediaFoundation::nameMediaFoundationLibrary | ( | ) |
Returns the name of this media MediaFoundation library.
bool OCEAN_MEDIA_MF_EXPORT pluginLoad | ( | ) |
Tries to load the plugin and initializes all internal 3rd party libraries.
Make sure that the plugin will be loaded only once!
bool OCEAN_MEDIA_MF_EXPORT 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::MediaFoundation::registerMediaFoundationLibrary | ( | ) |
Registers this media library at the global library manager.
This function calls MFLibrary::registerLibrary() only.
void Ocean::Media::MediaFoundation::release | ( | T * | object | ) |
This functions allows to release a media foundation object if it does exist.
object | Media Foundation object to be released |
bool Ocean::Media::MediaFoundation::unregisterMediaFoundationLibrary | ( | ) |
Unregisters this media library at the global library manager.
This function calls MFLibrary::unregisterLibrary() only.