ImageDecoder.Factory


interface ImageDecoder.Factory


A factory for image decoders.

Summary

Constants

const ImageDecoder.Factory!

Default implementation of an image decoder factory.

Public functions

ImageDecoder!

Creates a new ImageDecoder.

Int

Returns the highest Capabilities of the factory's decoders for the given .

Constants

DEFAULT

const val DEFAULTImageDecoder.Factory!

Default implementation of an image decoder factory.

Public functions

createImageDecoder

fun createImageDecoder(): ImageDecoder!

Creates a new ImageDecoder.

supportsFormat

@RendererCapabilities.Capabilities
fun supportsFormat(format: Format!): Int

Returns the highest Capabilities of the factory's decoders for the given .

Parameters
format: Format!

The Format.

Returns
Int

The Capabilities of the decoders the factory can instantiate for this format.