nx_server_plugin_sdk 1.0 Server Plugin SDK

Classes | Typedefs | Functions | Variables
rpi_omx Namespace Reference

Raspberry Pi OpenMAX IL layer. More...

## Classes
class | Buffer
| OpenMAX IL CPU<->GPU buffer. More...
class | Camera
| OMX.broadcom.camera. More...
class | Component
| Base class for OpenMAX IL components. More...
class | Encoder
| OMX.broadcom.video_encode. More...
class | NullSink
| OMX.broadcom.null_sink. More...
class | OMXExeption
| Handler for OpenMAX IL errors. More...
class | Parameter
| OpenMAX IL parameter. More...
class | Resizer
| OMX.broadcom.resize. More...
struct | VideoFromat
class | VideoSplitter
| OMX.broadcom.video_splitter. More...

## Typedefs
typedef broadcom::ComponentType | ComponentType
using | Lock = broadcom::VcosLock

## Functions
static OMX_ERRORTYPE | callback_EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent, OMX_U32 nData1, OMX_U32 nData2, OMX_PTR pEventData)
static OMX_ERRORTYPE | callback_EmptyBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
static OMX_ERRORTYPE | callback_FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
const char * | err2str (OMX_ERRORTYPE error)
void | printEvent (const char *compName, OMX_HANDLETYPE hComponent, OMX_EVENTTYPE eEvent, OMX_U32 nData1, OMX_U32 nData2)
void | dump_portdef (OMX_PARAM_PORTDEFINITIONTYPE *portdef)
void | dump_formats (OMX_VIDEO_PARAM_PORTFORMATTYPE *portformat)
static const char * | format2str (OMX_VIDEO_CODINGTYPE c)
static const char * | format2str (OMX_COLOR_FORMATTYPE c)
const char * | eventType2Str (OMX_EVENTTYPE eEvent)

## Variables
OMX_CALLBACKTYPE | cbsEvents
static const VideoFromat | VF_1920x1080 = { 1920, 1080, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_1920x1080x25 = { 1920, 1080, 25, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_1280x960 = { 1280, 960, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_1280x720 = { 1280, 720, 30, VideoFromat::RATIO_16x9, true }
static const VideoFromat | VF_640x480 = { 640, 480, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_RESIZED_640x480 = VF_640x480
static const VideoFromat | VF_RESIZED_320x240 = { 320, 240, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_RESIZED_256x192 = { 256, 192, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_RESIZED_160x120 = { 160, 120, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_RESIZED_128x96 = { 128, 96, 30, VideoFromat::RATIO_4x3, true }
static const VideoFromat | VF_RESIZED_960x540 = { 960, 540, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_RESIZED_640x360 = { 640, 360, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_RESIZED_480x270 = { 480, 270, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_RESIZED_384x216 = { 384, 216, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_RESIZED_320x180 = { 320, 180, 30, VideoFromat::RATIO_16x9, false }
static const VideoFromat | VF_RESIZED_240x135 = { 240, 135, 30, VideoFromat::RATIO_16x9, false }

## Detailed Description

Raspberry Pi OpenMAX IL layer.

## Variable Documentation

## ◆ cbsEvents

OMX_CALLBACKTYPE rpi_omx::cbsEvents

Initial value:
= {
.EventHandler = callback_EventHandler,
.EmptyBufferDone = callback_EmptyBufferDone,
.FillBufferDone = callback_FillBufferDone
}

## ◆ VF_1920x1080

const VideoFromat rpi_omx::VF_1920x1080 = { 1920, 1080, 30, VideoFromat::RATIO_16x9, false }
| static

# Resolution Aspect Ratio Framerates Video Image FoV Binning

1 1920x1080 16:9 1-30fps x Partial None 2 2592x1944 4:3 1-15fps x x Full None 3 2592x1944 4:3 0.1666-1fps x x Full None 4 1296x972 4:3 1-42fps x Full 2x2 5 1296x730 16:9 1-49fps x Full 2x2 6 640x480 4:3 42.1-60fps x Full 4x4 7 640x480 4:3 60.1-90fps x Full 4x4