HardwareAccel

A hardware acceleration a decoder can be opened with (KiteFFmpeg window 3).

This is deliberately NOT the same seam as naming a decoder. FFmpeg has two hardware shapes: decoders that ARE the hardware path under their own name (h264_mediacodec), selected through MediaSource.openDecoder's decoder parameter, and HWACCELs that sit behind the ordinary decoder and are attached to its context before open. VideoToolbox is the second kind, so it is a request here rather than a CodecId.

Capability honesty: requesting an acceleration the running FFmpeg does not carry fails TYPED at open with FFmpeg's own error (ENOSYS on a build without the framework), never silently. A build that carries it can still refuse a particular stream at decode time; that refusal arrives as software frames, visible per frame through FrameInfo.isHardware, which is what a player's fallback logic reads.

Entries

Link copied to clipboard

Apple VideoToolbox, attached as a device context behind h264/hevc.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.