編集

次の方法で共有


MFSampleExtension_SpatialLayerId attribute

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

Data type

UINT32

Remarks

A decoder MFT that supports spatial scalability can set this attribute on the IMFSample that contains the decoded bitstream data. This allows an application to discard IMFSample objects containing unwanted spatial 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