Murl::IMediaControl Interface Referenceabstract

The IMediaControl interface. More...

#include "murl_i_media_control.h"

Inheritance diagram for Murl::IMediaControl:

Public Member Functions

virtual IVideoStreamCreateVideoStream (const String &id, const ConstData &data, UInt32 videoTrackIndex)=0
 Create a video stream from a media resource. More...
 
virtual IVideoStreamCreateVideoStream (const String &id, const ConstData &data, UInt32 videoTrackIndex, IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY)=0
 Create a video stream from a media resource. More...
 
- Public Member Functions inherited from Murl::IControlable
virtual const StringGetName () const =0
 Get the controlable's name. More...
 
virtual void FrameUpdate ()=0
 Is executed in the platform thread context each frame tick.
 
virtual void LogicUpdate ()=0
 Is executed in the logic thread context each logic tick.
 
virtual void ConfigChanged (const IAppConfiguration *appConfig)=0
 Notification of changed configuration. More...
 

Detailed Description

The IMediaControl interface.

Member Function Documentation

◆ CreateVideoStream() [1/2]

virtual IVideoStream* Murl::IMediaControl::CreateVideoStream ( const String id,
const ConstData data,
UInt32  videoTrackIndex 
)
pure virtual

Create a video stream from a media resource.

Parameters
idThe resource ID.
dataThe resource data.
videoTrackIndexThe zero-based index of the video track in the resource.
Returns
A new video stream, or null if failed.

◆ CreateVideoStream() [2/2]

virtual IVideoStream* Murl::IMediaControl::CreateVideoStream ( const String id,
const ConstData data,
UInt32  videoTrackIndex,
IEnums::PixelFormat  pixelFormat,
UInt32  pixelSizeX,
UInt32  pixelSizeY 
)
pure virtual

Create a video stream from a media resource.

Parameters
idThe resource ID.
dataThe resource data.
videoTrackIndexThe zero-based index of the video track in the resource.
pixelFormatThe desired output pixel format.
pixelSizeXThe desired horizontal size of the stream in pixels.
pixelSizeYThe desired vertical size of the stream in pixels.
Returns
A new video stream, or null if failed.

The documentation for this interface was generated from the following file:
  • murl_i_media_control.h


Copyright © 2011-2024 Spraylight GmbH.