The video stream class, see IVideoStream. More...

#include "murl_util_video_stream.h"

Inheritance diagram for Murl::Util::VideoStream:

Public Member Functions

 VideoStream (IEnums::PixelFormat outputFormat, UInt32 pixelSizeX, UInt32 pixelSizeY, IEnums::MipMapGenerationMode mipMapGen)
 The constructor. More...
 
virtual ~VideoStream ()
 The destructor.
 
virtual IVideoStreamClone () const
 Implementation of IVideoStream::Clone(). More...
 
virtual IVideoStreamClone (IEnums::PixelFormat pixelFormat) const
 Implementation of IVideoStream::Clone(IEnums::PixelFormat pixelFormat). More...
 
virtual IVideoStreamClone (IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY) const
 Implementation of IVideoStream::Clone((IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY). More...
 
virtual IVideoStreamClone (IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY, IEnums::MipMapGenerationMode mipMapGen) const
 Implementation of IVideoStream::Clone(IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY, IEnums::MipMapGenerationMode mipMapGen). More...
 
virtual UInt32 GetNumberOfFrames () const
 Implementation of IVideoStream::GetNumberOfFrames(). More...
 
virtual UInt32 GetFrameIndex (Double startTime) const
 Implementation of IVideoStream::GetFrameIndex(). More...
 
virtual Double GetStartTime (UInt32 frameIndex) const
 Implementation of IVideoStream::GetStartTime(). More...
 
virtual Double GetFrameRate () const
 Implementation of IVideoStream::GetFrameRate(). More...
 
virtual Double GetFrameDuration () const
 Implementation of IVideoStream::GetFrameDuration(). More...
 
virtual Double GetTotalDuration () const
 Implementation of IVideoStream::GetTotalDuration(). More...
 
virtual UInt32 GetNumberOfMipLevels () const
 Implementation of IVideoStream::GetNumberOfMipLevels(). More...
 
virtual UInt32 GetNumberOfPlanes () const
 Implementation of IVideoStream::GetNumberOfPlanes(). More...
 
virtual IEnums::PixelFormat GetPixelFormat () const
 Implementation of IVideoStream::GetPixelFormat(). More...
 
virtual UInt32 GetBytesPerPixel () const
 Implementation of IVideoStream::GetBytesPerPixel(). More...
 
virtual UInt32 GetPixelSizeX (UInt32 mipLevel) const
 Implementation of IVideoStream::GetPixelSizeX(UInt32 mipLevel). More...
 
virtual UInt32 GetPixelSizeY (UInt32 mipLevel) const
 Implementation of IVideoStream::GetPixelSizeY(UInt32 mipLevel). More...
 
virtual UInt32 GetBytesPerLine (UInt32 mipLevel) const
 Implementation of IVideoStream::GetBytesPerLine(UInt32 mipLevel). More...
 
virtual UInt32 GetNumberOfBytes (UInt32 mipLevel) const
 Implementation of IVideoStream::GetNumberOfBytes(UInt32 mipLevel). More...
 
virtual IEnums::PixelFormat GetPixelFormat (UInt32 planeIndex) const
 Implementation of IVideoStream::GetPixelFormat(UInt32 planeIndex). More...
 
virtual UInt32 GetBytesPerPixel (UInt32 planeIndex) const
 Implementation of IVideoStream::GetBytesPerPixel(UInt32 planeIndex). More...
 
virtual UInt32 GetPixelSizeX (UInt32 mipLevel, UInt32 planeIndex) const
 Implementation of IVideoStream::GetPixelSizeX(UInt32 mipLevel, UInt32 planeIndex). More...
 
virtual UInt32 GetPixelSizeY (UInt32 mipLevel, UInt32 planeIndex) const
 Implementation of IVideoStream::GetPixelSizeY(UInt32 mipLevel, UInt32 planeIndex). More...
 
virtual UInt32 GetBytesPerLine (UInt32 mipLevel, UInt32 planeIndex) const
 Implementation of IVideoStream::GetBytesPerLine(UInt32 mipLevel, UInt32 planeIndex). More...
 
virtual UInt32 GetNumberOfBytes (UInt32 mipLevel, UInt32 planeIndex) const
 Implementation of IVideoStream::GetNumberOfBytes(UInt32 mipLevel, UInt32 planeIndex). More...
 
virtual Bool IsReadyForDecoding () const
 Implementation of IVideoStream::IsReadyForDecoding(). More...
 
virtual Bool StartDecoding ()
 Implementation of IVideoStream::StartDecoding(). More...
 
virtual Bool EndDecoding ()
 Implementation of IVideoStream::EndDecoding(). More...
 
virtual UInt32 Decode (UInt32 mipLevel, UInt32 planeIndex, Data &dstBuffer, IEnums::PixelFormat dstFormat, UInt32 firstFrame, UInt32 numFrames)
 Implementation of IVideoStream::Decode(). More...
 
virtual Bool SetCurrentMode (IEnums::StreamMode mode)
 Implementation of IVideoStream::SetCurrentMode(). More...
 
virtual const IEnums::StreamMode GetCurrentMode () const
 Implementation of IVideoStream::GetCurrentMode(). More...
 
virtual Bool SetCurrentTimeOffset (Double timeOffset)
 Implementation of IVideoStream::SetCurrentTimeOffset(). More...
 
virtual Double GetCurrentTimeOffset () const
 Implementation of IVideoStream::GetCurrentTimeOffset(). More...
 
virtual Bool PrepareDecodedData ()
 Implementation of IVideoStream::PrepareDecodedData(). More...
 
virtual Bool FinishDecodedData ()
 Implementation of IVideoStream::FinishDecodedData(). More...
 
virtual Bool ReleaseDecodedData ()
 Implementation of IVideoStream::ReleaseDecodedData(). More...
 
virtual Double GetDecodedTimeOffset () const
 Implementation of IVideoStream::GetDecodedTimeOffset(). More...
 
virtual UInt64 GetDecodedFrameIndex () const
 Implementation of IVideoStream::GetDecodedFrameIndex(). More...
 
virtual const ConstDataGetDecodedData (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::GetDecodedData(). More...
 
virtual const IVideoSurfaceGetDecodedSurface (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::GetDecodedSurface(). More...
 
virtual const MutableDataLockDecodedData (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::LockDecodedData(). More...
 
virtual IVideoSurfaceLockDecodedSurface (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::LockDecodedSurface(). More...
 
virtual Bool UnlockDecodedData (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::UnlockDecodedData(). More...
 
virtual Bool UnlockDecodedSurface (UInt32 mipLevel, UInt32 planeIndex)
 Implementation of IVideoStream::UnlockDecodedSurface(). More...
 
virtual Bool SetSurface (UInt32 mipLevel, UInt32 planeIndex, IVideoSurface *surface, Bool takeOwnership)
 Set the surface. More...
 
- Public Member Functions inherited from Murl::IVideoStream
virtual ~IVideoStream ()
 The destructor.
 

Detailed Description

The video stream class, see IVideoStream.

Constructor & Destructor Documentation

◆ VideoStream()

Murl::Util::VideoStream::VideoStream ( IEnums::PixelFormat  outputFormat,
UInt32  pixelSizeX,
UInt32  pixelSizeY,
IEnums::MipMapGenerationMode  mipMapGen 
)

The constructor.

Creates a video stream with spcified pixel format and dimension.

Parameters
outputFormatThe pixel format of the new video object.
pixelSizeXThe number of horizontal pixels.
pixelSizeYThe number of vertical pixels.
mipMapGenSpecifies if and how mip maps are generated.

Member Function Documentation

◆ Clone() [1/4]

virtual IVideoStream* Murl::Util::VideoStream::Clone ( ) const
virtual

Implementation of IVideoStream::Clone().

Returns
The new video stream object.

Implements Murl::IVideoStream.

◆ Clone() [2/4]

virtual IVideoStream* Murl::Util::VideoStream::Clone ( IEnums::PixelFormat  pixelFormat) const
virtual

Implementation of IVideoStream::Clone(IEnums::PixelFormat pixelFormat).

Parameters
pixelFormatThe pixel format of the new video object.
Returns
The new video stream object or null if conversion is not available.

Implements Murl::IVideoStream.

◆ Clone() [3/4]

virtual IVideoStream* Murl::Util::VideoStream::Clone ( IEnums::PixelFormat  pixelFormat,
UInt32  pixelSizeX,
UInt32  pixelSizeY 
) const
virtual

Implementation of IVideoStream::Clone((IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY).

Parameters
pixelFormatThe pixel format of the new video object.
pixelSizeXThe number of horizontal pixels of the new video object.
pixelSizeYThe number of vertical pixels of the new video object.
Returns
The new video stream object or null if conversion is not available.

Implements Murl::IVideoStream.

◆ Clone() [4/4]

virtual IVideoStream* Murl::Util::VideoStream::Clone ( IEnums::PixelFormat  pixelFormat,
UInt32  pixelSizeX,
UInt32  pixelSizeY,
IEnums::MipMapGenerationMode  mipMapGen 
) const
virtual

Implementation of IVideoStream::Clone(IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY, IEnums::MipMapGenerationMode mipMapGen).

Parameters
pixelFormatThe pixel format of the new video object.
pixelSizeXThe number of horizontal pixels of the new video object.
pixelSizeYThe number of vertical pixels of the new video object.
mipMapGenSpecifies if and how mip maps are generated.
Returns
The new video stream object or null if conversion is not available.

Implements Murl::IVideoStream.

◆ GetNumberOfFrames()

virtual UInt32 Murl::Util::VideoStream::GetNumberOfFrames ( ) const
virtual

Implementation of IVideoStream::GetNumberOfFrames().

Returns
The number of frames.

Implements Murl::IVideoStream.

◆ GetFrameIndex()

virtual UInt32 Murl::Util::VideoStream::GetFrameIndex ( Double  startTime) const
virtual

Implementation of IVideoStream::GetFrameIndex().

Parameters
startTimeThe frame start time in seconds.
Returns
The frame index.

Implements Murl::IVideoStream.

◆ GetStartTime()

virtual Double Murl::Util::VideoStream::GetStartTime ( UInt32  frameIndex) const
virtual

Implementation of IVideoStream::GetStartTime().

Parameters
frameIndexThe index of the frame to query.
Returns
The frame's start time.

Implements Murl::IVideoStream.

◆ GetFrameRate()

virtual Double Murl::Util::VideoStream::GetFrameRate ( ) const
virtual

Implementation of IVideoStream::GetFrameRate().

Returns
The number of frames per second.

Implements Murl::IVideoStream.

◆ GetFrameDuration()

virtual Double Murl::Util::VideoStream::GetFrameDuration ( ) const
virtual

Implementation of IVideoStream::GetFrameDuration().

Returns
The frame duration in seconds.

Implements Murl::IVideoStream.

◆ GetTotalDuration()

virtual Double Murl::Util::VideoStream::GetTotalDuration ( ) const
virtual

Implementation of IVideoStream::GetTotalDuration().

Returns
The total duration.

Implements Murl::IVideoStream.

◆ GetNumberOfMipLevels()

virtual UInt32 Murl::Util::VideoStream::GetNumberOfMipLevels ( ) const
virtual

Implementation of IVideoStream::GetNumberOfMipLevels().

Returns
The number of mip levels.

Implements Murl::IVideoStream.

◆ GetNumberOfPlanes()

virtual UInt32 Murl::Util::VideoStream::GetNumberOfPlanes ( ) const
virtual

Implementation of IVideoStream::GetNumberOfPlanes().

Returns
The number of color planes.

Implements Murl::IVideoStream.

◆ GetPixelFormat() [1/2]

virtual IEnums::PixelFormat Murl::Util::VideoStream::GetPixelFormat ( ) const
virtual

Implementation of IVideoStream::GetPixelFormat().

Returns
The pixel format of the stream.

Implements Murl::IVideoStream.

◆ GetBytesPerPixel() [1/2]

virtual UInt32 Murl::Util::VideoStream::GetBytesPerPixel ( ) const
virtual

Implementation of IVideoStream::GetBytesPerPixel().

Returns
The number of bytes per pixel for the stream format.

Implements Murl::IVideoStream.

◆ GetPixelSizeX() [1/2]

virtual UInt32 Murl::Util::VideoStream::GetPixelSizeX ( UInt32  mipLevel) const
virtual

Implementation of IVideoStream::GetPixelSizeX(UInt32 mipLevel).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
Returns
The number of horizontal pixels.

Implements Murl::IVideoStream.

◆ GetPixelSizeY() [1/2]

virtual UInt32 Murl::Util::VideoStream::GetPixelSizeY ( UInt32  mipLevel) const
virtual

Implementation of IVideoStream::GetPixelSizeY(UInt32 mipLevel).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
Returns
The number of vertical pixels.

Implements Murl::IVideoStream.

◆ GetBytesPerLine() [1/2]

virtual UInt32 Murl::Util::VideoStream::GetBytesPerLine ( UInt32  mipLevel) const
virtual

Implementation of IVideoStream::GetBytesPerLine(UInt32 mipLevel).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
Returns
The number of bytes per line.

Implements Murl::IVideoStream.

◆ GetNumberOfBytes() [1/2]

virtual UInt32 Murl::Util::VideoStream::GetNumberOfBytes ( UInt32  mipLevel) const
virtual

Implementation of IVideoStream::GetNumberOfBytes(UInt32 mipLevel).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
Returns
The number of bytes.

Implements Murl::IVideoStream.

◆ GetPixelFormat() [2/2]

virtual IEnums::PixelFormat Murl::Util::VideoStream::GetPixelFormat ( UInt32  planeIndex) const
virtual

Implementation of IVideoStream::GetPixelFormat(UInt32 planeIndex).

Parameters
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The pixel format of the plane.

Implements Murl::IVideoStream.

◆ GetBytesPerPixel() [2/2]

virtual UInt32 Murl::Util::VideoStream::GetBytesPerPixel ( UInt32  planeIndex) const
virtual

Implementation of IVideoStream::GetBytesPerPixel(UInt32 planeIndex).

Parameters
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The number of bytes per pixel for the given plane.

Implements Murl::IVideoStream.

◆ GetPixelSizeX() [2/2]

virtual UInt32 Murl::Util::VideoStream::GetPixelSizeX ( UInt32  mipLevel,
UInt32  planeIndex 
) const
virtual

Implementation of IVideoStream::GetPixelSizeX(UInt32 mipLevel, UInt32 planeIndex).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The number of horizontal pixels.

Implements Murl::IVideoStream.

◆ GetPixelSizeY() [2/2]

virtual UInt32 Murl::Util::VideoStream::GetPixelSizeY ( UInt32  mipLevel,
UInt32  planeIndex 
) const
virtual

Implementation of IVideoStream::GetPixelSizeY(UInt32 mipLevel, UInt32 planeIndex).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The number of vertical pixels.

Implements Murl::IVideoStream.

◆ GetBytesPerLine() [2/2]

virtual UInt32 Murl::Util::VideoStream::GetBytesPerLine ( UInt32  mipLevel,
UInt32  planeIndex 
) const
virtual

Implementation of IVideoStream::GetBytesPerLine(UInt32 mipLevel, UInt32 planeIndex).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The number of bytes per line.

Implements Murl::IVideoStream.

◆ GetNumberOfBytes() [2/2]

virtual UInt32 Murl::Util::VideoStream::GetNumberOfBytes ( UInt32  mipLevel,
UInt32  planeIndex 
) const
virtual

Implementation of IVideoStream::GetNumberOfBytes(UInt32 mipLevel, UInt32 planeIndex).

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The number of bytes.

Implements Murl::IVideoStream.

◆ IsReadyForDecoding()

virtual Bool Murl::Util::VideoStream::IsReadyForDecoding ( ) const
virtual

Implementation of IVideoStream::IsReadyForDecoding().

Returns
true if ready.

Implements Murl::IVideoStream.

◆ StartDecoding()

virtual Bool Murl::Util::VideoStream::StartDecoding ( )
virtual

Implementation of IVideoStream::StartDecoding().

Returns
true if successful.

Implements Murl::IVideoStream.

◆ EndDecoding()

virtual Bool Murl::Util::VideoStream::EndDecoding ( )
virtual

Implementation of IVideoStream::EndDecoding().

Returns
true if successful.

Implements Murl::IVideoStream.

◆ Decode()

virtual UInt32 Murl::Util::VideoStream::Decode ( UInt32  mipLevel,
UInt32  planeIndex,
Data dstBuffer,
IEnums::PixelFormat  dstFormat,
UInt32  firstFrame,
UInt32  numFrames 
)
virtual

Implementation of IVideoStream::Decode().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
dstBufferThe destination data.
dstFormatThe destination pixel format.
firstFrameThe first frame to decode.
numFramesThe number of frames to decode.
Returns
The number of decoded frames.

Implements Murl::IVideoStream.

◆ SetCurrentMode()

virtual Bool Murl::Util::VideoStream::SetCurrentMode ( IEnums::StreamMode  mode)
virtual

Implementation of IVideoStream::SetCurrentMode().

Parameters
modeThe access mode to apply.
Returns
true if a new frame was triggered.

Implements Murl::IVideoStream.

◆ GetCurrentMode()

virtual const IEnums::StreamMode Murl::Util::VideoStream::GetCurrentMode ( ) const
virtual

Implementation of IVideoStream::GetCurrentMode().

Returns
The current access mode.

Implements Murl::IVideoStream.

◆ SetCurrentTimeOffset()

virtual Bool Murl::Util::VideoStream::SetCurrentTimeOffset ( Double  timeOffset)
virtual

Implementation of IVideoStream::SetCurrentTimeOffset().

Parameters
timeOffsetThe time offset in seconds.
Returns
true if a new frame was triggered.

Implements Murl::IVideoStream.

◆ GetCurrentTimeOffset()

virtual Double Murl::Util::VideoStream::GetCurrentTimeOffset ( ) const
virtual

Implementation of IVideoStream::GetCurrentTimeOffset().

Returns
The time offset in seconds.

Implements Murl::IVideoStream.

◆ PrepareDecodedData()

virtual Bool Murl::Util::VideoStream::PrepareDecodedData ( )
virtual

Implementation of IVideoStream::PrepareDecodedData().

Returns
true if successful.

Implements Murl::IVideoStream.

◆ FinishDecodedData()

virtual Bool Murl::Util::VideoStream::FinishDecodedData ( )
virtual

Implementation of IVideoStream::FinishDecodedData().

Returns
true if successful.

Implements Murl::IVideoStream.

◆ ReleaseDecodedData()

virtual Bool Murl::Util::VideoStream::ReleaseDecodedData ( )
virtual

Implementation of IVideoStream::ReleaseDecodedData().

Returns
true if successful.

Implements Murl::IVideoStream.

Reimplemented in Murl::Util::EvictableVideoStream.

◆ GetDecodedTimeOffset()

virtual Double Murl::Util::VideoStream::GetDecodedTimeOffset ( ) const
virtual

Implementation of IVideoStream::GetDecodedTimeOffset().

Returns
The time offset in seconds.

Implements Murl::IVideoStream.

◆ GetDecodedFrameIndex()

virtual UInt64 Murl::Util::VideoStream::GetDecodedFrameIndex ( ) const
virtual

Implementation of IVideoStream::GetDecodedFrameIndex().

Returns
The frame index.

Implements Murl::IVideoStream.

◆ GetDecodedData()

virtual const ConstData& Murl::Util::VideoStream::GetDecodedData ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::GetDecodedData().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The decoded data or empty data if not supported.

Implements Murl::IVideoStream.

◆ GetDecodedSurface()

virtual const IVideoSurface* Murl::Util::VideoStream::GetDecodedSurface ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::GetDecodedSurface().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The decoded surface or null if not supported.

Implements Murl::IVideoStream.

◆ LockDecodedData()

virtual const MutableData& Murl::Util::VideoStream::LockDecodedData ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::LockDecodedData().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The mutable data or empty data if not supported.

Implements Murl::IVideoStream.

◆ LockDecodedSurface()

virtual IVideoSurface* Murl::Util::VideoStream::LockDecodedSurface ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::LockDecodedSurface().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
The mutable surface or null if not supported.

Implements Murl::IVideoStream.

◆ UnlockDecodedData()

virtual Bool Murl::Util::VideoStream::UnlockDecodedData ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::UnlockDecodedData().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
true if successful.

Implements Murl::IVideoStream.

◆ UnlockDecodedSurface()

virtual Bool Murl::Util::VideoStream::UnlockDecodedSurface ( UInt32  mipLevel,
UInt32  planeIndex 
)
virtual

Implementation of IVideoStream::UnlockDecodedSurface().

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
Returns
true if successful.

Implements Murl::IVideoStream.

◆ SetSurface()

virtual Bool Murl::Util::VideoStream::SetSurface ( UInt32  mipLevel,
UInt32  planeIndex,
IVideoSurface surface,
Bool  takeOwnership 
)
virtual

Set the surface.

Parameters
mipLevelThe mip level in the range [0 .. GetNumberOfMipLevels() - 1].
planeIndexThe color plane index in the range [0 .. GetNumberOfPlanes() - 1].
surfaceThe source video surface.
takeOwnershipTake the source video surface ownershop if true.
Returns
true if successful.

The documentation for this class was generated from the following file:
  • murl_util_video_stream.h


Copyright © 2011-2018 Spraylight GmbH.