Ocean
Loading...
Searching...
No Matches
Ocean::Media::AVFoundation Namespace Reference

Namespace of the Media AVFoundation library. More...

Data Structures

class  AVFAudio
 This class implements an AVFoundation audio object. More...
 
class  AVFDevices
 This class implements a simple enumerator for devices available via the AVFoundation library. More...
 
class  AVFFrameMedium
 This is the base class for all AVFoundation frame mediums. More...
 
class  AVFLibrary
 This class implements the AVFoundation library. More...
 
class  AVFLiveAudio
 This class implements an AVFoundation live audio object. More...
 
class  AVFLiveVideo
 This class implements a AVFoundation live video object. More...
 
class  AVFMedium
 This is the base class for all AVFoundation mediums. More...
 
class  AVFMicrophone
 This class implements an AVFoundation microphone object. More...
 
class  AVFMovie
 This class implements an AVFoundation movie object. More...
 
class  AVFMovieRecorder
 This class implements a AVFoundation movie recorder. More...
 
class  PixelBufferAccessor
 This class allows to access a Core Video's CVPixelBuffer. More...
 
class  VideoDecoder
 This class implements a simple video decoder for iOS/macOS using encoded media samples from memory as input. More...
 
class  VideoEncoder
 This class implements a simple video encoder for iOS/macOS using Ocean::Frame objects as input. More...
 

Typedefs

using ScopedCVBufferRef = ScopedObjectCompileTimeVoidT< CVBufferRef, CVBufferRelease >
 Definition of a scoped object holding a CVBufferRef object.
 
using ScopedCVPixelBufferRef = ScopedObjectCompileTimeT< CVPixelBufferRef, CVBufferRef, void, CVBufferRelease >
 Definition of a scoped object holding a CVPixelBufferRef object.
 
using ScopedCMSampleBufferRef = ScopedObjectCompileTimeT< CMSampleBufferRef, CFTypeRef, void, CFRelease >
 Definition of a scoped object holding a CMSampleBufferRef object.
 
using ScopedCMFormatDescriptionRef = ScopedObjectCompileTimeT< CMFormatDescriptionRef, CFTypeRef, void, CFRelease >
 Definition of a scoped object holding a CMFormatDescriptionRef object.
 
using ScopedVTDecompressionSessionRef = ScopedObjectCompileTimeT< VTDecompressionSessionRef, VTDecompressionSessionRef, void, releaseVTDecompressionSession >
 Definition of a scoped object holding a VTDecompressionSessionRef object.
 

Functions

std::string nameAVFLibrary ()
 Returns the name of this media AVFoundation library.
 
void registerAVFLibrary ()
 Registers this media library at the global library manager.
 
bool unregisterAVFLibrary ()
 Unregisters this media library at the global library manager.
 
void releaseVTDecompressionSession (VTDecompressionSessionRef session)
 Release function for VTDecompressionSessionRef that invalidates and releases the session.
 

Detailed Description

Namespace of the Media AVFoundation library.

The Namespace Ocean::Media::AVFoundation is used in the entire Ocean Media AVFoundation Library.

Typedef Documentation

◆ ScopedCMFormatDescriptionRef

Definition of a scoped object holding a CMFormatDescriptionRef object.

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

◆ ScopedVTDecompressionSessionRef

Definition of a scoped object holding a VTDecompressionSessionRef object.

The wrapped VTDecompressionSessionRef object will be invalidated and released automatically once the scoped object does not exist anymore.

Function Documentation

◆ releaseVTDecompressionSession()

void Ocean::Media::AVFoundation::releaseVTDecompressionSession ( VTDecompressionSessionRef  session)
inline

Release function for VTDecompressionSessionRef that invalidates and releases the session.

Parameters
sessionThe session to release