mediasession_base.h File Reference

Classes

class  MediaBaseInterface
 

Namespaces

 maxon
 
 maxon::MEDIASESSION
 
 maxon::MEDIASESSION::EXPORT
 
 maxon::MEDIASESSION::EXPORT::BASE
 
 maxon::MEDIASTREAM
 
 maxon::MEDIAFORMAT
 
 maxon::MEDIAFORMAT::IMAGE
 
 maxon::MEDIAFORMAT::IMAGELAYER
 
 maxon::MEDIAFORMAT::IMAGELAYER::FOLDER
 
 maxon::MEDIAFORMAT::IMAGELAYER::ADJUSTMENT
 
 maxon::MEDIAFORMAT::VIDEO
 
 maxon::MEDIAFORMAT::AUDIO
 
 maxon::MEDIAFORMAT::AUDIO::MARKER
 
 maxon::MEDIAPROPERTIES
 
 maxon::MEDIAPROPERTIES::VIDEO
 

Typedefs

using BitDepthConfig = const DataType
 

Enumerations

enum class  MEDIAFORMATTYPE {
  UNDEFINED ,
  IMAGE ,
  ALPHA ,
  LAYERFOLDER ,
  LAYER ,
  LAYERADJUSTMENT ,
  LAYERMASK ,
  MIPMAP ,
  DEEPIMAGEDATA
}
 
enum class  MEDIAALPHATYPE {
  UNDEFINED ,
  PREMULTIPLIED ,
  STRAIGHT
}
 

Functions

 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.mediasession.export")
 
 MAXON_ATTRIBUTE (Float, QUALITY, "net.maxon.mediasession.export.quality")
 
 MAXON_ATTRIBUTE (BytesValue, DATARATE, "net.maxon.mediasession.export.datarate")
 
 MAXON_ATTRIBUTE (Int32, KEYFRAMES, "net.maxon.mediasession.export.keyframes")
 
 MAXON_ATTRIBUTE (Bool, DISABLESRGBCONVERSION, "net.maxon.mediasession.export.disablesrgbconversion")
 
 MAXON_ATTRIBUTE (Array< Char >, CUSTOMDATA, "net.maxon.mediasession.export.customdata")
 
 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.mediasession.export.base")
 
 MAXON_ATTRIBUTE (Group, MF_EXPORT_GROUP_PRESETS, "net.maxon.mediasession.mf.export.group.presets")
 
 MAXON_ATTRIBUTE (Group, MF_EXPORT_GROUP_OPTIONS, "net.maxon.mediasession.mf.export.group.options")
 
template<typename REFTYPE >
static Result< BoolMediaTraverseChildren (const REFTYPE &t, const ConstDataPtr &branch, const Delegate< Result< Bool >(const REFTYPE &child, const REFTYPE &parent, const ConstDataPtr &branch, Int depth)> &func, Int depth=0)
 
template<typename REFTYPE >
static Result< BoolMediaTraverseMeAndChildren (const REFTYPE &t, const REFTYPE &parent, const ConstDataPtr &branch, const Delegate< Result< Bool >(const REFTYPE &child, const REFTYPE &parent, const ConstDataPtr &branch, Int depth)> &func, Int depth=0)
 
 MAXON_ATTRIBUTE (Bool, DUMMY, "net.maxon.mediastream.dummy")
 
enum maxon::MEDIAFORMATTYPE MAXON_ENUM_LIST (MEDIAFORMATTYPE)
 
