nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Attributes | List of all members
rpi_omx::Encoder Class Reference

OMX.broadcom.video_encode. More...

`#include <rpi_omx.h>`

Inheritance diagram for rpi_omx::Encoder:

## Public Member Functions
void | setupOutputPort (const Parameter< OMX_PARAM_PORTDEFINITIONTYPE > &cameraPortDef, unsigned bitrate, unsigned framerate=0)
void | setCodec (OMX_VIDEO_CODINGTYPE codec)
void | setBitrate (OMX_U32 bitrate, OMX_VIDEO_CONTROLRATETYPE type=OMX_Video_ControlRateVariable)
void | setIFramePeriod (unsigned value)
void | allocBuffers ()
void | freeBuffers ()
void | callFillThisBuffer ()
void | prepare ()
Buffer & | outBuffer ()
Public Member Functions inherited from rpi_omx::Component
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)

## Static Public Attributes
static const ComponentType | cType = broadcom::VIDEO_ENCODER
static const unsigned | IPORT = 200
static const unsigned | OPORT = 201

## Additional Inherited Members
Protected Member Functions inherited from rpi_omx::Component
| Component (ComponentType type, OMX_PTR pAppData, OMX_CALLBACKTYPE *callbacks)
unsigned | n2idx (OMX_U32 nPortIndex) const
unsigned | idx2n (unsigned idx) const
Protected Attributes inherited from rpi_omx::Component
OMX_HANDLETYPE | m_component
ComponentType | m_type

## Detailed Description

OMX.broadcom.video_encode.

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

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