編輯

共用方式為


MFSampleExtension_TemporalLayerId attribute

The spatial layer ID of the data contained in an IMFSample.

Data type

UINT32

Remarks

A decoder MFT that supports temporal scalability can set this attribute on the IMFSample that contains the decoded bitstream data. This allows an application to discard IMFSample objects containing unwanted temporal layers without having to use MFT_DECODER_OPERATING_POINT to reconfigure the MFT. This is particularly useful when the highest layer that the application wants changes dynamically. Applications can retrieve this value from an IMFSample by invoking the IMFAttributes::GetUINT32 method.

Requirements

Requirement Value
Minimum supported client
Windows 11, version 24H2
Minimum supported server
None.
Header
Mfapi.h