enum maxon::MEDIAALPHATYPE MAXON_ENUM_LIST (MEDIAALPHATYPE)
 
 MAXON_ATTRIBUTE (MEDIAFORMATTYPE, TYPE, "net.maxon.mediaformat.type")
 
 MAXON_ATTRIBUTE (Int, SUBIMAGEINDEX, "net.maxon.mediaformat.subimageindex")
 
 MAXON_ATTRIBUTE (PixelFormat, PIXELFORMAT, "net.maxon.mediaformat.pixelformat")
 
 MAXON_ATTRIBUTE (ColorProfile, COLORPROFILE, "net.maxon.mediaformat.colorprofile")
 
 MAXON_ATTRIBUTE (Int, WIDTH, "net.maxon.mediaformat.width")
 
 MAXON_ATTRIBUTE (Int, HEIGHT, "net.maxon.mediaformat.height")
 
 MAXON_ATTRIBUTE (Float, ASPECTRATIO, "net.maxon.mediaformat.aspectratio", RESOURCE_DEFAULT(1.0))
 
 MAXON_ATTRIBUTE (Float, DPI, "net.maxon.mediaformat.dpi")
 
 MAXON_ATTRIBUTE (String, STREAMNAME, "net.maxon.mediaformat.streamname")
 
 MAXON_ATTRIBUTE (String, ALPHANAME, "net.maxon.mediaformat.alphaname")
 
 MAXON_ATTRIBUTE (MEDIAALPHATYPE, ALPHATYPE, "net.maxon.mediaformat.alphatype")
 
 MAXON_ATTRIBUTE (Bool, LAYERALPHA, "net.maxon.mediaformat.layeralpha", RESOURCE_DEFAULT(false))
 
 MAXON_ATTRIBUTE (Bool, DEEPIMAGE, "net.maxon.mediaformat.deepimage")
 
 MAXON_ATTRIBUTE (Int, HOTSPOTX, "net.maxon.mediaformat.hotspotx")
 
 MAXON_ATTRIBUTE (Int, HOTSPOTY, "net.maxon.mediaformat.hotspoty")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_X, "net.maxon.mediaformat.layer.boundingbox_x")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_Y, "net.maxon.mediaformat.layer.boundingbox_y")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_W, "net.maxon.mediaformat.layer.boundingbox_w")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_H, "net.maxon.mediaformat.layer.boundingbox_h")
 
 MAXON_ATTRIBUTE (Bool, ENABLED, "net.maxon.mediaformat.layer.enabled")
 
 MAXON_ATTRIBUTE (Bool, TRANSPARENCYPROTECTED, "net.maxon.mediaformat.layer.transparencyprotected")
 
 MAXON_ATTRIBUTE (Float, OPACITY, "net.maxon.mediaformat.layer.opacity")
 
 MAXON_ATTRIBUTE (Float, FILLOPACITY, "net.maxon.mediaformat.layer.fillopacity")
 
 MAXON_ATTRIBUTE (ImagePixelBlend, BLENDMODE, "net.maxon.mediaformat.layer.blendmode")
 
 MAXON_ATTRIBUTE (Int, LAYERGROUP, "net.maxon.mediaformat.layer.layergroup")
 
 MAXON_ATTRIBUTE (Pix8u, MASKDEFCOLOR, "net.maxon.mediaformat.layer.maskdefcolor")
 
 MAXON_ATTRIBUTE (Bool, ISOPEN, "net.maxon.mediaformat.layer.isopen")
 
 MAXON_ATTRIBUTE (Int, PSD_FILTERID, "net.maxon.mediaformat.layer.psd_filterid")
 
 MAXON_ATTRIBUTE (Array< Char >, PSD_DATA, "net.maxon.mediaformat.layer.psd_data")
 
 MAXON_ATTRIBUTE (Float, FPS, "net.maxon.mediaformat.video.fps")
 
 MAXON_ATTRIBUTE (TimeValue, STARTTIME, "net.maxon.mediaformat.video.starttime")
 
 MAXON_ATTRIBUTE (TimeValue, DURATION, "net.maxon.mediaformat.video.duration")
 
 MAXON_ATTRIBUTE (Int, CHANNELCOUNT, "net.maxon.mediaformat.audio.channelcount")
 
 MAXON_ATTRIBUTE (Int, BITSPERCHANNEL, "net.maxon.mediaformat.audio.bitsperchannel")
 
 MAXON_ATTRIBUTE (Float, SAMPLERATE, "net.maxon.mediaformat.audio.samplerate")
 
 MAXON_ATTRIBUTE (Array< DataDictionary >, MARKERARRAY, "net.maxon.mediaformat.audio.markerarray")
 
 MAXON_ATTRIBUTE (Int, IDENTIFIER, "net.maxon.mediaformat.audio.marker.identifier")
 
 MAXON_ATTRIBUTE (TimeValue, POSITION, "net.maxon.mediaformat.audio.marker.position")
 
 MAXON_ATTRIBUTE (String, LABEL, "net.maxon.mediaformat.audio.marker.label")
 
 MAXON_ATTRIBUTE (String, NOTE, "net.maxon.mediaformat.audio.marker.note")
 
 MAXON_ATTRIBUTE (DataDictionary, EXPORTSETTINGS, "net.maxon.mediaformat.exportsettings")
 
 MAXON_ATTRIBUTE (TimeValue, SAMPLETIME, "net.maxon.mediaproperty.sampletime")
 
 MAXON_ATTRIBUTE (TimeValue, SAMPLEDURATION, "net.maxon.mediaproperty.sampleduration")
 
 MAXON_ATTRIBUTE (Int, SKIPPEDFRAMES, "net.maxon.mediaproperty.skippedframes")
 
 MAXON_DECLARATION (Class< MediaBaseRef >, MediaBaseClass, "net.maxon.image.class.mediabase", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 

Variables

 UNDEFINED
 
 IMAGE
 
 ALPHA
 
 LAYERFOLDER
 
 LAYER
 
 LAYERADJUSTMENT
 
 LAYERMASK
 
 MIPMAP
 
 DEEPIMAGEDATA
 
 PREMULTIPLIED
 
 STRAIGHT
 
static const Float UNKNOWNFPS
 

Variable Documentation

◆ UNDEFINED

UNDEFINED

Must never happen! This value should not be used and should never appear.

Undefined.

◆ IMAGE

IMAGE

This is the image resource of the stream. This could be the only one in the stream.

◆ ALPHA

ALPHA

Declares the stream to be interpreted as the alpha channel of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE.

◆ LAYERFOLDER

LAYERFOLDER

Declares the stream to be interpreted as a group layer of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE or another MEDIAFORMATTYPE::LAYERFOLDER.

◆ LAYER

LAYER

Declares the stream to be interpreted as a layer of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE or another MEDIAFORMATTYPE::LAYERGROUP.

◆ LAYERADJUSTMENT

LAYERADJUSTMENT

Declares the stream to be interpreted as a adjustment layer of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE or another MEDIAFORMATTYPE::LAYERFOLDER.

◆ LAYERMASK

LAYERMASK

Declares the stream to be interpreted as a layer mask of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::LAYER, MEDIAFORMATTYPE::LAYERADJUSTMENT or MEDIAFORMATTYPE::LAYERFOLDER.

◆ MIPMAP

MIPMAP

Declares the stream to be interpreted as mipmap of the parent stream. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE.

◆ DEEPIMAGEDATA

DEEPIMAGEDATA

Declares the stream to be interpreted as a deep image data. This stream must be inserted under a MEDIAFORMATTYPE::IMAGE.

◆ PREMULTIPLIED

PREMULTIPLIED

The alpha is related to premultiplied rgb data.

◆ STRAIGHT

STRAIGHT

The alpha is related to straight rgb data.