Skip to main content

SetShapeXmaNumSubframesToDecode

设置每次运行要解码的子帧数量。

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
指向 SHAPE_XMA_CONTEXT 对象的指针。 numSubframes   
Type: UINT32
要解码的子帧数量。有效值为 1、2、4 和 8。

Return value

Type: HRESULT HRESULT 成功或错误代码。

Remarks

若要获取每次运行时当前要解码的子帧数量,请使用 GetShapeXmaNumSubframesToDecode 若要设置要跳过的子帧数量,请使用 SetShapeXmaNumSubframesToSkip 有关详细信息,请参阅 SHAPE 概述XMA 部分。

Requirements

头文件: shapexmacontext.h 支持的平台: XBOX One 系列主机和 XBOX Series 主机

See also

ShapeXmaContext
最后修改于 2026年8月24日