visualisation

Top
audio_capture audio_decode audio_encode audio_lowpower audio_mixer audio_processor audio_render audio_splitter
image_decode image_encode image_fx resize source transition
clock null_sink text_scheduler visualisation
camera egl_render hvs isp rawcam video_decode video_encode video_render video_scheduler video_splitter
Custom Index Metadata
| # OMX.broadcom.visualisation
140
143
| visualisation |
141
142
This conformant component passes through raw PCM audio samples from an input port to an output port, and can also create output video frames using a visualisation plug-in. It accepts a clock input to attach correct time stamps to output video frames.
Port | Index | Notes
140 | `OMX_IndexParamPortDefinition` | Query / set the incoming audio port for raw PCM audio. `nBufferSize` must be a multiple of 32, and have a value of at least 256 - it will default to a value of 1024. `nBufferAlignment` must be equal to or larger than 32. Setting this will also replicate the port definition to the audio output port.
`OMX_IndexParamAudioPcm` | Query / set the PCM properties for the incoming audio. Setting this will replicate the settings to the audio output port. `nChannels` must be 1, 2, 4, or 8. 5.1 audio can be embedded in 8 channel audio. `eNumData` must be `OMX_NumericalDataSigned`. `eEndian` must be `OMX_EndianLittle`. `bInterleaved` must be `OMX_TRUE`. `nBitPerSample` must be 16 or 32. `ePCMMode` must be `OMX_AUDIO_PCMModeLinear`.
141 | `OMX_IndexParamPortDefinition` | Query / set the output audio port definition. Setting only allows the number, size and alignment of output buffers to be changed. `nBufferSize` must be at least 256 and will default to 1024. `nBufferAlignment` must be at least 32.
`OMX_IndexParamAudioPcm` | Query the PCM properties.
140 141 | `OMX_IndexParamAudioPortFormat` | Query / set the audio port format. Both audio ports only support PCM format.
142 | `OMX_IndexParamPortDefinition` | Once the first visualisation frame is produced this can be queried for the output video format. The size and number of buffers can be increased from the default sizes.
`OMX_IndexConfigVisualisation` | Query / set the visualisation plug-in library and properties to control the visualisation used.
`OMX_IndexParamImagePoolDisplayFunction` | Used to set up proprietary communication with the next component.
`OMX_IndexParamVideoPortFormat` | Query / set the video port format. The video output port currently supports only `RGB565` output.
143 | `OMX_IndexParamPortDefinition` | Supports connecting to a port on a clock component.
`OMX_IndexParamOtherPortFormat` | Query / set the other port format. This clock port only supports the time format.
| `OMX_IndexParamImagePoolExternal` | Query / set the location of an externally allocated image pool to use for output frames. Defaults to NULL, causing the component to allocate a pool when active. For this case, image_pool2 and image_pool3 must be NULL.
`OMX_IndexParamImagePoolSize` | Set the size of the image pool to be allocated by the component.