MfD3d11Decoder class

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Release decoder resources.
override
decode(EncodedPacket packet) → Future<DecodedFrame?>
Submit one encoded packet. Returns a DecodedFrame when one is ready, or null if the decoder is buffering (e.g. waiting for B-frame dependencies).
override
flush() → Future<List<DecodedFrame>>
Drain any internally buffered frames at end-of-stream.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

open(DecoderConfig config) → Future<MfD3d11Decoder?>
Open a hardware MF decode session for config. Returns null when the codec isn't H.264/HEVC, the native codecs asset isn't loadable, no hardware MFT exists, the calling thread is STA (MF needs MTA), or the codec is HEVC and no frame size can be established — neither from DecoderConfig.width/DecoderConfig.height nor from the SPS in DecoderConfig.extraData (see below). Each of those makes the facade negotiator fall back.