Broadcom Custom Index ListAutofocus assist light mode selectionOMX_IndexConfigAFAssistLightUsed by: camera
typedef enum OMX_AFASSISTTYPE { OMX_AFAssistAuto, OMX_AFAssistOn, OMX_AFAssistOff, OMX_AFAssistTorch, OMX_AFAssistKhronosExtensions = 0x6F000000, OMX_AFAssistVendorStartUnused = 0x7F000000, OMX_AFAssistMax = 0x7FFFFFFF } OMX_AFASSISTTYPE; typedef struct OMX_CONFIG_AFASSISTTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_AFASSISTTYPE eMode; } OMX_CONFIG_AFASSISTTYPE; Set the mode to adopt for the autofocus assist light. OMX_AFAssistTorch will turn the AF assist light on permanently, allowing it to be used as a torch.
This index uses the standard IL structure OMX_PARAM_CONTENTURITYPE This allows the client to query for the filename that cause an asynchronous output error.
typedef enum OMX_AUDIOMONOTRACKOPERATIONSTYPE { OMX_AUDIOMONOTRACKOPERATIONS_NOP, OMX_AUDIOMONOTRACKOPERATIONS_L_TO_R, OMX_AUDIOMONOTRACKOPERATIONS_R_TO_L, OMX_AUDIOMONOTRACKOPERATIONS_DUMMY = 0x7FFFFFFF } OMX_AUDIOMONOTRACKOPERATIONSTYPE ; typedef struct OMX_CONFIG_AUDIOMONOTRACKCONTROLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_AUDIOMONOTRACKOPERATIONSTYPE eMode; } OMX_CONFIG_AUDIOMONOTRACKCONTROLTYPE; This config controls the options to support dual mono audio streams. The output can be unchanged, or the left channel copied over the right channel, or the right channel copied over the left channel. This config can be applied at any time with stereo 16-bit-per-sample data. Since audio output is typically buffered, any change will not be audible until that buffering has been played out.
This index uses the standard IL structure OMX_PARAM_U32TYPE This config allows the client to query the current latency of audio rendering. The latency is returned as the number of samples that an audio rendering component has received but have not been played.
typedef struct OMX_CONFIG_BRCMAUDIODESTINATIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U8 sName[16]; } OMX_CONFIG_BRCMAUDIODESTINATIONTYPE; This config sets the platform-specific audio destination or output device for audio sink components (e.g. audio_render). sName describes the audio destination, with "local" typically being directly connected to headphones.
typedef struct OMX_CONFIG_BRCMAUDIOEFFECTCONTROLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnable; OMX_U8 name[16]; OMX_U8 property[256]; } OMX_CONFIG_BRCMAUDIOEFFECTCONTROLTYPE; This structure represents the internal configuration of an audio effect. The audio effect is provided by a loadable plug-in described in the name field and is configured in a plug-in-dependent manner with the property field. The bEnable field is used to turn the effect on/off.
typedef struct OMX_CONFIG_BRCMAUDIOSOURCETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U8 sName[16]; } OMX_CONFIG_BRCMAUDIOSOURCETYPE; This config sets the platform-specific audio source or input device for audio source components (e.g. audio_capture). sName describes the audio source, with "local" typically being directly connected to microphone.
typedef struct OMX_CONFIG_BRCMAUDIOTRACKCHANGECONTROLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nSrcPortIndex; OMX_U32 nDstPortIndex; OMX_U32 nXFade; } OMX_CONFIG_BRCMAUDIOTRACKCHANGECONTROLTYPE; This config allows the client to specify the gapless or crossfade parameters to be used on a track change. If nXFade is 0, then a normal or gapless track change will result, otherwise a crossfade of nXFade ms is used.
This index uses the standard IL structure OMX_PARAM_U32TYPE A track change is complete for an input port when a buffer flagged with OMX_BUFFERFLAG_EOS has been fully mixed into output port buffers as is ready to be returned or flushed from the input port. This configuration value can be monitored via OMX_IndexConfigRequestCallback.
typedef struct OMX_CONFIG_BRCMAUDIOTRACKGAPLESSPLAYBACKTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nDelay; OMX_U32 nPadding; } OMX_CONFIG_BRCMAUDIOTRACKGAPLESSPLAYBACKTYPE; This config allows communication between components to facilitate gapless playback.
Filters buffers based on flagsOMX_IndexConfigBrcmBufferFlagFilterUsed by: video_splitter This index uses the standard IL structure OMX_PARAM_U32TYPE This control can be set to request that buffers are conditionally forwarded on output ports based on matching flags set on that buffer.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control can be used to enable a developmental software stage to be inserted into the postprocessor stage of the ISP.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control can be used to enable a developmental software stage to be inserted into the preprocessor stage of the ISP.
typedef struct OMX_CONFIG_BRCMCAMERASTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nOutFrameCount; OMX_U32 nDroppedFrameCount; } OMX_CONFIG_BRCMCAMERASTATSTYPE; Allows the Camplus frame counts for number of frames produced and dropped to be read by the client. These counts get reset whenever a new mode is requested from Camplus. Additional knowledge of when this occurs is required to obtain meaningful results from this config.
This index uses the standard IL structure OMX_PARAM_U32TYPE For each port on the clock component, requests for media times may be made. These are typically done one per video frame to allow for scheduling the display of that frame at the correct time. If a request is made after the time has occured, then that frame will be displayed late, and the clock component keeps a per-port record of the number of times this occurs. This record can be read using this index.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control allows communicating directly to an audio renderer component whether it should act as a clock reference source or act as a slave.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This allows an audio decoder to disable decoding the stream and pass through correctly framed data to enable playback of compressed audio to supported output devices.
typedef struct OMX_CONFIG_STATICBOXTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nIndex; OMX_U32 nTotalBoxes; OMX_S32 nValidBoxes; OMX_BOOL bDrawOtherBoxes; OMX_STATICBOX sBoxes[1]; } OMX_CONFIG_STATICBOXTYPE; Allows a client to set a static box to be drawn on the viewfinder images using the parameters specified for other types of boxes (face tracking, or focus results). This box will always be drawn when it is defined, overriding any face tracking or focus cycle results.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
typedef struct OMX_CONFIG_BRCMIOPERFSTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bEnabled; OMX_BRCM_PERFSTATS write; OMX_BRCM_PERFSTATS flush; OMX_BRCM_PERFSTATS wait; } OMX_CONFIG_BRCMIOPERFSTATSTYPE; A sink component can gather various statistics about I/O (eg. file media) performance that can be used by clients for debugging purposes. The bEnabled field is used to turn the gathering of statistics on/off.
Processing Latency BoundOMX_IndexConfigBrcmMinimumProcessingLatencyUsed by: audio_mixer
typedef struct OMX_CONFIG_BRCMMINIMUMPROCESSINGLATENCY { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_TICKS nOffset; } OMX_CONFIG_BRCMMINIMUMPROCESSINGLATENCY; Query/set the difference between the actual media time and when the component receives request fulfillments for media time requests. This can be used with e.g. splitter/mixer components to control when the component stops waiting for input or output packets from active streams and continues with processing (to maintain a constant processing rate).
This index uses the standard IL structure OMX_PARAM_U32TYPE This is a rough guide to whether or not the output destination (SD card typically) is keeping up. This configuration value can be monitored via OMX_IndexConfigRequestCallback.
This index uses the standard IL structure OMX_PARAM_U32TYPE This config allows the client to query how much memory is being used by the component for any image pools.
typedef struct OMX_CONFIG_BRCMPORTBUFFERSTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nCount; OMX_BRCMBUFFERSTATSTYPE sData[1]; } OMX_CONFIG_BRCMPORTBUFFERSTATSTYPE; Ports that gather statistics for debugging and diagnostics might also collect information about buffer header fields and data. The sStatsData field is a variable length array and the number of items is denoted by nStatsCount.
typedef struct OMX_CONFIG_BRCMPORTSTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nImageCount; OMX_U32 nBufferCount; OMX_U32 nFrameCount; OMX_U32 nFrameSkips; OMX_U32 nDiscards; OMX_U32 nEOS; OMX_U32 nMaxFrameSize; OMX_TICKS nByteCount; OMX_TICKS nMaxTimeDelta; OMX_U32 nCorruptMBs; } OMX_CONFIG_BRCMPORTSTATSTYPE; Some ports gather various statistics that can be used by clients for debugging purposes. This structure is the set of all statistics that are gathered. The nFrameSkips field indicates the number of frames that did not have an expected PTS value based on the port frame rate. The nByteCount field is a 64 bit value, that will either use a 64 bit type or two 32 bit types, similarly to OMX_TICKS.
Forcing a write syncOMX_IndexConfigBrcmSyncOutputUsed by: write_still
typedef struct OMX_CONFIG_BRCMSYNCOUTPUTTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; } OMX_CONFIG_BRCMSYNCOUTPUTTYPE; Setting this config forces a sync of data to the filesystem.
Force use of proprietary callbackOMX_IndexConfigBrcmUseProprietaryCallbackUsed by: image_encode, video_encode, video_render, video_splitter This index uses the standard IL structure OMX_CONFIG_BRCMUSEPROPRIETARYTUNNELTYPE Disable/enable the use of proprietary callbacks rather than OpenMAX IL buffer handling.
This index uses the standard IL structure OMX_PARAM_U32TYPE This config allows the client to set the slice size used in bytes, as opposed to the standard OMX parameters which are in macroblocks.
This index uses the standard IL structure OMX_PARAM_U32TYPE Setting the value to zero resets to the default (one slice per frame).
This index uses the standard IL structure OMX_PARAM_U32TYPE This overrides the setting in OMX_IndexConfigBrcmVideoIntraPeriodTime.
This index uses the standard IL structure OMX_PARAM_U32TYPE Only valid if the framerate is zero (and hence the framerate is inferred from timestamps). This overrides the setting in OMX_IndexConfigBrcmVideoIntraPeriod.
This index uses the standard IL structure OMX_VIDEO_PARAM_INTRAREFRESHTYPE Can be used when the component is executing.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE If set to OMX_TRUE, the next job submitted will be flagged to be converted as an I-frame. This automatically resets itself. This works with proprietary tunnelling and OMX buffers.
typedef struct OMX_CONFIG_BUFFERSTALLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bStalled; OMX_U32 nDelay; } OMX_CONFIG_BUFFERSTALLTYPE; Query/set the buffer stall threashold. When set the nDelay parameter specifies a time to class whether buffer output is stalled. When get, the nDelay parameter indicates the current buffer delay, and the {bStalled} parameter indicates whether this time is over a previously set threashold. When OMX_IndexConfigRequestCallback is used with this index, a notification is given when bStalled changes.
Set the camera into a mode where it is only doing capturesOMX_IndexConfigBurstCaptureUsed by: camera This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE The viewfinder port can be executing, but will only emit the snapshot images associated to any captures requested, and not viewfinder frames. This is an optimisation, and not essential.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set whether setting the capture bit will abort any AF cycle that is in progress, or if the AF cycle should continue and the capture happen automatically on completion.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This will be done automatically if flash is requested.
typedef struct OMX_CONFIG_CAMERAFEATURESTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_CONFIG_CAMERAFEATURESSHUTTER eHasMechanicalShutter; OMX_BOOL bHasLens; } OMX_CONFIG_CAMERAFEATURESTYPE; Query the capabilities of the current camera (lens and shutter). Some information is only valid when the component is Idle or Executing.
typedef enum OMX_CAMERAFLASHCONFIGSYNCTYPE { OMX_CameraFlashConfigSyncFrontSlow, OMX_CameraFlashConfigSyncRearSlow, OMX_CameraFlashConfigSyncFrontFast, OMX_CameraFlashConfigSyncKhronosExtensions = 0x6F000000, OMX_CameraFlashConfigSyncVendorStartUnused = 0x7F000000, OMX_CameraFlashConfigSyncMax = 0x7FFFFFFF } OMX_CAMERAFLASHCONFIGSYNCTYPE; typedef struct OMX_CONFIG_CAMERAFLASHCONFIGTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bUsePreFlash; OMX_BOOL bUseFocusDistanceInfo; OMX_CAMERAFLASHCONFIGSYNCTYPE eFlashSync; OMX_BOOL bIgnoreChargeState; } OMX_CONFIG_CAMERAFLASHCONFIGTYPE; This parameter allows the configuration of various parameters relating to the flash cycle. Some of the options are only applicable to xenon flash. bUsePreFlash uses a low intensity pre-flash to determine flash intensity. This setting is recommended for almost all flash situations. bUseFocusDistanceInfo uses the distance of the subject, as measured by the AF algorithm to set the intensity of the flash. eFlashSync configures which edge of the shutter is used to synchronise the flash, and the duration of the exposure. eIgnoreChargeState will make the flash fire, even if it is not fully charged.
This index uses the standard IL structure OMX_PARAM_U32TYPE The component will copy out of this image into OMX buffers as required, or pass pointers to stripes within the buffer. If the height of this buffer is less than nFrameHeight for a port, then attempts to use OMX_IndexParamImagePoolDisplayFunction, or OMX_IndexParamCameraPoolToEncoderFunction will be rejected as the complete frame isn't available. A value of 0 is interpreted as allocate full frames. The value must be a multiple of 16.
#define OMX_CONFIG_CAMERAINFOTYPE_NAME_LEN 16 typedef struct OMX_CONFIG_LENSCALIBRATIONVALUETYPE { OMX_U16 nShutterDelayTime; OMX_U16 nNdTransparency; OMX_U16 nPwmPulseNearEnd; OMX_U16 nPwmPulseFarEnd; OMX_U16 nVoltagePIOutNearEnd[3]; OMX_U16 nVoltagePIOut10cm[3]; OMX_U16 nVoltagePIOutInfinity[3]; OMX_U16 nVoltagePIOutFarEnd[3]; OMX_U32 nAdcConversionNearEnd; OMX_U32 nAdcConversionFarEnd; } OMX_CONFIG_LENSCALIBRATIONVALUETYPE; Ask the camera component for the driver info on the current camera device
typedef struct OMX_CONFIG_IMAGEPTRTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_PTR pImage; } OMX_CONFIG_IMAGEPTRTYPE; This parameter parameter allows the return of a pointer to a VideoCore image resource.
This index uses the standard IL structure OMX_PARAM_U32TYPE
typedef struct OMX_CONFIG_CAMERASENSORMODETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nModeIndex; OMX_U32 nNumModes; OMX_U32 nWidth; OMX_U32 nHeight; OMX_U32 nPaddingRight; OMX_U32 nPaddingDown; OMX_COLOR_FORMATTYPE eColorFormat; OMX_U32 nFrameRateMax; OMX_U32 nFrameRateMin; } OMX_CONFIG_CAMERASENSORMODETYPE; This parameter is used by clients to determine the sensor mode, and hence the memory usage, of the camera module. This is primarily used for determining the size of the input image pool. It can be used in two ways dependent on nPortIndex. If nPortIndex is OMX_ALL, it returns the sensor mode corresponding to nModeIndex, and the number of modes in nNumModes. If nModeIndex is greater than or equal to nNumModes only nNumModes is returned. If nPortIndex is equal to a camera video output port index, it returns the sensor mode that would be selected for the values currently in OMX_IndexParamPortDefinition for that port. The nPaddingRight and nPaddingDown values determine the extra padding the sensor adds to the image. These values must be added to nWidth and nHeight respectively if the client is specifying the input image pool size.
typedef struct OMX_CONFIG_CAMERASETTINGSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nExposure; OMX_U32 nAnalogGain; OMX_U32 nDigitalGain; OMX_U32 nLux; OMX_U32 nRedGain; OMX_U32 nBlueGain; OMX_U32 nFocusPosition; } OMX_CONFIG_CAMERASETTINGSTYPE; The client can also set OMX_IndexConfigRequestCallback for this config.
This index uses the standard IL structure OMX_PARAM_U32TYPE The stripe function itself is set with OMX_IndexParamCameraStripeFunction.
This index uses the standard IL structure OMX_PARAM_CONTENTURITYPE Query / set whether the filename to which the raw Bayer format image should be written out to file. Follows the standard URI structure. Can NOT be set when the capture bit is set and the capture port is executing. Will return OMX_ErrorUnsupportedIndex if the algorithm is not loaded.
This index uses the standard IL structure OMX_TIME_CONFIG_TIMESTAMPTYPE This allows the client to read from the clock the total time adjustment made to the clock whilst running by the reference clock. If the reference clock sends a time that causes the media time to jump this difference is added to the total, which can be reported via this index. When the stream restarts by setting the clock state to OMX_TIME_ClockStateRunning or OMX_TIME_ClockStateWaitingForStartTime this adjustment total is set to zero.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Enables/disables the face beautification algorithm, if it is present.
typedef struct OMX_CONFIG_FACEDETECTIONCONTROLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_FACEDETECTIONCONTROLTYPE eMode; OMX_U32 nFrames; OMX_U32 nMaxRegions; OMX_U32 nQuality; } OMX_CONFIG_FACEDETECTIONCONTROLTYPE; Query / set the state of the face detection algorithm. Will return OMX_ErrorUnsupportedIndex if the algorithm is not loaded.
Face detection outputOMX_IndexConfigCommonFaceDetectionRegionUsed by: camera
typedef struct OMX_CONFIG_FACEDETECTIONREGIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nIndex; OMX_U32 nDetectedRegions; OMX_S32 nValidRegions; OMX_U32 nImageWidth; OMX_U32 nImageHeight; OMX_FACEREGIONTYPE sRegion[1]; } OMX_CONFIG_FACEDETECTIONREGIONTYPE; Query the currently detected face regions within the viewfinder image. Will return OMX_ErrorUnsupportedIndex if the algorithm is not loaded.
Flicker cancellationOMX_IndexConfigCommonFlickerCancellationUsed by: camera
typedef enum OMX_COMMONFLICKERCANCELTYPE { OMX_COMMONFLICKERCANCEL_OFF, OMX_COMMONFLICKERCANCEL_AUTO, OMX_COMMONFLICKERCANCEL_50, OMX_COMMONFLICKERCANCEL_60, OMX_COMMONFLICKERCANCEL_DUMMY = 0x7FFFFFFF } OMX_COMMONFLICKERCANCELTYPE; typedef struct OMX_CONFIG_FLICKERCANCELTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_COMMONFLICKERCANCELTYPE eFlickerCancel; } OMX_CONFIG_FLICKERCANCELTYPE; Query / set the flicker cancellation frequency. Values are defined for Off, 50Hz, 60Hz, or auto. The method for auto detecting the flicker frequency is not defined, and currently results in the feature being turned off.
typedef enum OMX_FOCUSREGIONTYPE { OMX_FocusRegionNormal, OMX_FocusRegionFace, OMX_FocusRegionMax } OMX_FOCUSREGIONTYPE; typedef struct OMX_FOCUSREGIONXY { OMX_U32 xLeft; OMX_U32 xTop; OMX_U32 xWidth; OMX_U32 xHeight; OMX_U32 nWeight; OMX_U32 nMask; OMX_FOCUSREGIONTYPE eType; } OMX_FOCUSREGIONXY; typedef struct OMX_CONFIG_FOCUSREGIONXYTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nIndex; OMX_U32 nTotalRegions; OMX_S32 nValidRegions; OMX_BOOL bLockToFaces; OMX_U32 xFaceTolerance; OMX_FOCUSREGIONXY sRegion[1]; } OMX_CONFIG_FOCUSREGIONXYTYPE; Query / set the focus regions to use as a set of x/y/width/height boxes relative to the overall image. nIndex - first region number being set/read, allowing retrieval/setting of many regions over several requests. nTotalRegions - total number of regions currently defined. nValidRegions - number of valid regions in the sRegion array. When getting, the client sets this to the number of regions available. The component writes region data and updates this field with how many regions have been written to. When setting, this is the number of regions defined with this structure bLockToFaces - compare the region(s) given to the latest face tracking results. If a face is found within xFaceTolerance of the defined region, then amend the region to correspond to the face. xFaceTolerance - 0p16 value to define the max difference between the region centre and face tracking result centre to take the FT results sRegions - variable length array of focus regions.
typedef struct OMX_CONFIG_IMAGEFILTERPARAMSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_IMAGEFILTERTYPE eImageFilter; OMX_U32 nNumParams; OMX_U32 nParams[4]; } OMX_CONFIG_IMAGEFILTERPARAMSTYPE; This structure contains optional parameters for some image filters. The following table lists all image filters that support parameters.
typedef struct OMX_CONFIG_INTERLACETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_INTERLACETYPE eMode; OMX_BOOL bRepeatFirstField; } OMX_CONFIG_INTERLACETYPE;
Red eye removal/reductionOMX_IndexConfigCommonRedEyeRemovalUsed by: camera
typedef enum OMX_REDEYEREMOVALTYPE { OMX_RedEyeRemovalNone, OMX_RedEyeRemovalOn, OMX_RedEyeRemovalAuto, OMX_RedEyeRemovalKhronosExtensions = 0x6F000000, OMX_RedEyeRemovalVendorStartUnused = 0x7F000000, OMX_RedEyeRemovalSimple, OMX_RedEyeRemovalMax = 0x7FFFFFFF } OMX_REDEYEREMOVALTYPE; typedef struct OMX_CONFIG_REDEYEREMOVALTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_REDEYEREMOVALTYPE eMode; } OMX_CONFIG_REDEYEREMOVALTYPE; Configures the red eye reduction algorithm in the camera processing pipeline. The stage is only enabled if the flash mode is not FlashOff. The OMX_RedEyeRemovalSimple mode requests that the algorithm uses a reduced complexity algorithm to reduce the processing time.
typedef struct OMX_CONFIG_SCENEDETECTTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_SCENEDETECTTYPE eScene; } OMX_CONFIG_SCENEDETECTTYPE; This config is used to report to clients the scene type that has been detected.
Automatic Scene Detection ControlOMX_IndexConfigCommonSceneDetectionControlUsed by: camera This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Enables/disables the scene detection algorithm, if it is present.
typedef struct OMX_CONFIG_SHARPNESSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_S32 nSharpness; } OMX_CONFIG_SHARPNESSTYPE; Query / set the sharpening/softening of the output image. -100 = max softening. 0 = no change. +100 = max sharpening.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This is a boolean config parameter. Setting this to TRUE will continue the playback of a rental file, while setting to FALSE has no effect, and the host application is expected to stop the playback afterwards.
typedef enum OMX_DISPLAYTRANSFORMTYPE{ OMX_DISPLAY_ROT0 = 0, OMX_DISPLAY_MIRROR_ROT0 = 1, OMX_DISPLAY_MIRROR_ROT180 = 2, OMX_DISPLAY_ROT180 = 3, OMX_DISPLAY_MIRROR_ROT90 = 4, OMX_DISPLAY_ROT270 = 5, OMX_DISPLAY_ROT90 = 6, OMX_DISPLAY_MIRROR_ROT270 = 7, OMX_DISPLAY_DUMMY = 0x7FFFFFFF } OMX_DISPLAYTRANSFORMTYPE; typedef struct OMX_DISPLAYRECTTYPE { OMX_S16 x_offset; OMX_S16 y_offset; OMX_S16 width; OMX_S16 height; } OMX_DISPLAYRECTTYPE; typedef enum OMX_DISPLAYMODETYPE { OMX_DISPLAY_MODE_FILL = 0, OMX_DISPLAY_MODE_LETTERBOX = 1, OMX_DISPLAY_MODE_DUMMY = 0x7FFFFFFF } OMX_DISPLAYMODETYPE; typedef enum OMX_DISPLAYSETTYPE { OMX_DISPLAY_SET_NONE = 0, OMX_DISPLAY_SET_NUM = 1, OMX_DISPLAY_SET_FULLSCREEN = 2, OMX_DISPLAY_SET_TRANSFORM = 4, OMX_DISPLAY_SET_DEST_RECT = 8, OMX_DISPLAY_SET_SRC_RECT = 0x10, OMX_DISPLAY_SET_MODE = 0x20, OMX_DISPLAY_SET_PIXEL = 0x40, OMX_DISPLAY_SET_NOASPECT = 0x80, OMX_DISPLAY_SET_LAYER = 0x100, OMX_DISPLAY_SET_COPYPROTECT = 0x200, OMX_DISPLAY_SET_ALPHA = 0x400, OMX_DISPLAY_SET_DUMMY = 0x7FFFFFFF } OMX_DISPLAYSETTYPE; typedef struct OMX_CONFIG_DISPLAYREGIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_DISPLAYSETTYPE set; OMX_U32 num; OMX_BOOL fullscreen; OMX_DISPLAYTRANSFORMTYPE transform; OMX_DISPLAYRECTTYPE dest_rect; OMX_DISPLAYRECTTYPE src_rect; OMX_BOOL noaspect; OMX_DISPLAYMODETYPE mode; OMX_U32 pixel_x; OMX_U32 pixel_y; OMX_S32 layer; OMX_BOOL copyprotect_required; OMX_U32 alpha; OMX_U32 wfc_context_width; OMX_U32 wfc_context_height; } OMX_CONFIG_DISPLAYREGIONTYPE; This config sets the output display device, as well as the region used on the output display, any display transformation, and some flags to indicate how to scale the image. The structure uses a bitfield, set, to indicate which fields are set and should be used. All other fields will maintain their current value. num describes the display output device, with 0 typically being a directly connected LCD display. fullscreen indicates that we are using the full device screen area, rather than a window of the display. If fullscreen is false, then dest_rect is used to specify a region of the display to use. transform indicates any rotation or flipping used to map frames onto the natural display orientation. The src_rect indicates which area of the frame to display. If all values are zero, the whole frame will be used. The noaspect flag, if set, indicates that any display scaling should disregard the aspect ratio of the frame region being displayed. mode indicates how the image should be scaled to fit the display. OMX_DISPLAY_MODE_FILL indicates that the image should fill the screen by potentially cropping the frames. Setting mode to OMX_DISPLAY_MODE_LETTERBOX indicates that all the source region should be displayed and black bars added if necessary. The pixel_x and pixel_y values, if non-zero, are used to describe the size of a source pixel. If values are zero, then pixels default to being square. Set the layer that the image will appear on with the layer field.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set the state of adding boxes around the faces detected in the viewfinder frames.
typedef struct OMX_YUVCOLOUR { OMX_U8 nY; OMX_U8 nU; OMX_U8 nV; } OMX_YUVCOLOUR; typedef struct OMX_CONFIG_DRAWBOXLINEPARAMS { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 xCornerSize; OMX_U32 nPrimaryFaceLineWidth; OMX_U32 nOtherFaceLineWidth; OMX_U32 nFocusRegionLineWidth; OMX_YUVCOLOUR sPrimaryFaceColour; OMX_YUVCOLOUR sPrimaryFaceSmileColour; OMX_YUVCOLOUR sPrimaryFaceBlinkColour; OMX_YUVCOLOUR sOtherFaceColour; OMX_YUVCOLOUR sOtherFaceSmileColour; OMX_YUVCOLOUR sOtherFaceBlinkColour; OMX_BOOL bShowFocusRegionsWhenIdle; OMX_YUVCOLOUR sFocusRegionColour; OMX_BOOL bShowAfState; OMX_BOOL bShowOnlyPrimaryAfState; OMX_BOOL bCombineNonFaceRegions; OMX_YUVCOLOUR sAfLockPrimaryFaceColour; OMX_YUVCOLOUR sAfLockOtherFaceColour; OMX_YUVCOLOUR sAfLockFocusRegionColour; OMX_YUVCOLOUR sAfFailPrimaryFaceColour; OMX_YUVCOLOUR sAfFailOtherFaceColour; OMX_YUVCOLOUR sAfFailFocusRegionColour; } OMX_CONFIG_DRAWBOXLINEPARAMS; Query / set the parameters for the box to be drawn around faces/focus regions.
View information for DRM rental filesOMX_IndexConfigDrmViewUsed by: read_media, read_media
typedef struct OMX_CONFIG_DRMVIEWTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nCurrentView; OMX_U32 nMaxView; } OMX_CONFIG_DRMVIEWTYPE; This structure contains information about the number of available views in the selected DRM rental file, which typically have a given maximum view count. It allows the user to explicitly agree to playing the file, which will increment the number of current views the file has had.
Configure image dynamic range expansion processingOMX_IndexConfigDynamicRangeExpansionUsed by: camera
typedef enum OMX_DYNAMICRANGEEXPANSIONMODETYPE { OMX_DynRangeExpOff, OMX_DynRangeExpLow, OMX_DynRangeExpMedium, OMX_DynRangeExpHigh, OMX_DynRangeExpKhronosExtensions = 0x6F000000, OMX_DynRangeExpVendorStartUnused = 0x7F000000, OMX_DynRangeExpMax = 0x7FFFFFFF } OMX_DYNAMICRANGEEXPANSIONMODETYPE; typedef struct OMX_CONFIG_DYNAMICRANGEEXPANSIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_DYNAMICRANGEEXPANSIONMODETYPE eMode; } OMX_CONFIG_DYNAMICRANGEEXPANSIONTYPE; Configures the intensity of an image dynamic range expansion processing stage
typedef struct OMX_VIDEO_CONFIG_LEVEL_EXTEND { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nCustomMaxMBPS; OMX_U32 nCustomMaxFS; OMX_U32 nCustomMaxBRandCPB; } OMX_VIDEO_CONFIG_LEVEL_EXTEND; This allows finer control of the H264 encode internal parameters.
Face Recognition ControlOMX_IndexConfigFaceRecognitionControlUsed by: camera This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Enables/disables the face recognition software stage (if present)
This index uses the standard IL structure OMX_PARAM_CONTENTURITYPE Specifies the URI of the database file to be used by face recognition.
typedef struct OMX_PARAM_BRCMU64TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nLowPart; OMX_U32 nHighPart; } OMX_PARAM_BRCMU64TYPE; Instructs the face recognition stage to save the next primary face it sees into the database with the supplied ID.
Image field of viewOMX_IndexConfigFieldOfViewUsed by: camera
typedef struct OMX_CONFIG_BRCMFOVTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 xFieldOfViewHorizontal; OMX_U32 xFieldOfViewVertical; } OMX_CONFIG_BRCMFOVTYPE; Returns the field of view provided by the current camera settings. Read only.
Query the charge level of the currently selected flash deviceOMX_IndexConfigFlashChargeLevelUsed by: camera This index uses the standard IL structure OMX_PARAM_U32TYPE This is updated at the start of every frame.
typedef struct OMX_CONFIG_FLASHINFOTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U8 sFlashName[OMX_CONFIG_FLASHINFOTYPE_NAME_LEN]; OMX_CAMERAFLASHTYPE eFlashType; OMX_U8 nDeviceId; OMX_U8 nDeviceVersion; } OMX_CONFIG_FLASHINFOTYPE; Queries for the information on the flash devices present.
typedef struct OMX_CONFIG_INPUTCROPTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 xLeft; OMX_U32 xTop; OMX_U32 xWidth; OMX_U32 xHeight; } OMX_CONFIG_INPUTCROPTYPE; Query / set the region of the input image that will be cropped before being processed by the ISP. It is specified as a fraction of the input width and height, expressed as a 16p16 value.
Maintain target latency by adjusting clock speedOMX_IndexConfigLatencyTargetUsed by: audio_render, clock, video_render
typedef struct OMX_CONFIG_LATENCYTARGETTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; OMX_U32 nFilter; OMX_U32 nTarget; OMX_U32 nShift; OMX_S32 nSpeedFactor; OMX_S32 nInterFactor; OMX_S32 nAdjCap; } OMX_CONFIG_LATENCYTARGETTYPE; Query/set parameters used when adjusting clock speed to match the measured latency to a specified value.
Minimising FragmentationOMX_IndexConfigMinimiseFragmentationUsed by: video_encode This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control can be supported to enable the client to request that the component works to minimise fragmentation of output buffers.
typedef enum OMX_PLAYMODETYPE { OMX_PLAYMODE_NORMAL, OMX_PLAYMODE_FF, OMX_PLAYMODE_REW, OMX_PLAYMODE_DUMMY = 0x7FFFFFFF } OMX_PLAYMODETYPE; typedef struct OMX_CONFIG_PLAYMODETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_PLAYMODETYPE eMode; } OMX_CONFIG_PLAYMODETYPE; The playmode affects which frames are extracted from the media file and passed on the output ports. OMX_PLAYMODE_NORMAL will extract all frames, OMX_PLAYMODE_FF extracts only IDR frames when video is present, or only occasional packets of audio if no video is present. OMX_PLAYMODE_REW is similar to OMX_PLAYMODE_FF but extracts packets in reverse time order.
typedef struct OMX_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; This is proposed in IL533f for controlling which ports of a multi-port camera component are capturing frames.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query /set the power status of the camera module. Setting this parameter to OMX_TRUE instructs the component to power down the sensor, but keeping all memory allocated as required by the component state.
This index uses the standard IL structure OMX_TIME_CONFIG_TIMESTAMPTYPE The value of nTimestamp is added to the offset requested for each new input frame. Takes effect for all new input frames, and has no effect on the offset used for currently-queued frames. A positive value will make the requested port earlier relative to other streams, a negative value will make the requested port later relative to other streams.
typedef enum OMX_PRIVACYINDICATORTYPE { OMX_PrivacyIndicatorOff, OMX_PrivacyIndicatorOn, OMX_PrivacyIndicatorForceOn, OMX_PrivacyIndicatorKhronosExtensions = 0x6F000000, OMX_PrivacyIndicatorVendorStartUnused = 0x7F000000, OMX_PrivacyIndicatorMax = 0x7FFFFFFF } OMX_PRIVACYINDICATORTYPE; typedef struct OMX_CONFIG_PRIVACYINDICATORTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_PRIVACYINDICATORTYPE ePrivacyIndicatorMode; } OMX_CONFIG_PRIVACYINDICATORTYPE; This config allows control over the privacy indicator light. This light indicates when a capture is in progress. OMX_PrivacyIndicatorOff indicator is disabled. OMX_PrivacyIndicatorOn indicator will be turned on whenever an image is being captured as determined by the capturing bit. Minimum on duration of approx 200ms. OMX_PrivacyIndicatorForceOn results in turning the indicator on immediately, whether an image is being captured or not. The mode will automatically revert to OMX_PrivacyIndicatorOff once the indicator has been turned on, so OMX_PrivacyIndicatorForceOn must be requested at least every 200ms if the indicator is to remain on.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This will only happen if the codec is currently loaded. To perform this operation, the bEnabled value should be set to OMX_TRUE.
typedef struct OMX_CONFIG_REQUESTCALLBACKTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_INDEXTYPE nIndex; OMX_BOOL bEnable; } OMX_CONFIG_REQUESTCALLBACKTYPE; This config implements IL416c to allow clients to request notification of when a config or parameter is changed. When the parameter specified in nIndex for port nPortIndex changes, an OMX_EventParamOrConfigChanged event is generated for the client.
This index uses the standard IL structure OMX_PARAM_U32TYPE When setting this config on a paused clock, where the nU32 value is non-zero and nPortIndex is OMX_ALL, the media clock will advance through the next nU32 next requested media times. A paused clock is in running state but has a time scale of 0. This will trigger the display of some video frames, so allowing single-stepping functionality. This config can be set multiple times, and will buffer up stepping requests until we have media requests to fulfil, or the clock is stopped or un-paused. This config can also be used on some video output ports and, if nU32 is non-zero, requests that the output port forwards the next nU32 frames appending an EOS marker on the last frame, and then ceases to forward data on this port. If nU32 is zero, any previous request to forward a limited number of frames is cancelled and the default behaviour of this port will resume.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set the state of the Smart Shake Reduction function. Will return OMX_ErrorUnsupportedIndex if the algorithm is not loaded.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set the state of the still colour denoise function of the camera. This is only applicable whilst doing a stills capture in YUV422 or YUV420 planar format.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set the state of the temporal denoising function of the camera. This is only applicable whilst the camera is producing images in the Broadcom-specific format or YUV420.
This index uses the standard IL structure OMX_TIME_CONFIG_TIMESTAMPTYPE This allows clock clients to supply a start time notification to the clock whilst indicating that this time is invalid.
typedef struct OMX_CONFIG_TRANSITIONCONTROLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nPosStart; OMX_U32 nPosEnd; OMX_S32 nPosIncrement; OMX_TICKS nFrameIncrement; OMX_BOOL bSwapInputs; OMX_U8 name[16]; OMX_U8 property[64]; } OMX_CONFIG_TRANSITIONCONTROLTYPE;
This structure represents the internal configuration of the
transition. Transitions are generated by a loadable plug-in described
by the name field. The component appends "_tran.vll" to
the name provided, and attempts to load a transition library contained
in this VLL. The exact type of transition is configured in a
plug-in-dependent manner with the property field. All plug-ins
should accept a property field equal to
"flags=
typedef struct OMX_CONFIG_U8TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U8 nU8; } OMX_PARAM_U8TYPE; Sets an identifier to be set on the start of the next frame. Gets the identifier seen on the last frame from Camplus. This allows a client to identify when a group of settings have all been applied to Camplus (apply settings, change OMX_IndexConfigUserSettingsId, wait for value read back from OMX_IndexConfigUserSettingsId to change to match).
Configure video colour denoiseOMX_IndexConfigVideoColourDenoiseEnableUsed by: camera This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set the state of the video colour denoising function of the camera. This is only applicable whilst the camera is producing images in the Broadcom-specific format or YUV420.
typedef struct OMX_CONFIG_VISUALISATIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U8 name[16]; OMX_U8 property[64]; } OMX_CONFIG_VISUALISATIONTYPE;
name is a string of characters specifying the type of
visualization. The component appends "_vis.vll" to the name
provided, and attempts to load a visualisation library contained in
this VLL. property contains configuration parameters and
values, which is interpreted by the visualisation library. Typically
all visualisations will accept a property string containing
'mode=
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set whether the camera component will ensure that the camera module has reported the lens back at the focused position before stopping capturing with the OneShot flag set. This may lead to multiple complete images being emitted from the capture port, and any receiving component/client should be prepared for this.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE The allows the client to specify to a component that is writing files that this writing may happen asynchronously, including opening and closing of files.
This index uses the standard IL structure OMX_AUDIO_PARAM_DDPTYPE nSamplingRate must be 32000, 44100 or 48000.
This index uses the standard IL structure OMX_AUDIO_PARAM_DTSTYPE Supported on the output port for when pass through mode is enabled.
typedef struct OMX_PARAM_BRCMALLOWMEMCHANGETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bEnable; } OMX_PARAM_BRCMALLOWMEMCHANGETYPE; Let the component change the amount of memory it has allocated when going from LOADED to IDLE. By default this is enabled, but if it is disabled the component will fail to transition to IDLE if the component requires more memory than has already been allocated. This might occur if (for example) the component was configured, taken to IDLE, then taken back to LOADED, the profile increased and the component taken back to IDLE.
This index uses the standard IL structure OMX_PARAM_U32TYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Setting this index resets CRCs to zero. CRC calculation defaults to off.
typedef struct OMX_PARAM_BRCMASPECTRATIOTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nWidth; OMX_U32 nHeight; } OMX_PARAM_BRCMASPECTRATIOTYPE; Query / set the prefered aspect ratio of the sensor CDI mode. The CDI will use the nearest value to this. If both are left as 0, then the aspect ratio of the requested output mode is used to bias the sensor mode selection.
This index uses the standard IL structure OMX_PARAM_DATAUNITTYPE The data unit is an indication to components connected to this component of the type of data delivery available. OMX_DataUnitCodedPicture indicates that we are able to give framing information, using the OMX_BUFFERFLAG_ENDOFFRAME flag to indicate that the data contained finishes a complete frame. OMX_DataUnitArbitraryStreamSection indicates that no end-of-frame markers will be present, and the decoder should perform the steps necessary to decode the stream. The other enum values are not used.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This parameter is used by clients to control the generation of exif data in JPEG images.
typedef struct OMX_PARAM_BRCMDISABLEPROPRIETARYTUNNELSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bUseBuffers; } OMX_PARAM_BRCMDISABLEPROPRIETARYTUNNELSTYPE; Tell a source component to refuse to support proprietary tunnelling. Buffers will be used instead.
typedef enum OMX_BRCMDRMENCRYPTIONTYPE { OMX_DrmEncryptionNone = 0, OMX_DrmEncryptionHdcp2, OMX_DrmEncryptionKhronosExtensions = 0x6F000000, OMX_DrmEncryptionVendorStartUnused = 0x7F000000, OMX_DrmEncryptionRangeMax = 0x7FFFFFFF } OMX_BRCMDRMENCRYPTIONTYPE; typedef struct OMX_PARAM_BRCMDRMENCRYPTIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BRCMDRMENCRYPTIONTYPE eEncryption; OMX_U32 nConfigDataLen; OMX_U8 configData[1]; } OMX_PARAM_BRCMDRMENCRYPTIONTYPE; Query/set the DRM encryption scheme used by a port writing out data.
typedef struct OMX_VIDEO_EEDE_ENABLE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 enable; } OMX_VIDEO_EEDE_ENABLE; This enables or disables the use of end to end distortion estimation.
typedef struct OMX_VIDEO_EEDE_LOSSRATE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 loss_rate; } OMX_VIDEO_EEDE_LOSSRATE; Set the packet loss rate used by the end to end distortion estimator.
JPEG Quality Table Setting.OMX_IndexParamBrcmEnableIJGTableScalingUsed by: image_encode, write_still
typedef struct OMX_PARAM_IJGSCALINGTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_PARAM_IJGSCALINGTYPE; The boolean bEnabled value determines whether the component uses the standard IJG quality tables when encoding images.
This index uses the standard IL structure OMX_PARAM_U32TYPE This defaults to 2 (one on the display, one in the video scheduler) but it may sometimes be necessary to increase this.
This index uses the standard IL structure OMX_PARAM_U32TYPE This parameter allows internal users of RIL components to request a callback when a flush has completed on the output port. This is useful in proprietary tunnelling mode where there is no other way for the user to know when the output port has been flushed. The component will perform a callback with the given nU32 as the callback id.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This uses the standard OMX_CONFIG_BOOLEANTYPE structure. If set to OMX_TRUE, the encoder will not modify the input images. Only relevant when using proprietary tunnels.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Configures a component so that it tries to timestamp all the buffers it outputs. If the timestamp information is missing from the original buffer, the component will try its best to interpolate a value for the missing timestamp.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE e. we will not wait for the images to be returned from the pool, but instead rely on the image pool tidying itself up automatically when all references are released.
This index uses the standard IL structure OMX_PARAM_U32TYPE The default value is zero.
typedef struct OMX_PARAM_BRCMU64TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nLowPart; OMX_U32 nHighPart; } OMX_PARAM_BRCMU64TYPE; An error will be reported when this size is reached.
Frame timestamp jumpsOMX_IndexParamBrcmMaxFrameSkipsUsed by: null_sink This index uses the standard IL structure OMX_PARAM_U32TYPE This number represents the number of times a jump in frame timestamps has been observed that is greater than expected.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE With this enabled, those encoders that support it will produce NALs in separate OMX buffers.
typedef struct OMX_PARAM_BRCMOUTPUTBUFFERSIZETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nBufferSize; } OMX_PARAM_BRCMOUTPUTBUFFERSIZETYPE; This is a hint to the underlying handler, and may be ignored.
This index uses the standard IL structure OMX_CONFIG_POINTTYPE Allowed values are: 1:1, 10:11, 16:11, 40:33, 59:54, and 118:81.
typedef enum OMX_BRCMPIXELVALUERANGETYPE { OMX_PixelValueRangeUnspecified = 0, OMX_PixelValueRangeITU_R_BT601, OMX_PixelValueRangeFull8Bit, OMX_PixelValueRangeKhronosExtensions = 0x6F000000, OMX_PixelValueRangeVendorStartUnused = 0x7F000000, OMX_PixelValueRangeMax = 0x7FFFFFFF } OMX_BRCMPIXELVALUERANGETYPE; typedef struct OMX_PARAM_BRCMPIXELVALUERANGETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BRCMPIXELVALUERANGETYPE ePixelValueRange; } OMX_PARAM_BRCMPIXELVALUERANGETYPE; This structure allows a description of the range that pixel values may have. This is typically useful since some standards use the full 8 bit range, whereas others introduce pedastals which reduce the range at the top and bottom end.
typedef struct OMX_PARAM_BRCMRETAINMEMORYTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bEnable; } OMX_PARAM_BRCMRETAINMEMORYTYPE; Ask a component to retain its memory when going from IDLE to LOADED, if possible. This has the benefit that you are then guaranteed that the transition to IDLE cannot fail due to lack of memory, but has the disadvantage that you cannot leave the component lying around in LOADED, unused, since it is using significant amounts of memory.
This index uses the standard IL structure OMX_PARAM_U32TYPE Configures a codec component so that it outputs performance statistics to the given DECODE_PROGRESS_REPORT_T structure (passed as a pointer). This structure can then be read by the client to find out where the codec is at in its processing.
typedef enum OMX_BRCMTHREADAFFINITYTYPE { OMX_BrcmThreadAffinityCPU0, OMX_BrcmThreadAffinityCPU1, OMX_BrcmThreadAffinityMax = 0x7FFFFFFF } OMX_BRCMTHREADAFFINITYTYPE; typedef struct OMX_PARAM_BRCMTHREADAFFINITYTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BRCMTHREADAFFINITYTYPE eAffinity; } OMX_PARAM_BRCMTHREADAFFINITYTYPE; This parameter is used by clients to hint the CPU that a component thread should run on.
Control generation of thumbnailOMX_IndexParamBrcmThumbnailUsed by: image_encode, write_still
typedef struct OMX_PARAM_BRCMTHUMBNAILTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bEnable; OMX_BOOL bUsePreview; OMX_U32 nWidth; OMX_U32 nHeight; } OMX_PARAM_BRCMTHUMBNAILTYPE; This parameter is used by clients to control how thumbnails are generated when creating still images. Thumbnail generation will be turned on or off depending on the bEnable field. The bUsePreview field will let the component know whether it should use the low resolution preview image (if the component has one available) as is for the thumbnail. When this is set to true, it should make the generation of thumbnails faster (if a preview image is available) and should use less memory as well. The nWidth and nHeight fields allow the client to specify the dimensions of the thumbnail. If both nWidth and nHeight are 0, we will calculate a sensible size for the thumbnail.
Configure the number of pre-allocated transpose buffersOMX_IndexParamBrcmTransposeBufferCountUsed by: video_render This index uses the standard IL structure OMX_PARAM_U32TYPE This config allows the client to explicitly set the number of destination buffers pre-allocated for ports that support 90/270 degree rotation (e.g. in video_render). The buffers will be pre-allocated during a state transition from LOADED to IDLE (the transition will fail if there is not enough memory available for the buffers). .
typedef struct OMX_PARAM_BRCMVIDEOAVCSEIENABLETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnable; } OMX_PARAM_BRCMVIDEOAVCSEIENABLETYPE; Enable or disable Supplemental Enhancement Information (SEI) messages to be inserted in the H.264 bitstream.
typedef struct OMX_PARAM_BRCMVIDEODECODEERRORCONCEALMENTTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bStartWithValidFrame; } OMX_PARAM_BRCMVIDEODECODEERRORCONCEALMENTTYPE; This parameter is used by clients to control the type of error concealment that will be done by the video decoder.
Query / set the codec's maximum quantization levelOMX_IndexParamBrcmVideoEncodeMaxQuantUsed by: video_encode This index uses the standard IL structure OMX_PARAM_U32TYPE
This index uses the standard IL structure OMX_PARAM_U32TYPE
This index uses the standard IL structure OMX_PARAM_U32TYPE This parameter allows the configuration of the identifier to be used to initialise the Broadcom Camplus subsystem that sits beneath the camera component. If only one instance of the camera component is used, the default value can be used. If more than one instance is required, they must each have their own unique values for this parameter. It is also used to tie the component to the image pool created with OMX_Set upCamPools.
typedef struct OMX_PARAM_CAMERACAPTUREEVENTFUNCTIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_PTR pPrivate; RIL_CAMERA_CAPTURE_EVENT_FUNC_T pCaptureFunc; } OMX_PARAM_CAMERACAPTUREEVENTFUNCTIONTYPE; This parameter is used to pass a callback to the camera component which is called when a capture is started.
typedef struct OMX_PARAM_CAMERACAPTUREMODETYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAMERACAPTUREMODETYPE eMode; } OMX_PARAM_CAMERACAPTUREMODETYPE; Options are: OMX_CameraCaptureModeWaitForCaptureEnd: Wait for capture to complete before resuming viewfinder. OMX_CameraCaptureModeWaitForCaptureEndAndUsePreviousInputImage: Reprocess the same input frame multiple times with different settings. Currently not implemented in the Camplus levels. OMX_CameraCaptureModeResumeViewfinderImmediately: Resume viewfinder/video encode as soon as the input image for the still has been acquired, and then process the still in a parallel thread. This requires image_pool_params.eInputPoolMode to be set to OMX_CAMERAIMAGEPOOLINPUTMODE_TWOPOOLS, and image_pool_params.nNumHiResStillsFrames to be non-zero, otherwise the image pools won't split in a manner that allows viewfinder to be resumed.
This index uses the standard IL structure OMX_PARAM_U32TYPE Query / set the camera number (as defined by the Videocore make system) to be used by this camera component. When set, the value will be checked to ensure that the camera number specified is defined for the platform. Setting this parameter also triggers loading of the relevant drivers to speed up queries for OMX_IndexConfigCameraSensorModes, which require the drivers to be loaded. This parameter is supported by OMX_IndexConfigRequestCallback, so the client can be notified once that driver is loaded, rather than having to poll the settings.
This index uses the standard IL structure OMX_PARAM_U32TYPE The result is a bitmask indicating which cameras ahve been detected.
typedef enum OMX_CAMERADISABLEALGORITHMTYPE { OMX_CameraDisableAlgorithmFacetracking, OMX_CameraDisableAlgorithmRedEyeReduction, OMX_CameraDisableAlgorithmVideoStabilisation, OMX_CameraDisableAlgorithmWriteRaw, OMX_CameraDisableAlgorithmVideoDenoise, OMX_CameraDisableAlgorithmStillsDenoise, OMX_CameraDisableAlgorithmAntiShake, OMX_CameraDisableAlgorithmImageEffects, OMX_CameraDisableAlgorithmDarkSubtract, OMX_CameraDisableAlgorithmDynamicRangeExpansion, OMX_CameraDisableAlgorithmFaceRecognition, OMX_CameraDisableAlgorithmFaceBeautification, OMX_CameraDisableAlgorithmSceneDetection, OMX_CameraDisableAlgorithmHighDynamicRange, OMX_CameraDisableAlgorithmKhronosExtensions = 0x6F000000, OMX_CameraDisableAlgorithmVendorStartUnused = 0x7F000000, OMX_CameraDisableAlgorithmMax = 0x7FFFFFFF } OMX_CAMERADISABLEALGORITHMTYPE; typedef struct OMX_PARAM_CAMERADISABLEALGORITHMTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_CAMERADISABLEALGORITHMTYPE eAlgorithm; OMX_BOOL bDisabled; } OMX_PARAM_CAMERADISABLEALGORITHMTYPE; Allows plugin algorithms to be disabled to save memory within the camera component
typedef enum OMX_CAMERAFLASHTYPE { OMX_CameraFlashDefault, OMX_CameraFlashXenon, OMX_CameraFlashLED, OMX_CameraFlashNone, OMX_CameraFlashKhronosExtensions = 0x6F000000, OMX_CameraFlashVendorStartUnused = 0x7F000000, OMX_CameraFlashMax = 0x7FFFFFFF } OMX_CAMERAFLASHTYPE; typedef struct OMX_PARAM_CAMERAFLASHTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAMERAFLASHTYPE eFlashType; OMX_BOOL bRedEyeUsesTorchMode; } OMX_PARAM_CAMERAFLASHTYPE; This parameter allows the selection of xenon or LED flash devices to be used with the currently selected camera. If that device is not available, then the component will revert back to whatever flash device is available for that camera. bRedEyeUsesTorchMode allows the blinking for red eye reduction to be switched between using the indicator mode, and the torch mode for the flash driver.
typedef enum OMX_CAMERAIMAGEPOOLINPUTMODETYPE { OMX_CAMERAIMAGEPOOLINPUTMODE_ONEPOOL, /*All input images are allocated from one pool Works for simple stills capture use cases Can not be used with parallel stills capture and video encode, as the pool will be sized for capture or viewfinder, not both simultaneously. The pool wouldn't divide sensibly in this mode anyway. */ OMX_CAMERAIMAGEPOOLINPUTMODE_TWOPOOLS, /*All stills & video input images are allocated from two seperate pools. This ensures that parallel capture can work, but would consume more memory if used on a simple stills capture use case. */ } OMX_CAMERAIMAGEPOOLINPUTMODETYPE; typedef struct OMX_PARAM_CAMERAIMAGEPOOLTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nNumHiResVideoFrames; OMX_U32 nHiResVideoWidth; OMX_U32 nHiResVideoHeight; OMX_COLOR_FORMATTYPE eHiResVideoType; OMX_U32 nNumHiResStillsFrames; OMX_U32 nHiResStillsWidth; OMX_U32 nHiResStillsHeight; OMX_COLOR_FORMATTYPE eHiResStillsType; OMX_U32 nNumLoResFrames; OMX_U32 nLoResWidth; OMX_U32 nLoResHeight; OMX_COLOR_FORMATTYPE eLoResType; OMX_CAMERAIMAGEPOOLINPUTMODETYPE eInputPoolMode; OMX_U32 nNumInputVideoFrames; OMX_U32 nInputVideoWidth; OMX_U32 nInputVideoHeight; OMX_COLOR_FORMATTYPE eInputVideoType; OMX_U32 nNumInputStillsFrames; OMX_U32 nInputStillsWidth; OMX_U32 nInputStillsHeight; OMX_COLOR_FORMATTYPE eInputStillsType; } OMX_PARAM_CAMERAIMAGEPOOLTYPE; \sloppy This parameter specifies the size, type, and number, of images to allow in the images pools required by Camplus. Supported types are OMX_COLOR_FormatYUV420PackedPlanar, OMX_COLOR_FormatYUV422PackedPlanar, OMX_COLOR_FormatRawBayer8bit, OMX_COLOR_FormatRawBayer10bit, OMX_COLOR_FormatRawBayer8bitcompressed, and 0 (reserved for the Broadcom-specific format required by the video encoder). The input pool width, height, and type can be set as 0 to make the component query Camplus for the sensor mode that would correspond to the largest of the viewfinder port definition, the capture port definition, or the high resolution image pool.
typedef struct OMX_PARAM_CAMERAPOOLTOENCODERFUNCTIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_PTR pPrivate; RIL_CAMERA_ENCODER_FUNC_T pEncoderFunc; RIL_IMAGE_FLUSH_FUNC_T pFlushFunc; OMX_BOOL bUseYUVUV; } OMX_PARAM_CAMERAPOOLTOENCODERFUNCTIONTYPE; This parameter is used when creating proprietary communication with the video_encode component from the capture port. It provides the encoder function for passing the main and subsampled images to be encoded, together with a function used to release all images. The image format in this mode can be set to the Broadcom-specific format required for the video encode functions, and does not comply with any of the OMX standard formats.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Configures the camera component to switch to a single input buffer when capturing, therefore saving the memory requirement of having two full resolution bayer input buffers to store the input images.
typedef struct OMX_PARAM_CAMERASTRIPEFUNCTIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_PTR pPrivate; RIL_CAMERA_STRIPE_FUNC_T pStripeFunc; RIL_IMAGE_FLUSH_FUNC_T pFlushFunc; RIL_CAMERA_STRIPE_RELEASE_FUNC_T pReleaseFunc; OMX_PTR pReleasePrivate; OMX_BOOL bUseYUVUV; } OMX_PARAM_CAMERASTRIPEFUNCTIONTYPE; This parameter is used by the camera when setting up proprietary communication, and passes several function pointers used for passing and flushing stripes.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Configures the camera component to swap over the two image pools when in stills capture mode. The behind this logic being that the viewfinder high res images and the capture low res images are approximately the same size, and the viewfinder low res images and the capture high res circular output buffer are approximately the same size. DO NOT USE WITH PARALLEL CAPTURE, AS POOL ALLOCATIONS ALREADY TAKE THIS INTO ACCOUNT
typedef struct OMX_PARAM_CAMERAUSECASETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_PARAM_CAMERAUSECASE eUseCase; } OMX_PARAM_CAMERAUSECASETYPE; Query / set the use case to be passed into the tuner module.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Set to True when a stills capture starts, and will be cleared when the capture image has been passed downstream. This parameter is supported by OMX_IndexConfigRequestCallback to allow a client to do stuff on image capture (eg play a shutter sound).
typedef struct OMX_PARAM_CODECCONFIGTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 bCodecConfigIsComplete; OMX_U8 nData[1]; } OMX_PARAM_CODECCONFIGTYPE; This parameter contains opaque data in a format specified by Broadcom and allows out-of-band information such as cropping rectangles, aspect ratio information, codec-specific header bytes, and other essential information to be passed between connected components. bCodecConfigIsCompete specifies if the codec config is fully contained in here and there is no need to wait for OMX_BUFFERFLAG_CODECCONFIG buffers
typedef enum OMX_TIMESTAMPMODETYPE { OMX_TimestampModeZero = 0, OMX_TimestampModeRawStc, OMX_TimestampModeResetStc, OMX_TimestampModeKhronosExtensions = 0x6F000000, OMX_TimestampModeVendorStartUnused = 0x7F000000, OMX_TimestampModeMax = 0x7FFFFFFF } OMX_TIMESTAMPMODETYPE; typedef struct OMX_PARAM_TIMESTAMPMODETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_TIMESTAMPMODETYPE eTimestampMode; } OMX_PARAM_TIMESTAMPMODETYPE; Specifies what to use as timestamps in the abscence of a clock component.
This index uses the standard IL structure OMX_PARAM_COMPONENTROLETYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control can be used to control whether loadable modules used a dedicated memory pool or use heap allocated memory.
This index uses the standard IL structure OMX_PARAM_CONTENTURITYPE If a file is to be used, OMX_IndexParamUseDynamicParameterFile must be set.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This specifies whether the failure to load the DPF file should this be treated as a fatal error Enables loading of a dynamic parameter file. The filename is set with OMX_IndexParamDynamicParameterFile.
typedef struct OMX_PARAM_ILFIFOCONFIG { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nDataSize; OMX_U32 nHeaderCount; } OMX_PARAM_ILFIFOCONFIG; Allows configuring the size of the ILFIFO used in a component.
ISP tuner nameOMX_IndexParamISPTunerNameUsed by: camera
typedef struct OMX_PARAM_CAMERAISPTUNERTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U8 tuner_name[64]; } OMX_PARAM_CAMERAISPTUNERTYPE; Allow the client to query / set the name of the camera tuner module to be used by Camplus. If tuner_name is a null string, the default tuner for the camera module is loaded. It is recommended that this parameter is set before OMX_IndexParamCameraDeviceNumber to avoid reloading the CDI and default tuner.
typedef struct OMX_PARAM_IMAGEDISPLAYFUNCTIONTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_PTR pPrivate; RIL_IMAGE_DISPLAY_FUNC_T pDisplayFunc; RIL_IMAGE_FLUSH_FUNC_T pFlushFunc; } OMX_PARAM_IMAGEDISPLAYFUNCTIONTYPE; This parameter is used when setting up proprietary communication between two components. It allows the output port to pass images to the input port that are allocated from an image pool, and also request that any previously passed images are flushed.
struct opaque_vc_pool_s; typedef struct opaque_vc_pool_s OMX_BRCM_POOL_T; typedef struct OMX_PARAM_IMAGEPOOLEXTERNALTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BRCM_POOL_T *image_pool; OMX_BRCM_POOL_T *image_pool2; OMX_BRCM_POOL_T *image_pool3; OMX_BRCM_POOL_T *image_pool4; OMX_BRCM_POOL_T *image_pool5; } OMX_PARAM_IMAGEPOOLEXTERNALTYPE; This config allows the client to pass in handles to pre-allocated image pools for use within the component.
typedef struct OMX_PARAM_IMAGEPOOLSIZETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 width; OMX_U32 height; OMX_U32 num_pages; } OMX_PARAM_IMAGEPOOLSIZETYPE; This parameter is used to control the size of pool that the component will allocate in the absence of setting an external pool. The default can be reset by setting this parameter with all three fields set to zero.
This index uses the standard IL structure OMX_PARAM_U32TYPE This indicates whether the stream is 2d (1 channel) or stereoscopic (2 channels).
This index uses the standard IL structure OMX_FRAMESIZETYPE This control can be used to control the maximum frame size allowed on an output port.
This index uses the standard IL structure OMX_PARAM_U32TYPE This parameter uses internal configuration to determine used, so should not be changed without explicit internal knowledge.
typedef enum OMX_RESIZEMODETYPE { OMX_RESIZE_NONE, OMX_RESIZE_CROP, OMX_RESIZE_BOX, OMX_RESIZE_BYTES, OMX_RESIZE_DUMMY = 0x7FFFFFFF } OMX_RESIZEMODETYPE; typedef struct OMX_PARAM_RESIZETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_RESIZEMODETYPE eMode; OMX_U32 nMaxWidth; OMX_U32 nMaxHeight; OMX_U32 nMaxBytes; OMX_BOOL bPreserveAspectRatio; OMX_BOOL bAllowUpscaling; } OMX_PARAM_RESIZETYPE; The mode determines the kind of resize. OMX_RESIZE_BOX allow the nMaxWidth and nMaxHeight to set a bounding box into which the output must fit. OMX_RESIZE_BYTES allows nMaxBytes to set the maximum number of bytes into which the full output frame must fit. Two flags aid the setting of the output size. bPreseveAspectRatio sets whether the resize should preserve the aspect ratio of the incoming image. bAllowUpscaling sets whether the resize is allowed to increase the size of the output image compared to the size of the input image.
typedef enum OMX_SOURCETYPE { OMX_SOURCE_WHITE = 0, // all white images OMX_SOURCE_BLACK = 1, // all black images OMX_SOURCE_DIAGONAL = 2, // greyscale diagonal stripes OMX_SOURCE_NOISE = 3, // random pixel values OMX_SOURCE_RANDOM = 4, // a shaded random pattern of colours OMX_SOURCE_COLOUR = 5, // a solid colour determined by nParam OMX_SOURCE_BLOCKS = 6, // random coloured blocks of 16x16 size OMX_SOURCE_SWIRLY, // a swirly pattern used for encode testing OMX_SOURCE_DUMMY = 0x7FFFFFFF } OMX_SOURCETYPE; typedef struct OMX_PARAM_SOURCETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_SOURCETYPE eType; OMX_U32 nParam; OMX_U32 nFrameCount; OMX_U32 xFrameRate; } OMX_PARAM_SOURCETYPE; The source type determines the kind of image that is produced. Not all combinations of source type and image type are supported. The OMX_SOURCE_SWIRLY setting can only be used with YUV420 packed planar image formats. When producing RGB565 image format, the OMX_SOURCE_DIAGONAL and OMX_SOURCE_RANDOM modes are treated as OMX_SOURCE_NOISE. The nParam field is used to specify the colour for the source colour mode, and the offset of the diagonal pattern for diagonal mode. For the blocks mode, nParam is used as the seed for the random colour generator. The nFrameCount parameter determines how many frames to send. If it is zero, then frames are sent continuously. For any other value, it counts down until it has sent that many frames, and then stops, sending out an EOS. The xFrameRate setting is used to determine the timestamp for each frame produced, or can be set to zero if timestamps should all remain at zero.
typedef struct OMX_PARAM_SOURCESEEDTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U16 nData[16]; } OMX_PARAM_SOURCESEEDTYPE; This structure sets the current state of the random number generator used for OMX_SOURCE_RANDOM source type, allowing repeatable random image creation.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
This index uses the standard IL structure OMX_VIDEO_PARAM_MVCTYPE This parameter is currently identical to the AVC parameter type.
|