engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
AVEncoder::FAVPacket结构体 参考

Encoded output. 更多...

#include <AVEncoder.h>

Public 成员函数

bool IsValid () const
 The encoder can fail to encode a given frame This might be expanded to an enum to show a reason, or removed entirely in the future once we make the encoders a bit sturdier. 更多...
 
bool IsVideoKeyFrame () const
 Returns true if this packet is a video key frame
 

Public 属性

union {
}; 
 Depending if it's a Video or Audio packet, you should only access either the Video or Audio member.
 
TArray< uint8 > Data
 Actual encoded output
 
struct {
} Timings
 Encoding latency
 

详细描述

Encoded output.

Both FVideoEncoder and FAudioEncoder use this same type to output the encoded data.

成员函数说明

◆ IsValid()

bool AVEncoder::FAVPacket::IsValid ( ) const
inline

The encoder can fail to encode a given frame This might be expanded to an enum to show a reason, or removed entirely in the future once we make the encoders a bit sturdier.

Ideally, failing to encode should be dealt internally by the encoder, correcting whatever failed. In turn a FVPacket received from the encoder should all be valid


该结构体的文档由以下文件生成: