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.
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_BRCMAUDIODOWNMIXCOEFFICIENTS8x8 { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 coeff[64]; } OMX_CONFIG_BRCMAUDIODOWNMIXCOEFFICIENTS8x8; This config sets the platform-specific audio downmixing coefficients for the audio mixer component. The coefficients are 16.16 fixed point. The coefficients are a 8*8 mixing matrix from 8 input channels to 8 outputs channels coeff describes the downmixing coefficients
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.
This index uses the standard IL structure OMX_CONFIG_BRCMAUDIOMAXSAMPLE This gets the largest sample produced (after downmixing with OMX_CONFIG_BRCMAUDIODOWNMIXCOEFFICIENTS8x8) since this config was last read. The nTimestamp is the earliest timestamp processed. This can be used for DRC schemes coeff maximum sample seen in current block
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.
Filter 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.
typedef struct OMX_CONFIG_BRCMANNOTATETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_BOOL bEnable; OMX_BOOL bShowShutter; OMX_BOOL bShowAnalogGain; OMX_BOOL bShowLens; OMX_BOOL bShowCaf; OMX_BOOL bShowMotion; OMX_BOOL bShowFrameNum; OMX_BOOL bEnableBackground; OMX_BOOL bCustomBackgroundColour; OMX_U8 nBackgroundY; OMX_U8 nBackgroundU; OMX_U8 nBackgroundV; OMX_U8 dummy1; OMX_BOOL bCustomTextColour; OMX_U8 nTextY; OMX_U8 nTextU; OMX_U8 nTextV; OMX_U8 nTextSize; OMX_U8 sText[OMX_BRCM_MAXANNOTATETEXTLEN]; OMX_BRCMANNOTATEJUSTIFYTYPE eJustify; OMX_U32 nXOffset; OMX_U32 nYOffset; } OMX_CONFIG_BRCMANNOTATETYPE; Query / set the paramters concerning the anotation overlay.
Enable use of development ISP software stageOMX_IndexConfigBrcmCameraRnDPostprocessUsed by: camera 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 occurred, 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 Returns the tuner indication whether a flash (normal or fill-in) is required for the capture. Read only.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
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 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.
Classify error condition when register file fails to loadOMX_IndexConfigBrcmRegisterFileFailFatalUsed by: camera This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This specifies whether the failure to load the register file should be treated as a fatal error.
typedef struct OMX_CONFIG_BRCMRENDERSTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL nValid; OMX_U32 nMatch; OMX_U32 nPeriod; OMX_U32 nPhase; OMX_U32 nPixelClockNominal; OMX_U32 nPixelClock; OMX_U32 nHvsStatus; OMX_U32 dummy0[2]; } OMX_CONFIG_BRCMRENDERSTATSTYPE;
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_CONFIG_BOOLEANTYPE The file is specified with OMX_IndexParamConfigFileRegisters.
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_CONFIG_BOOLEANTYPE Enable/Disable appropriate encoder flags for supplying Access Unit delimiters along with the encoded stream.
This index uses the standard IL structure OMX_PARAM_U32TYPE Enable/Disable Flags for deblock IDC (H264 Only).
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Enable/Disable appropriate encoder flags to enable or disable CABAC (H264 ONLY).
This index uses the standard IL structure OMX_PARAM_U32TYPE Query/Set intra MB mode (H264 Only).
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE
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.
typedef struct OMX_CONFIG_CAMERAGAINTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 xGain; OMX_BOOL bAutoGain; } OMX_CONFIG_CAMERAGAINTYPE; When bAutoGain is set to OMX_FALSE, xGain will be used to set the camera analog gain. Requires OMX_IndexConfigCommonExposureValue bAutoSensitivity to be set to true (ie ISO control overrides this control).
Starting a capture aborts AFOMX_IndexConfigCameraCaptureAbortsAutoFocusUsed by: camera 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_CAMERAGAINTYPE Configures the digital gain within the ISP pipeline.
Query / set whether a separate stats pass should be done before each captureOMX_IndexConfigCameraEnableStatsPassUsed by: camera 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 nPortIndex; 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.
Stripe mode minimum heightOMX_IndexConfigCameraStripeFuncMinLinesUsed by: camera This index uses the standard IL structure OMX_PARAM_U32TYPE Used to set the minimum number of lines to be passed using the stripe function. The stripe function itself is set with OMX_IndexParamCameraStripeFunction.
typedef struct OMX_CONFIG_CAMERAUSECASETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_CONFIG_CAMERAUSECASE eUseCase; } OMX_CONFIG_CAMERAUSECASETYPE; Query / set the use case to be passed into the tuner module.
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[OMX_CONFIG_IMAGEFILTERPARAMS_MAXPARAMS]; } 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
typedef struct OMX_CONFIG_CUSTOMAWBGAINSTYPE { OMX_U32 nSize; configuration data */ OMX_VERSIONTYPE nVersion; OMX_U32 xGainR; OMX_U32 xGainB; } OMX_CONFIG_CUSTOMAWBGAINSTYPE; /* OMX_IndexConfigBrcmRenderStats: Render port statistics */ typedef struct OMX_CONFIG_BRCMRENDERSTATSTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL nValid; OMX_U32 nMatch; OMX_U32 nPeriod; OMX_U32 nPhase; OMX_U32 nPixelClockNominal; OMX_U32 nPixelClock; OMX_U32 nHvsStatus; OMX_U32 dummy0[2]; } OMX_CONFIG_BRCMRENDERSTATSTYPE; /* This provides statistics from the renderer to allow more accurate synchronisation between the scheduler and display VSYNC.
Display RegionOMX_IndexConfigDisplayRegionUsed by: hvs, video_render
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, // these allow a left eye source-dest to be specified and the right eye mapping will be inferred by symmetry OMX_DISPLAY_MODE_STEREO_LEFT_TO_LEFT = 2, OMX_DISPLAY_MODE_STEREO_TOP_TO_TOP = 3, OMX_DISPLAY_MODE_STEREO_LEFT_TO_TOP = 4, OMX_DISPLAY_MODE_STEREO_TOP_TO_LEFT = 5, 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 enum OMX_DISPLAYASPECTFLAGSTYPE { OMX_DISPLAY_ALPHA_FLAGS_NONE = 0, // All layers below and including this one will be ignored (used for screen // blanking in full screen rendering) OMX_DISPLAY_ALPHA_FLAGS_DISCARD_LOWER_LAYERS = 129, // Alpha values are already premultiplied OMX_DISPLAY_ALPHA_FLAGS_PREMULT = 130, // Mix the per pixel alpha (if present) and the per plane alpha. OMX_DISPLAY_ALPHA_FLAGS_MIX = 131, } OMX_DISPLAYASPECTFLAGSTYPE; 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.
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 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_AUDIO_PARAM_DDPTYPE nSamplingRate must be 32000, 44100 or 48000.
This index uses the standard IL structure OMX_AUDIO_PARAM_DTSTYPE
This index uses the standard IL structure OMX_PARAM_U32TYPE Setting this to anything other than the default of 32 may have a negative impact of performance because the input buffer may need to be re-pitched before it is encoded. Supported values are 32 or 1 (no padding).
This index uses the standard IL structure OMX_PARAM_U32TYPE Setting this to anything other than the default of 16 may have a negative impact of performance because the input buffer may need to be re-pitched before it is encoded. Supported values are 16 or 1 (no padding).
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_CONFIG_BOOLEANTYPE
typedef enum OMX_BAYERORDERTYPE { OMX_BayerOrderRGGB = 0, OMX_BayerOrderGBRG = 1, OMX_BayerOrderBGGR = 2, OMX_BayerOrderGRBG = 3, OMX_BayerOrderMax = 0x7FFFFFFF } OMX_BAYERORDERTYPE; typedef struct OMX_PARAM_BAYERORDERTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BAYERORDERTYPE eBayerOrder; } OMX_PARAM_BAYERORDERTYPE; The IL standard does not support a way to specify the Bayer order of Bayer images. This control adds that missing functionality.
Manual black level parameters.OMX_IndexParamBrcmBlackLevelUsed by: isp This index uses the standard IL structure OMX_PARAM_BLACKLEVELTYPE Configures the black level within the ISP pipeline.
Query for the latest CRC for input data on this portOMX_IndexParamBrcmCRCUsed by: null_sink, video_encode 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 preferred 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.
typedef struct OMX_PARAM_BRCMCONFIGFILECHUNKTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 size; OMX_U32 offset; OMX_U8 data[1]; } OMX_PARAM_BRCMCONFIGFILECHUNKTYPE; Specify a chunk of data for a register settings file. OMX_IndexParamConfigFileRegisters must be called first.
Sensor config overrideOMX_IndexParamBrcmConfigFileRegistersUsed by: camera
typedef struct OMX_PARAM_BRCMCONFIGFILETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 fileSize; } OMX_PARAM_BRCMCONFIGFILETYPE; Specify a register settings file to use instead of hard-coded defaults. If a file is to be used, OMX_IndexParamUseRegisterFile must be set. This requires support from the underlying sensor driver.
Data UnitOMX_IndexParamBrcmDataUnitUsed by: audio_decode, audio_encode, video_decode, video_encode 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.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This uses the standard code (OMX_CONFIG_BOOLEANTYPE) structure.
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
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.
typedef struct OMX_PARAM_BRCMFRAMERATERANGETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 xFramerateLow; OMX_U32 xFramerateHigh; } OMX_PARAM_BRCMFRAMERATERANGETYPE; Used if xFramerate in the port definition is 0.
Header production controlOMX_IndexParamBrcmHeaderOnOpenUsed by: video_encode This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Query / set whether this component should output the header immediately on opening the codec, before any input images have been received.
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_PARAM_U32TYPE Query / set a bitmask that can disable ISP processing blocks. Blocks can NOT be enabled if they haven't been configured in the tuning.
This index uses the standard IL structure OMX_PARAM_U32TYPE
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_LENSSHADINGOVERRIDETYPE Allows the lens shading grid to be set. Configuration is based on a similar system to the OMAP3 ISP. A grid of gains is required for each of the 4 Bayer channels, with each value covering a nGridCellSize square of pixels. nWidth and nHeight should be equal or greater than the sensor resolution. In the case of the camera component, the firmware will crop the table based on the preconfigured mode set. nStride allows additional horizontal padding to be including in the table. nMemHandleTable needs to be set to a MEM_HANDLE_T, allocated via VC-SM or similar allocator. nRefTransform should be set to the transform in force when the reference table was captured. This allows correct compensation when the sensor is subsequently used with an alternate transform.
Sets the maximum number of corrupt macroblocks allowedOMX_IndexParamBrcmMaxCorruptMBsUsed by: null_sink This index uses the standard IL structure OMX_PARAM_U32TYPE The default value is zero.
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_PARAM_U32TYPE The codec can queue up a significant number of frames internally if the sink is not consuming the output fast enough. This control limits the number of frames that can be queued up.
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.
This index uses the standard IL structure OMX_CONFIG_POINTTYPE
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_BRCMSTEREOSCOPICMODETYPE { OMX_STEREOSCOPIC_NONE = 0, OMX_STEREOSCOPIC_SIDEBYSIDE = 1, OMX_STEREOSCOPIC_TOPBOTTOM = 2, OMX_STEREOSCOPIC_MAX = 0x7FFFFFFF, } OMX_BRCMSTEREOSCOPICMODETYPE; typedef struct OMX_CONFIG_BRCMSTEREOSCOPICMODETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BRCMSTEREOSCOPICMODETYPE eMode; OMX_BOOL bDecimate; (pixel aspect ratio = 1:2 or 2:1 if set. 1:1 if not set) */ OMX_BOOL bSwapEyes; } OMX_CONFIG_BRCMSTEREOSCOPICMODETYPE; This control sets up how stereoscopic images should be generated.
Sliced processing supportOMX_IndexParamBrcmSupportsSlicesUsed by: resize This index uses the standard IL structure OMX_CONFIG_PORTBOOLEANTYPE Mainly used by the MMAL framework. Some components support an nSliceHeight value of 16, to allow images to be passed in multiple chunks. All will support an nSliceHeight >= nFrameHeight (with some extra constraints). If a component supports nSliceHeight of 16, then it will respond to OMX_GetParameter on this index with no error and bEnabled set to OMX_TRUE.
This index uses the standard IL structure OMX_CONFIG_PORTBOOLEANTYPE Most components require an nSliceHeight value which is a multiple of 16, but some components accepting any value >= nFrameHeight. Those ports/components will respond to OMX_GetParameter on this index with no error and bEnabled set to OMX_TRUE.
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
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.
Query / set the speed control for the input portsOMX_IndexParamBrcmTimeScaleUsed by: audio_mixer This index uses the standard IL structure OMX_PARAM_U32TYPE This controls the dynamic resampling rate. Parameter is a 16.16 fixed point scale factor.
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_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; If this property is set then SPS/PPS will be output before each IDR frame or P=intrarefresh frame. Whilst designated as a Param, this property can now be changed while the component and/or port is executing. The setting will be forwarded on to the codec to take effect after the next IDR or P=intrarefresh frame.
typedef struct OMX_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; Will be added with flags so it is possible to identify the data in the stream
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_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE;
typedef struct OMX_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; 264 header. "big_pictures" that violate the nominal CPB removal times due to the number of bits used by an access unit are permitted when the flag is set.
typedef struct OMX_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; 264 SPS header
typedef struct OMX_PARAM_BRCMVIDEODECODECONFIGVD3TYPE { OMX_U32 nSize; configuration data */ OMX_VERSIONTYPE nVersion; OMX_U8 config[1]; } OMX_PARAM_BRCMVIDEODECODECONFIGVD3TYPE; Codec specific configuration block to set up internal state in a non-standard manner.
Control error concealment for video decodeOMX_IndexParamBrcmVideoDecodeErrorConcealmentUsed by: video_decode
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.
DRM buffer protectionOMX_IndexParamBrcmVideoDrmProtectBufferUsed by: video_decode
typedef struct OMX_PARAM_BRCMVIDEODRMPROTECTBUFFERTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 size_wanted; OMX_U32 protect; OMX_U32 mem_handle; OMX_PTR phys_addr; } OMX_PARAM_BRCMVIDEODRMPROTECTBUFFERTYPE; Query to request that a memory buffer be allocated for protected video decode, and the fields in a shared memory region be filled in to request protection from the hardware. Set to indicate that the previous protection request has been processed.
Boolean parameter to enable/disable EGL discard modeOMX_IndexParamBrcmVideoEGLRenderDiscardModeUsed by: egl_render
typedef struct OMX_CONFIG_PORTBOOLEANTYPE{ OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; } OMX_CONFIG_PORTBOOLEANTYPE; With discard mode enabled (default), EGL render will only buffer up to one image. If a new image is received while an image is waiting to be processed, the old image will be dropped. With discard mode disabled, 32 VC images (used in tunnelled mode) can be buffered. Once the buffer is full, the upstream component is notified and should attempt to send the image again later. Non-discard mode only applies to the tunnelled case (it does not apply when called internally).
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 Query / set the codec's P Frame QP if different from I-frames and rate control is disabled
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 index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE This control selects a pre-encode of the first frame to set up a better initial QP value.
This index uses the standard IL structure OMX_PARAM_U32TYPE
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE When enabled, the timestamp fifo mode will change the way incoming timestamps are associated with output images so the incoming timestamps get used without re-ordering on output images.
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; Allows the client to specify the behaviour desired for stills captures. 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.
typedef struct OMX_PARAM_CAMERACLOCKINGMODETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAMERACLOCKINGMODETYPE eMode; } OMX_PARAM_CAMERACLOCKINGMODETYPE; Set / query the clocking mode for the peripheral.
Custom camera sensor configuration.OMX_IndexParamCameraCustomSensorConfigUsed by: camera This index uses the standard IL structure OMX_PARAM_U32TYPE This parameter is passed down to the camera sensor driver to be interpreted as a request for a different configuration to normal. How the configuration varies is sensor specific.
This index uses the standard IL structure OMX_PARAM_U32TYPE Controls which camera driver, or camera peripheral, to use.
This index uses the standard IL structure OMX_PARAM_U32TYPE The result is a bitmask indicating which cameras have 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 separate 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_U32 nNumSnapshotFrames; OMX_COLOR_FORMATTYPE eSnapshotType; 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 enum OMX_CAMERAINTERFACETYPE { OMX_CAMERAINTERFACE_CSI = 0, OMX_CAMERAINTERFACE_CCP2 = 1, OMX_CAMERAINTERFACE_CPI = 2, OMX_CAMERAINTERFACE_MAX = 0x7FFFFFFF, } OMX_CAMERAINTERFACETYPE; typedef struct OMX_PARAM_CAMERAINTERFACETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAMERAINTERFACETYPE eMode; } OMX_PARAM_CAMERAINTERFACETYPE; This configures the physical camera interface type.
Camera and Video Encoder communicationOMX_IndexParamCameraPoolToEncoderFunctionUsed by: image_fx, resize, null_sink, camera, hvs, isp, video_encode, video_render, video_splitter
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.
typedef enum OMX_CAMERARXDECODETYPE { OMX_CAMERARXDECODE_NONE = 0, OMX_CAMERARXDECODE_DPCM8TO10 = 1, OMX_CAMERARXDECODE_DPCM7TO10 = 2, OMX_CAMERARXDECODE_DPCM6TO10 = 3, OMX_CAMERARXDECODE_DPCM8TO12 = 4, OMX_CAMERARXDECODE_DPCM7TO12 = 5, OMX_CAMERARXDECODE_DPCM6TO12 = 6, OMX_CAMERARXDECODE_DPCM10TO14 = 7, OMX_CAMERARXDECODE_DPCM8TO14 = 8, OMX_CAMERARXDECODE_DPCM12TO16 = 9, OMX_CAMERARXDECODE_DPCM10TO16 = 10, OMX_CAMERARXDECODE_DPCM8TO16 = 11, OMX_CAMERARXDECODE_MAX = 0x7FFFFFFF } OMX_CAMERARXDECODETYPE; typedef enum OMX_CAMERARXENCODETYPE { OMX_CAMERARXENCODE_NONE = 0, OMX_CAMERARXENCODE_DPCM10TO8 = 1, OMX_CAMERARXENCODE_DPCM12TO8 = 2, OMX_CAMERARXENCODE_DPCM14TO8 = 3, OMX_CAMERARXENCODE_MAX = 0x7FFFFFFF } OMX_CAMERARXENCODETYPE; typedef enum OMX_CAMERARXUNPACKTYPE { OMX_CAMERARXUNPACK_NONE = 0, OMX_CAMERARXUNPACK_6 = 1, OMX_CAMERARXUNPACK_7 = 2, OMX_CAMERARXUNPACK_8 = 3, OMX_CAMERARXUNPACK_10 = 4, OMX_CAMERARXUNPACK_12 = 5, OMX_CAMERARXUNPACK_14 = 6, OMX_CAMERARXUNPACK_16 = 7, OMX_CAMERARXUNPACK_MAX = 0x7FFFFFFF } OMX_CAMERARXUNPACKYPE; typedef enum OMX_CAMERARXPACKTYPE { OMX_CAMERARXPACK_NONE = 0, OMX_CAMERARXPACK_8 = 1, OMX_CAMERARXPACK_10 = 2, OMX_CAMERARXPACK_12 = 3, OMX_CAMERARXPACK_14 = 4, OMX_CAMERARXPACK_16 = 5, OMX_CAMERARXPACK_RAW10 = 6, OMX_CAMERARXPACK_RAW12 = 7, OMX_CAMERARXPACK_MAX = 0x7FFFFFFF } OMX_CAMERARXPACKTYPE; typedef struct OMX_PARAM_CAMERARXCONFIG_TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAMERARXDECODETYPE eDecode; OMX_CAMERARXENCODETYPE eEncode; OMX_CAMERARXUNPACKYPE eUnpack; OMX_CAMERARXPACKTYPE ePack; OMX_U32 nDataLanes; OMX_U32 nEncodeBlockLength; OMX_U32 nEmbeddedDataLines; OMX_U32 nImageId; } OMX_PARAM_CAMERARXCONFIG_TYPE; Configures the setup and processing options of the camera receiver peripheral.
Camera peripheral timing registersOMX_IndexParamCameraRxTimingUsed by: rawcam
typedef struct OMX_PARAM_CAMERARXTIMING_TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_U32 nTiming1; OMX_U32 nTiming2; OMX_U32 nTiming3; OMX_U32 nTiming4; OMX_U32 nTiming5; OMX_U32 nTerm1; OMX_U32 nTerm2; OMX_U32 nCpiTiming1; OMX_U32 nCpiTiming2; } OMX_PARAM_CAMERARXTIMING_TYPE; Set /query the receiver timing setup. These parameters can normally be left on the default values for the majority of sensors.
Save memory by using a single input bufferOMX_IndexParamCameraSingleBufferCaptureInputUsed by: camera 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_CONFIG_ZEROSHUTTERLAGTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 bZeroShutterMode; OMX_U32 bConcurrentCapture; } OMX_CONFIG_ZEROSHUTTERLAGTYPE; This takes two parameters. The first requests that the camera should run preview using the full resolution sensor mode. The second controls whether captures should then grab the last raw preview image and generate the capture based on that.
Capture Exposure CompensationOMX_IndexParamCaptureExposureCompensationUsed by: camera
typedef struct OMX_PARAM_S32TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_S32 nS32; } OMX_PARAM_S32TYPE; Sets the exposure compensation that should be applied to a stills capture compared to the previous preview frames.
Stills capture statusOMX_IndexParamCaptureStatusUsed by: camera
typedef struct OMX_PARAM_CAPTURESTATETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_CAPTURESTATETYPE eCaptureState; } OMX_PARAM_CAPTURESTATETYPE; Returns the actual capture status of the camera component. 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_S32TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_S32 nS32; } OMX_PARAM_S32TYPE; This allows the use of data packed into the least significant bits of a 16 bit word. Value is the number of positions to shift left. Max shift of 5.
Codec ConfigurationOMX_IndexParamCodecConfigUsed by: audio_decode, audio_encode, video_decode, video_encode
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_COLORSPACETYPE { OMX_COLORSPACE_UNKNOWN, OMX_COLORSPACE_JPEG_JFIF, OMX_COLORSPACE_ITU_R_BT601, OMX_COLORSPACE_ITU_R_BT709, OMX_COLORSPACE_FCC, OMX_COLORSPACE_SMPTE240M, OMX_COLORSPACE_BT470_2_M, OMX_COLORSPACE_BT470_2_BG, OMX_COLORSPACE_JFIF_Y16_255, OMX_COLORSPACE_REC_2020, OMX_COLORSPACE_MAX = 0x7FFFFFFF } OMX_COLORSPACETYPE; typedef struct OMX_PARAM_COLORSPACETYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_COLORSPACETYPE eColorSpace; } OMX_PARAM_COLORSPACETYPE; Sets the colourspace with which pixel buffers should be generated / interpreted.
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 absence of a clock component.
This index uses the standard IL structure OMX_PARAM_COMPONENTROLETYPE
typedef struct OMX_PARAM_CUSTOMCCMTYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_BOOL bEnabled; OMX_S32 xColorMatrix[3][3]; OMX_S32 nColorOffset[3]; } OMX_PARAM_CUSTOMCCMTYPE;
Controlling use of memory for loadable modulesOMX_IndexParamDisableVllPoolUsed by: camera 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_U32TYPE Specify dynamic parameter configuration via a mem handle. If the handle is MEM_HANDLE_INVALID, then this mechanism is not active.
This index uses the standard IL structure OMX_PARAM_CONTENTURITYPE Specify a dynamic parameter file to use or not. If a file is to be used, OMX_IndexParamUseDynamicParameterFile must be set. DEPRECATED: Use OMX_IndexParamDynamicParameterConfig in preference as file access is not always available on VideoCore.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Classify error condition when DFP fails to load. This specifies whether the failure to load the DPF file should be treated as a fatal error.
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; RIL_IMAGE_DRAIN_FUNC_T pDrainFunc; } 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_MINALIGNTYPE Allows the component to be queried for the minimum alignment (in bytes) required on a port for a given color format. Used by the MMAL framework to allow a reduction in the padding.
Query for the number of output channels in the decoded streamOMX_IndexParamNumOutputChannelsUsed by: video_decode This index uses the standard IL structure OMX_PARAM_U32TYPE This indicates whether the stream is 2d (1 channel) or stereoscopic (2 channels).
typedef struct OMX_PARAM_S32TYPE { OMX_U32 nSize; OMX_VERSIONTYPE nVersion; OMX_U32 nPortIndex; OMX_S32 nS32; } OMX_PARAM_S32TYPE; This is to allow packing of values into fewer bits (eg 10 bit packed in the LSBs of a 16 bit word). Value is the number of bits to shift left. The range will vary based on output format.
Specifying maximum frame sizeOMX_IndexParamPortMaxFrameSizeUsed by: camera 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.
This index uses the standard IL structure OMX_CONFIG_PORTBOOLEANTYPE Queries whether the component can remove all padding from images, or can accept images with no padding. Used by the MMAL framework predominantly. Superceded by OMX_IndexParamMinimumAlignment.
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.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Requests the tuner to disable the software saturation stage for improved capture performance.
This index uses the standard IL structure OMX_CONFIG_BOOLEANTYPE Requests the tuner to disable the software sharpen stage for improved capture performance.
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 Specify whether we wish to load the DPF file. The filename is set with OMX_IndexParamDynamicParameterFile. DEPRECATED: Use OMX_IndexParamDynamicParameterConfig in preference as file access is not always available on VideoCore.
This index uses the standard IL structure OMX_VIDEO_PARAM_MVCTYPE This parameter is currently identical to the AVC parameter type.
|