Ocean
Ocean Media ImageIO Library

The Ocean Media ImageIO Library provides media functionalities based on Apple's ImageIO Component. More...

Collaboration diagram for Ocean Media ImageIO Library:

Data Structures

class  Ocean::Media::ImageIO::IIOBufferImage
 This class implements a buffer image class for ImageIO. More...
 
class  Ocean::Media::ImageIO::IIOBufferImageRecorder
 This class implements a buffer image recorder for ImageIO. More...
 
class  Ocean::Media::ImageIO::IIOImage
 This class implements an image class for ImageIO. More...
 
class  Ocean::Media::ImageIO::IIOImageRecorder
 This class implements an image recorder for ImageIO. More...
 
class  Ocean::Media::ImageIO::IIOImageSequence
 This class implements an image class for ImageIO. More...
 
class  Ocean::Media::ImageIO::IIOLibrary
 This class implements the ImageIO library. More...
 
class  Ocean::Media::ImageIO::IIOObject
 This class is the base class for all object inside this library. More...
 
class  Ocean::Media::ImageIO::Image
 This class implements read, write, decocde, and encode functions for all file formats supported by the ImageIO media library. More...
 

Typedefs

using Ocean::Media::ImageIO::ScopedCGImageSourceRef = ScopedObjectCompileTimeT< CGImageSourceRef, CFTypeRef, void, CFRelease >
 Definition of a scoped object holding a CGImageSourceRef object. More...
 
using Ocean::Media::ImageIO::ScopedCGImageDestinationRef = ScopedObjectCompileTimeT< CGImageDestinationRef, CFTypeRef, void, CFRelease >
 Definition of a scoped object holding a CGImageDestinationRef object. More...
 

Functions

OCEAN_MEDIA_IIO_EXPORT std::string Ocean::Media::ImageIO::nameImageIOLibrary ()
 Returns the name of this media ImageIO library. More...
 
void Ocean::Media::ImageIO::registerImageIOLibrary ()
 Registers this media library at the global library manager. More...
 
bool Ocean::Media::ImageIO::unregisterImageIOLibrary ()
 Unregisters this media library at the global library manager. More...
 
bool OCEAN_MEDIA_IIO_EXPORT pluginLoad ()
 Tries to load the plugin and initializes all internal 3rd party libraries. More...
 
bool OCEAN_MEDIA_IIO_EXPORT pluginUnload ()
 Tries to unload the plugin and all internal resources of 3rd party libraries. More...
 

Detailed Description

The Ocean Media ImageIO Library provides media functionalities based on Apple's ImageIO Component.

The library is available on Apple platforms.

Typedef Documentation

◆ ScopedCGImageDestinationRef

using Ocean::Media::ImageIO::ScopedCGImageDestinationRef = typedef ScopedObjectCompileTimeT<CGImageDestinationRef, CFTypeRef, void, CFRelease>

Definition of a scoped object holding a CGImageDestinationRef object.

The wrapped CGImageDestinationRef object will be released automatically once the scoped object does not exist anymore.

◆ ScopedCGImageSourceRef

using Ocean::Media::ImageIO::ScopedCGImageSourceRef = typedef ScopedObjectCompileTimeT<CGImageSourceRef, CFTypeRef, void, CFRelease>

Definition of a scoped object holding a CGImageSourceRef object.

The wrapped CGImageSourceRef object will be released automatically once the scoped object does not exist anymore.

Function Documentation

◆ nameImageIOLibrary()

OCEAN_MEDIA_IIO_EXPORT std::string Ocean::Media::ImageIO::nameImageIOLibrary ( )

Returns the name of this media ImageIO library.

◆ pluginLoad()

bool OCEAN_MEDIA_IIO_EXPORT pluginLoad ( )

Tries to load the plugin and initializes all internal 3rd party libraries.

Make sure that the plugin will be loaded only once!

Returns
True, if succeeded
See also
pluginUnload().

◆ pluginUnload()

bool OCEAN_MEDIA_IIO_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!

Returns
True, if succeeded
See also
pluginLoad().

◆ registerImageIOLibrary()

void Ocean::Media::ImageIO::registerImageIOLibrary ( )

Registers this media library at the global library manager.

This function calls IIOLibrary::registerLibrary() only.

◆ unregisterImageIOLibrary()

bool Ocean::Media::ImageIO::unregisterImageIOLibrary ( )

Unregisters this media library at the global library manager.

This function calls IIOLibrary::unregisterLibrary() only.

Returns
True, if succeeded