engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMediaBinarySample类 参考abstract

Interface for media binary data samples. 更多...

#include <IMediaBinarySample.h>

Public 成员函数

virtual const void * GetData ()=0
 Get the sample data. 更多...
 
virtual FTimespan GetDuration () const =0
 Get the amount of time for which the sample is valid. 更多...
 
virtual uint32 GetSize () const =0
 Get the size of the binary data. 更多...
 
virtual FMediaTimeStamp GetTime () const =0
 Get the sample time (in the player's local clock). 更多...
 
virtual TOptional< FTimecode > GetTimecode () const
 Get the sample timecode if available. 更多...
 
virtual ~IMediaBinarySample ()
 Virtual destructor.
 

详细描述

Interface for media binary data samples.

成员函数说明

◆ GetData()

virtual const void * IMediaBinarySample::GetData ( )
pure virtual

Get the sample data.

返回
Pointer to data buffer.
参见
GetDuration, GetSize, GetTime

◆ GetDuration()

virtual FTimespan IMediaBinarySample::GetDuration ( ) const
pure virtual

Get the amount of time for which the sample is valid.

A duration of zero indicates that the sample is valid until the timecode of the next sample in the queue.

返回
Sample duration.
参见
GetData, GetSize, GetTime

◆ GetSize()

virtual uint32 IMediaBinarySample::GetSize ( ) const
pure virtual

Get the size of the binary data.

参见
GetData, GetDuration, GetTime

◆ GetTime()

virtual FMediaTimeStamp IMediaBinarySample::GetTime ( ) const
pure virtual

Get the sample time (in the player's local clock).

This value is used primarily for debugging purposes.

返回
Sample time.
参见
GetData, GetDuration, GetSize, GetTime

◆ GetTimecode()

virtual TOptional< FTimecode > IMediaBinarySample::GetTimecode ( ) const
inlinevirtual

Get the sample timecode if available.

返回
Sample timecode.
参见
GetTime

该类的文档由以下文件生成: