Top
audio_capture audio_decode audio_encode audio_lowpower audio_mixer audio_processor audio_render audio_splitter
image_decode image_encode image_fx image_read image_write resize source transition write_still
clock null_sink text_scheduler visualisation
read_media write_media
camera egl_render video_decode video_encode video_render video_scheduler video_splitter
Custom Index Metadata
| # OMX.broadcom.image_encode
340
| image_encode |
341
A conformant image encode component, which takes raw pixels on its input port, and encodes the image into various compressed formats on the output port.
Port | Index | Notes
340 | `OMX_IndexParamPortDefinition` | Query / set the port definition for the input port.
`OMX_IndexParamCameraStripeFunction` | Used to set up proprietary communication with the previous component.
`OMX_IndexConfigBrcmUseProprietaryCallback` | Forces use of proprietary tunnelling between ports.
341 | `OMX_IndexParamPortDefinition` | Query / set the port definition for the output port. The component supports format conversion for when the codec does not support the input format. Where the codec supports multiple input formats, the eColorFormat field can be used to specify which is to be used. If set to OMX_COLOR_FormatUnused, the component will select a default colour format to be used for the codec.
`OMX_IndexParamQFactor` | Query / set the quality factor for the encoded image. This is only supported by the JPEG codec.
`OMX_IndexParamBrcmEnableIJGTableScaling` | Query / set whether we use standard IJG quality tables when using the JPG encoder.
`OMX_IndexParamBrcmDisableEXIF` | Disables generation of EXIF tags.
`OMX_IndexParamBrcmThumbnail` | Sets the properties for the thumbnail generation. The component must be in loaded state. Currently only the JPEG codec supports this and only if EXIF generation is also enabled.
`OMX_IndexConfigMetadataItem` | Set metadata to be included in the output file. Currently only the JPEG codec supports including metadata. The component must be in loaded state. `eScopeMode` must be `OMX_MetadataScopePortLevel`. `nScopeSpecifier` must be 30. `eKeyCharset` must be `ASCII`, `Binary`, or `unknown`. `nKey` must start with `"EXIF."`, `"IFD0."` or `"GPS."` and be a valid EXIF property allowed within that table. Supported tags are listed in the component documentation for the `image_decode` component. Some exif tags may be added with image capture data from a directly connected camera component if they have not already been set.
340 341 | `OMX_IndexParamImagePortFormat` | Query / set the image port format.
341 | `OMX_IndexParamBrcmAttachLog` | Sets whether to attach log data to the encoded file or not.