ImageOutputBuffer


@UnstableApi
abstract class ImageOutputBuffer : DecoderOutputBuffer


Output buffer for ImageDecoders.

Summary

Public constructors

Public properties

Bitmap?

Inherited functions

From androidx.media3.decoder.Buffer
Unit

Adds the flag to this buffer's flags.

Unit

Removes the flag from this buffer's flags, if it is set.

Boolean

Returns whether the specified flag has been set on this buffer.

Boolean

Returns whether the BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA flag is set.

Boolean

This function is deprecated.

Check instead whether the buffer time is greater or equal to the desired start time.

Boolean

Returns whether the BUFFER_FLAG_END_OF_STREAM flag is set.

Boolean

Returns whether the BUFFER_FLAG_FIRST_SAMPLE flag is set.

Boolean

Returns whether the BUFFER_FLAG_KEY_FRAME flag is set.

Boolean

Returns whether the BUFFER_FLAG_LAST_SAMPLE flag is set.

Unit

Replaces this buffer's flags with flags.

From androidx.media3.decoder.DecoderOutputBuffer
Unit

Clears the buffer.

abstract Unit

Releases the output buffer for reuse.

Inherited properties

From androidx.media3.decoder.DecoderOutputBuffer
Boolean

Whether this buffer should be skipped, usually because the decoding process generated no data or invalid data.

Int

The number of buffers immediately prior to this one that were skipped in the Decoder.

Long

The presentation timestamp for the buffer, in microseconds.

Public constructors

ImageOutputBuffer

ImageOutputBuffer()

Public properties

bitmap

val bitmapBitmap?