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
isp
rawcam
video_decode
video_encode
video_render
video_scheduler
video_splitter
Custom Index
Metadata

OMX.broadcom.write_still

30
write_still

A conformant image sink component, which takes pixel data on the single input port and writes out an image file. Multiple data formats are accepted, but not all image codecs accept all data formats. The image codec is determined by the filename suffix. YUV420 and YUV422 are supported by the JPEG codec. Various RGB formats are supported by other image codecs.

PortIndexNotes
30OMX_IndexParamPortDefinition Setting this controls the size of the image that will be given to the component. eColorFormat should be YUV420 packed planar, YUV422 packed planar, RGB565, RGB888, or RGBA32. nSliceHeight should be 16, or nFrameHeight rounded up to the next multiple of 16. nStride should be a multiple of 32 for YUV formats. For RGB formats, the width should first be rounded up to a multiple of 16, then multiplied by the bytes per pixel to calculate nStride. This port supports setting the port definition to both image and video domains, although it will convert video domain parameters to the advertised image domain.
OMX_IndexParamImagePortFormat Query / set the image port form. This port supports a few uncompressed pixel formats.
OMX_IndexParamQFactor Query / set the quality factor for the encoded image. This is only supported by the JPEG codec.
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.
OMX_IndexConfigBrcmSyncOutput Forces a pause until any pending output has been flushed to the SD card.
OMX_IndexParamBrcmRetainMemory Controls memory allocation during state transitions. EXIF should always be disabled when using this option, as the size of the EXIF tags can change unpredictably.
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_IndexParamContentURI Setting this parameter supplies a filename to the component, to which it will write the file. Currently the format of the URI is assumed to be a file that the component can directly access using the file system. However, the file system can support remote mounted file systems.
OMX_IndexParamBrcmRetainMemory If enabled, the component will hold on to any memory allocated, even when going from IDLE to LOADED.
OMX_IndexParamBrcmEnableIJGTableScaling Query / set whether we use standard IJG quality tables when using the JPG encoder.
OMX_IndexParamAsynchronousOutput Query / set whether this component can write files asynchronously.
OMX_IndexConfigAsynchronousFailureURI Query for the URI being used when an asynchronous error was generated.
OMX_IndexConfigBrcmIOPerfStats Query for statistics about I/O (e.g. file media) performance. Set whether or not this component captures these statistics (off by default) by changing the bEnabled field. Other fields are read-only and will be ignored upon set.