The IVideoSource graph node interface.
More...
#include "murl_graph_i_video_source.h"
The IVideoSource graph node interface.
This interface represents a node referencing a read-only Resource::IVideo object, which can be played back by assigning it to one or more individual Graph::IVideoSequence nodes.
◆ GetNodeInterface() [1/2]
virtual INode* Murl::Graph::IVideoSource::GetNodeInterface |
( |
| ) |
|
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
virtual const INode* Murl::Graph::IVideoSource::GetNodeInterface |
( |
| ) |
const |
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
- Returns
- The constant Graph::INode interface, or null if not available
◆ GetVideoResourceTarget() [1/2]
◆ GetVideoResourceTarget() [2/2]
◆ SetBufferType()
Set the video node's buffer type.
- Parameters
-
- Returns
- true if successful.
◆ GetBufferType()
Get the video node's buffer type.
- Returns
- The buffer type.
◆ GetDuration()
virtual Double Murl::Graph::IVideoSource::GetDuration |
( |
| ) |
const |
|
pure virtual |
Get the duration of the video.
- Returns
- The video duration in seconds.
◆ AcquireVideoStream()
virtual IVideoStream* Murl::Graph::IVideoSource::AcquireVideoStream |
( |
| ) |
|
|
pure virtual |
Get a video stream.
- Returns
- The video stream, or null if not available.
◆ ReleaseVideoStream()
virtual Bool Murl::Graph::IVideoSource::ReleaseVideoStream |
( |
IVideoStream * |
stream | ) |
|
|
pure virtual |
Release a previously acquired video stream.
- Parameters
-
stream | The video stream to release |
- Returns
- true if successful.
◆ CreateVideoTexture()
Create a suitable video texture for optimal decoding.
A video source may provide special texture objects that are better suited for optimal decoding than the standard textures created via a video renderer. If no special texture is needed, this method returns a null pointer, and a standard texture should be created in the usual way. If this method returns a valid pointer, the returned texture can be used just like a standard one, including destruction via the renderer.
- Parameters
-
renderer | The video renderer used for creation. |
- Returns
- A pointer to a special texture, or null if not needed.
The documentation for this interface was generated from the following file:
- murl_graph_i_video_source.h