Package: android.hardware.media.omx@1.0

IOmxBufferSource

interface IOmxBufferSource

Ref:frameworks/av/media/libmedia/aidl/android/IOMXBufferSource.aidl

IOmxBufferSource is an interface for a listener for certain events from an IOmxNode instance.Use IOmxNode::setInputSurface() to attach an IOmxBufferSource instance to an IOmxNode instance.

Methods

onOmxExecuting

oneway onOmxExecuting ()

onOmxExecuting() is invoked when the node state changes to OMX_StateExecuting state.

Details
RPC mode
oneway

onOmxIdle

oneway onOmxIdle ()

onOmxIdle() is invoked when the node transitions from OMX_StateExecuting to OMX_StateIdle.

Details
RPC mode
oneway

onOmxLoaded

oneway onOmxLoaded ()

onOmxLoaded() is invoked when the node transitions from OMX_StateIdle or OMX_StateExecuting to OMX_StateLoaded.

Details
RPC mode
oneway

onInputBufferAdded

oneway onInputBufferAdded (BufferId buffer)

onInputBufferAdded() is invoked after a new input buffer is added to the node.This may happen within IOmxNode::allocateSecureBuffer() or IOmxNode::useBuffer().

Details
RPC mode
oneway
Parameters
buffer

onInputBufferEmptied

oneway onInputBufferEmptied (BufferId buffer, Fence fence)

onInputBufferEmptied() is invoked after an input buffer is emptied.This may happen within IOmxNode::emptyBuffer().

Details
RPC mode
oneway
Parameters
buffer
fence