nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rpi_omx::Component Class Reference

Base class for OpenMAX IL components. More...

`#include <rpi_omx.h>`

Inheritance diagram for rpi_omx::Component:

## Public Member Functions
OMX_HANDLETYPE & | component ()
ComponentType | type () const
const char * | name () const
unsigned | numPorts () const
void | dumpPort (OMX_U32 nPortIndex, bool dumpFormats=false)
OMX_STATETYPE | state ()
void | switchState (OMX_STATETYPE newState)
unsigned | count2wait (OMX_U32 nPortIndex) const
void | enablePort (OMX_U32 nPortIndex=OMX_ALL)
void | disablePort (OMX_U32 nPortIndex=OMX_ALL)
void | flushPort (OMX_U32 nPortIndex=OMX_ALL)
void | getPortDefinition (OMX_U32 nPortIndex, Parameter< OMX_PARAM_PORTDEFINITIONTYPE > &portDef)
void | setPortDefinition (OMX_U32 nPortIndex, Parameter< OMX_PARAM_PORTDEFINITIONTYPE > &portDef)
void | allocBuffers (OMX_U32 nPortIndex, Buffer &buffer)
void | freeBuffers (OMX_U32 nPortIndex, Buffer &buffer)
void | callFillThisBuffer (Buffer &buffer)
void | eventCmdComplete (OMX_U32 cmd, OMX_U32)
void | eventPortSettingsChanged (OMX_U32)

## Protected Member Functions
| Component (ComponentType type, OMX_PTR pAppData, OMX_CALLBACKTYPE *callbacks)
unsigned | n2idx (OMX_U32 nPortIndex) const
unsigned | idx2n (unsigned idx) const

## Protected Attributes
OMX_HANDLETYPE | m_component
ComponentType | m_type

## Detailed Description

Base class for OpenMAX IL components.

The documentation for this class was generated from the following file:

- samples/device/rpi_camera_plugin/src/rpi_omx.h