|  | OMX.broadcom.image_decode
 
A conformant image decode component, which takes encoded still images
in various compressed formats on its input port, and decodes the image
into raw pixels which are emitted on the output port.
 
 
 | Port | Index | Notes |  | 320 | OMX_IndexParamPortDefinition | Query / set the port definition for the input port.  Various
  compressed formats can be set, and the number and size of buffers can
  be set providing the new values are above a given minimum value. |  | 321 | OMX_IndexParamPortDefinition | Query / set the port definition for the output port.  This component
  doesn't support resizing or colour format changes.  When enough data
  has been received the stream is opened, and the port format will
  reflect the parameters of the selected port stream, if these are
  different from the values at the time a port settings changed event
  will be emitted.  To ensure that this event is emitted, this port
  supports setting the compression format to OMX_IMAGE_CodingAutoDetect,
  which will always be different from the discovered format of
  OMX_IMAGE_CodingUnused.
  |  | OMX_IndexParamNumAvailableStreams | Query the number of available streams.  For JPEG images there may be
  two streams, with 0 corresponding to the main image and 1
  corresponding to the thumbnail image if present.  All other compressed
  formats currently only support a single stream.  If this returns 0
  streams, insufficient data has been received on the input port to
  identify the format of the image. |  | OMX_IndexParamActiveStream | Query / set the active stream to be decoded.  When the format is
  determined, we default to stream 0.  Before the image has been
  decompressed, the client can change the selected stream and the port
  definition will be updated to reflect the new stream parameters. |  | 320  321 | OMX_IndexParamImagePortFormat | Query / set the image port format.  The input port supports several
  compressed formats, the output port supports several colour formats.
  However, the component doesn't support colour format changing, so the
  colour format will be set to match that emitted by the encountered
  image format. |  |  | OMX_IndexConfigMetadataItemCount | Query the number of metadata items at a particular scope level (All,
  Top, Node, or Port). |  | OMX_IndexConfigMetadataItem | Query the value for a particular metadata item. The item can be
  specified by index, or searched for by name. |  | OMX_IndexParamMetadataFilterType | Not implemented. |  | OMX_IndexConfigContainerNodeCount | Query the number of metadata items within a particular container. |  | OMX_IndexConfigCounterNodeID | Retrieve the node ID of the Nth node within a particular container. |  | OMX_IndexParamColorSpace | Retrieve the image colour space that's in use. | 
 Supported Metadata TreeThe presence or absence of all tags apart from protocol, width and
height depends on whether they are present in the source file.
| protocol |  |  | width | Returns width of current stream |  | height | Returns height of current stream |  | #img00 | width, height |  | #img01 | width, height |  | EXIF | ExposureTime, FNumber, ExposureProgram, SpectralSensitivity,
ISOSpeedRatings, OECF, ExifVersion, DateTimeOriginal,
DateTimeDigitized, ComponentsConfiguration, CompressedBitsPerPixel,
ShutterSpeedValue, ApertureValue, BrightnessValue,
ExposureBiasValue, MaxApertureValue, SubjectDistance,
MeteringMode, LightSource, Flash, FocalLength,
SubjectArea, MakerNote, UserComment, SubSecTime,
SubSecTimeOriginal, SubSecTimeDigitized, FlashpixVersion,
ColorSpace, PixelXDimension, PixelYDimension,
RelatedSoundFile, FlashEnergy, SpacialFrequencyResponse,
FocalPlaneXResolution, FocalPlaneYResolution,
FocalPlaneResolutionUnit, SubjectLocation, ExposureIndex,
SensingMethod, FileSource, SceneType, CFAPattern,
CustomRendered, ExposureMode, WhiteBalance,
DigitalZoomRatio, FocalLengthIn35mmFilm, SceneCaptureType,
GainControl, Contrast, Saturation, Sharpness,
DeviceSettingDescription, SubjectDistanceRange, ImageUniqueID, |  | IFD0 | ImageWidth, ImageLength, BitsPerSample, Compression,
PhotometricInterpretation, ImageDescription, Make, Model,
StripOffsets, Orientation, SamplesPerPixel, RowsPerString,
StripByteCounts, XResolution, YResolution, PlanarConfiguration,
ResolutionUnit, TransferFunction, Software, DateTime,
Artist, WhitePoint, PrimaryChromaticities, JPEGInterchangeFormat,
JPEGInterchangeFormatLength, YCbCrCoefficients, YCbCrSubSampling,
YCbCrPositioning, ReferenceBlackWhite, |  | IFD1 | Compression, ImageDescription, Make, Model, Orientation,
XResolution, YResolution, ResolutionUnit, TransferFunction,
DateTime, Artist, WhitePoint, PrimaryChromaticities,
JPEGInterchangeFormat, JPEGInterchangeFormatLength, YCbCrCoefficients,
YCbCrPositioning, ReferenceBlackWhite, |  | EINT | InteroperabilityIndex, InteroperabilityVersion, |  | GPS | GPSVersionID, GPSLatitudeRef, GPSLatitude, GPSLongitudeRef,
GPSLongitude, GPSAltitudeRef, GPSAltitude, GPSTimeStamp,
GPSSatellites, GPSStatus, GPSMeasureMode, GPSDOP,
GPSSpeedRef, GPSSpeed, GPSTrackRef, GPSTrack,
GPSImgDirectionRef, GPSImgDirection, GPSMapDatum,
GPSDestLatitudeRef, GPSDestLatitude, GPSDestLogitudeRef,
GPSDestLongitude, GPSDestBearingRef, GPSDestBearing,
GPSDestDistanceRef, GPSDestDistance, GPSProcessingMethod,
GPSAreaInformation, GPSDateStamp, GPSDifferential, |  |