EncodedVideoFrameInfo
- Unreal C++
更新时间不可用
外部编码视频帧的信息。
struct EncodedVideoFrameInfo {
EncodedVideoFrameInfo()
: codecType(VIDEO_CODEC_H264),
width(0),
height(0),
framesPerSecond(0),
frameType(VIDEO_FRAME_TYPE_BLANK_FRAME),
rotation(VIDEO_ORIENTATION_0),
trackId(0),
captureTimeMs(0),
decodeTimeMs(0),
uid(0),
streamType(VIDEO_STREAM_HIGH) {}
EncodedVideoFrameInfo(const EncodedVideoFrameInfo& rhs)
: codecType(rhs.codecType),
width(rhs.width),
height(rhs.height),
framesPerSecond(rhs.framesPerSecond),
frameType(rhs.frameType),
rotation(rhs.rotation),
trackId(rhs.trackId),
captureTimeMs(rhs.captureTimeMs),
decodeTimeMs(rhs.decodeTimeMs),
uid(rhs.uid),
streamType(rhs.streamType) {}
EncodedVideoFrameInfo& operator=(const EncodedVideoFrameInfo& rhs) {
if (this == &rhs) return *this;
codecType = rhs.codecType;
width = rhs.width;
height = rhs.height;
framesPerSecond = rhs.framesPerSecond;
frameType = rhs.frameType;
rotation = rhs.rotation;
trackId = rhs.trackId;
captureTimeMs = rhs.captureTimeMs;
decodeTimeMs = rhs.decodeTimeMs;
uid = rhs.uid;
streamType = rhs.streamType;
return *this;
}属性
| 参数名 | 描述 |
|---|---|
codecType | 视频编码类型,详见 VIDEO_CODEC_TYPE。默认值为 |
width | |
height | |
framesPerSecond | |
frameType | 视频帧的类型,详见 VIDEO_FRAME_TYPE。 |
rotation | 视频帧的旋转信息,详见 VIDEO_ORIENTATION。 |
trackId | |
captureTimeMs | |
decodeTimeMs | |
uid | |
streamType | 视频流类型。详见 VIDEO_STREAM_TYPE。 |