PixaDecoderCapabilities class final

Production capability contract for one decoder adapter.

Constructors

PixaDecoderCapabilities({required bool metadataProbe, required bool staticDecode, required bool animatedDecode, required bool progressiveDecode, required bool regionDecode, required bool processorInput, required bool streamingInput, required bool defaultRuntimeDisplay, required bool zeroCopyInput, required bool ownedOutputBuffers, required bool stable})
Creates an explicit decoder capability contract.
const
PixaDecoderCapabilities.dartBytes({bool metadataProbe = false, bool staticDecode = true, bool animatedDecode = false, bool progressiveDecode = false, bool regionDecode = false, bool processorInput = false, bool streamingInput = false, bool defaultRuntimeDisplay = false, bool stable = true})
Explicit Dart decoder defaults for opt-in non-default plugin paths.
const
PixaDecoderCapabilities.runtimeRaster({bool animatedDecode = false, bool progressiveDecode = false, bool regionDecode = false, bool defaultRuntimeDisplay = false})
Runtime raster decoder defaults for production image hot paths.
const

Properties

animatedDecode bool
Can decode animated image streams.
final
defaultRuntimeDisplay bool
Should be selected as the default runtime display backend.
final
hashCode int
The hash code for this object.
no setterinherited
hotPathSafe bool
True when the decoder can run on gallery hot paths.
no setter
metadataProbe bool
Can read dimensions/flags from bounded headers.
final
ownedOutputBuffers bool
Returns large outputs through owned runtime buffers.
final
processorInput bool
Can provide decoded pixels to runtime processors.
final
progressiveDecode bool
Can produce progressive/intermediate decode output while streaming.
final
regionDecode bool
Can decode a requested region/tile without full-frame pixel decode.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stable bool
Has fixtures, limits and compatibility coverage for production use.
final
staticDecode bool
Can decode at least one static image frame.
final
streamingInput bool
Can consume large inputs through Pixa stream handles.
final
zeroCopyInput bool
Can consume encoded input by borrowed bytes or handles without copying.
final

Methods

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