nx_video_source_sdk
1.0
Video Source SDK
|
OMX.broadcom.video_encode. More...
#include <rpi_omx.h>
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 () |
![]() | |
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 | |
![]() | |
Component (ComponentType type, OMX_PTR pAppData, OMX_CALLBACKTYPE *callbacks) | |
unsigned | n2idx (OMX_U32 nPortIndex) const |
unsigned | idx2n (unsigned idx) const |
![]() | |
OMX_HANDLETYPE | m_component |
ComponentType | m_type |
OMX.broadcom.video_encode.