Open Search
    mediasession_output.h File Reference

    Classes

    class  MediaOutputInterface
     
    class  MediaOutputTextureInterface
     
    class  MediaOutputUrlInterface
     

    Namespaces

     maxon
     
     maxon::MEDIAOUTPUTURLPROPERTIES
     

    Typedefs

    using MediaOutputSelectionHandler = Delegate< Result< SELECTIONHANDLERRESULT >(const MediaStreamRef &stream, const MediaStreamFormat &props)>
     
    using MediaSessionProgressCallback = Delegate< void(const ProgressRef &progress, Float percent, const TimeValue &duration, const TimeValue &expectedTotalTime)>
     

    Enumerations

    enum class  SELECTIONHANDLERRESULT {
      NONE ,
      STRUCTURE ,
      CONTENT_FLAG ,
      STRUCTURE_WITH_CONTENT ,
      ALL
    }
     

    Functions

    enum maxon::SELECTIONHANDLERRESULT MAXON_ENUM_FLAGS (SELECTIONHANDLERRESULT)
     
     MAXON_ATTRIBUTE (Bool, SUPPORTS_IMAGE, "net.maxon.media.output.supports_image")
     
     MAXON_ATTRIBUTE (Bool, SUPPORTS_VIDEO, "net.maxon.media.output.supports_video")
     
     MAXON_ATTRIBUTE (Bool, SUPPORTS_AUDIO, "net.maxon.media.output.supports_audio")
     
     MAXON_ATTRIBUTE (Bool, SUPPORTS_SYSTEMOPTIONS, "net.maxon.media.output.supports_systemoptions")
     
     MAXON_ATTRIBUTE (Int, MAXIMALALPHACHANNELS, "net.maxon.media.output.maximalalphachannels")
     
     MAXON_ATTRIBUTE (Int, MAXIMALIMAGERESOLUTION, "net.maxon.media.output.maximalimageresolution")
     
     MAXON_ATTRIBUTE (Int, MAXIMALLAYERRESOLUTION, "net.maxon.media.output.maximallayerresolution")
     
     MAXON_ATTRIBUTE (Block< BitDepthConfig >, BITDEPTHSIMAGE, "net.maxon.media.output.bitdepthsimage")
     
     MAXON_ATTRIBUTE (Block< BitDepthConfig >, BITDEPTHSLAYER, "net.maxon.media.output.bitdepthslayer")
     
     MAXON_ATTRIBUTE (Bool, EMBED_COLORPROFILE, "net.maxon.media.output.embed_colorprofile")
     
     MAXON_DECLARATION (Class< MediaOutputRef >, MediaOutputBaseClass, "net.maxon.image.class.mediaoutputbase")
     
     MAXON_DECLARATION (Class< MediaOutputTextureRef >, MediaOutputTextureClass, "net.maxon.image.class.mediaoutputtexture")
     
     MAXON_DECLARATION (Class< MediaOutputUrlRef >, MediaOutputUrlBaseClass, "net.maxon.image.class.mediaoutputurlbase")
     
    Result< MediaSessionRef > MediaSessionImport (const Url &fileName, const TimeValue &targetTime, MEDIASESSIONFLAGS flags, const MediaOutputRef &outputConverter, const MediaOutputSelectionHandler &selectionHandler, const MediaSessionProgressCallback &progressCallback, const FileFormatHandler &preferredHandler, const ValueReceiver< const FileFormatHandler & > &fileFormats={})
     

    Variables

     NONE
     
     STRUCTURE
     
     CONTENT_FLAG
     
     STRUCTURE_WITH_CONTENT
     
     ALL
     

    Variable Documentation

    ◆ NONE

    NONE

    ◆ STRUCTURE

    STRUCTURE

    load the image structure (e.g. layers, folders) but create only the layers.

    ◆ CONTENT_FLAG

    CONTENT_FLAG

    load the image/layer data.

    ◆ STRUCTURE_WITH_CONTENT

    STRUCTURE_WITH_CONTENT

    load the image structure and load the image/layer data.

    ◆ ALL

    ALL

    load all (e.g. like no filter would be set).