OMX_IVCommon.h File Reference

Typedef OMX_COLOR_FORMATTYPE

typedef enum OMX_COLOR_FORMATTYPEOMX_COLOR_FORMATTYPE

Enumeration defining possible uncompressed image/video formats.

ENUMS: Unused : Placeholder value when format is N/A Monochrome : black and white 8bitRGB332 : Red 7:5, Green 4:2, Blue 1:0 12bitRGB444 : Red 11:8, Green 7:4, Blue 3:0 16bitARGB4444 : Alpha 15:12, Red 11:8, Green 7:4, Blue 3:0 16bitARGB1555 : Alpha 15, Red 14:10, Green 9:5, Blue 4:0 16bitRGB565 : Red 15:11, Green 10:5, Blue 4:0 16bitBGR565 : Blue 15:11, Green 10:5, Red 4:0 18bitRGB666 : Red 17:12, Green 11:6, Blue 5:0 18bitARGB1665 : Alpha 17, Red 16:11, Green 10:5, Blue 4:0 19bitARGB1666 : Alpha 18, Red 17:12, Green 11:6, Blue 5:0 24bitRGB888 : Red 24:16, Green 15:8, Blue 7:0 24bitBGR888 : Blue 24:16, Green 15:8, Red 7:0 24bitARGB1887 : Alpha 23, Red 22:15, Green 14:7, Blue 6:0 25bitARGB1888 : Alpha 24, Red 23:16, Green 15:8, Blue 7:0 32bitBGRA8888 : Blue 31:24, Green 23:16, Red 15:8, Alpha 7:0 32bitARGB8888 : Alpha 31:24, Red 23:16, Green 15:8, Blue 7:0 YUV411Planar : U,Y are subsampled by a factor of 4 horizontally YUV411PackedPlanar : packed per payload in planar slices YUV420Planar : Three arrays Y,U,V. YUV420PackedPlanar : packed per payload in planar slices YUV420SemiPlanar : Two arrays, one is all Y, the other is U and V YUV422Planar : Three arrays Y,U,V. YUV422PackedPlanar : packed per payload in planar slices YUV422SemiPlanar : Two arrays, one is all Y, the other is U and V YCbYCr : Organized as 16bit YUYV (i.e. YCbYCr) YCrYCb : Organized as 16bit YVYU (i.e. YCrYCb) CbYCrY : Organized as 16bit UYVY (i.e. CbYCrY) CrYCbY : Organized as 16bit VYUY (i.e. CrYCbY) YUV444Interleaved : Each pixel contains equal parts YUV RawBayer8bit : SMIA camera output format RawBayer10bit : SMIA camera output format RawBayer8bitcompressed : SMIA camera output format

Typedef OMX_CONFIG_COLORCONVERSIONTYPE

typedef struct OMX_CONFIG_COLORCONVERSIONTYPEOMX_CONFIG_COLORCONVERSIONTYPE

Defines the matrix for conversion from RGB to YUV or vice versa. iColorMatrix should be initialized with the fixed point values used in converting between formats.

Typedef OMX_CONFIG_SCALEFACTORTYPE

typedef struct OMX_CONFIG_SCALEFACTORTYPEOMX_CONFIG_SCALEFACTORTYPE

Structure defining percent to scale each frame dimension. For example: To make the width 50% larger, use fWidth = 1.5 and to make the width 1/2 the original size, use fWidth = 0.5

Typedef OMX_IMAGEFILTERTYPE

typedef enum OMX_IMAGEFILTERTYPEOMX_IMAGEFILTERTYPE

Enumeration of possible image filter types

Typedef OMX_CONFIG_IMAGEFILTERTYPE

typedef struct OMX_CONFIG_IMAGEFILTERTYPEOMX_CONFIG_IMAGEFILTERTYPE

Image filter configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eImageFilter : Image filter type enumeration

Typedef OMX_CONFIG_COLORENHANCEMENTTYPE

typedef struct OMX_CONFIG_COLORENHANCEMENTTYPEOMX_CONFIG_COLORENHANCEMENTTYPE

Customized U and V for color enhancement

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to bColorEnhancement : Enable/disable color enhancement nCustomizedU : Practical values: 16-240, range: 0-255, value set for U component nCustomizedV : Practical values: 16-240, range: 0-255, value set for V component

Typedef OMX_CONFIG_COLORKEYTYPE

typedef struct OMX_CONFIG_COLORKEYTYPEOMX_CONFIG_COLORKEYTYPE

Define color key and color key mask

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nARGBColor : 32bit Alpha, Red, Green, Blue Color nARGBMask : 32bit Mask for Alpha, Red, Green, Blue channels

Typedef OMX_COLORBLENDTYPE

typedef enum OMX_COLORBLENDTYPEOMX_COLORBLENDTYPE

List of color blend types for pre/post processing

ENUMS: None : No color blending present AlphaConstant : Function is (alpha_constant * src) + (1 - alpha_constant) * dst) AlphaPerPixel : Function is (alpha * src) + (1 - alpha) * dst) Alternate : Function is alternating pixels from src and dst And : Function is (src & dst) Or : Function is (src | dst) Invert : Function is ~src

Typedef OMX_CONFIG_COLORBLENDTYPE

typedef struct OMX_CONFIG_COLORBLENDTYPEOMX_CONFIG_COLORBLENDTYPE

Color blend configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nRGBAlphaConstant : Constant global alpha values when global alpha is used eColorBlend : Color blend type enumeration

Typedef OMX_FRAMESIZETYPE

typedef struct OMX_FRAMESIZETYPEOMX_FRAMESIZETYPE

Hold frame dimension

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nWidth : Frame width in pixels nHeight : Frame height in pixels

Typedef OMX_CONFIG_ROTATIONTYPE

typedef struct OMX_CONFIG_ROTATIONTYPEOMX_CONFIG_ROTATIONTYPE

Rotation configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nRotation : +/- integer rotation value

Typedef OMX_MIRRORTYPE

typedef enum OMX_MIRRORTYPEOMX_MIRRORTYPE

Possible mirroring directions for pre/post processing

ENUMS: None : No mirroring Vertical : Vertical mirroring, flip on X axis Horizontal : Horizontal mirroring, flip on Y axis Both : Both vertical and horizontal mirroring

Typedef OMX_CONFIG_MIRRORTYPE

typedef struct OMX_CONFIG_MIRRORTYPEOMX_CONFIG_MIRRORTYPE

Mirroring configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eMirror : Mirror type enumeration

Typedef OMX_CONFIG_POINTTYPE

typedef struct OMX_CONFIG_POINTTYPEOMX_CONFIG_POINTTYPE

Position information only

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nX : X coordinate for the point nY : Y coordinate for the point

Typedef OMX_CONFIG_RECTTYPE

typedef struct OMX_CONFIG_RECTTYPEOMX_CONFIG_RECTTYPE

Frame size plus position

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nLeft : X Coordinate of the top left corner of the rectangle nTop : Y Coordinate of the top left corner of the rectangle nWidth : Width of the rectangle nHeight : Height of the rectangle

Typedef OMX_PARAM_DEBLOCKINGTYPE

typedef struct OMX_PARAM_DEBLOCKINGTYPEOMX_PARAM_DEBLOCKINGTYPE

Deblocking state; it is required to be set up before starting the codec

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to bDeblocking : Enable/disable deblocking mode

Typedef OMX_CONFIG_FRAMESTABTYPE

typedef struct OMX_CONFIG_FRAMESTABTYPEOMX_CONFIG_FRAMESTABTYPE

Stabilization state

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to bStab : Enable/disable frame stabilization state

Typedef OMX_WHITEBALCONTROLTYPE

typedef enum OMX_WHITEBALCONTROLTYPEOMX_WHITEBALCONTROLTYPE

White Balance control type

STRUCT MEMBERS: SunLight : Referenced in JSR-234 Flash : Optimal for device's integrated flash

Typedef OMX_CONFIG_WHITEBALCONTROLTYPE

typedef struct OMX_CONFIG_WHITEBALCONTROLTYPEOMX_CONFIG_WHITEBALCONTROLTYPE

White Balance control configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eWhiteBalControl : White balance enumeration

Typedef OMX_EXPOSURECONTROLTYPE

typedef enum OMX_EXPOSURECONTROLTYPEOMX_EXPOSURECONTROLTYPE

Exposure control type

Typedef OMX_CONFIG_EXPOSURECONTROLTYPE

typedef struct OMX_CONFIG_EXPOSURECONTROLTYPEOMX_CONFIG_EXPOSURECONTROLTYPE

White Balance control configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eExposureControl : Exposure control enumeration

Typedef OMX_PARAM_SENSORMODETYPE

typedef struct OMX_PARAM_SENSORMODETYPEOMX_PARAM_SENSORMODETYPE

Defines sensor supported mode.

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nFrameRate : Single shot mode is indicated by a 0 bOneShot : Enable for single shot, disable for streaming sFrameSize : Framesize

Typedef OMX_CONFIG_CONTRASTTYPE

typedef struct OMX_CONFIG_CONTRASTTYPEOMX_CONFIG_CONTRASTTYPE

Defines contrast level

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nContrast : Values allowed for contrast -100 to 100, zero means no change

Typedef OMX_CONFIG_BRIGHTNESSTYPE

typedef struct OMX_CONFIG_BRIGHTNESSTYPEOMX_CONFIG_BRIGHTNESSTYPE

Defines brightness level

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nBrightness : 0-100%

Typedef OMX_CONFIG_BACKLIGHTTYPE

typedef struct OMX_CONFIG_BACKLIGHTTYPEOMX_CONFIG_BACKLIGHTTYPE

Defines backlight level configuration for a video sink, e.g. LCD panel

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nBacklight : Values allowed for backlight 0-100% nTimeout : Number of milliseconds before backlight automatically turns off. A value of 0x0 disables backight timeout

Typedef OMX_CONFIG_GAMMATYPE

typedef struct OMX_CONFIG_GAMMATYPEOMX_CONFIG_GAMMATYPE

Defines setting for Gamma

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nGamma : Values allowed for gamma -100 to 100, zero means no change

Typedef OMX_CONFIG_SATURATIONTYPE

typedef struct OMX_CONFIG_SATURATIONTYPEOMX_CONFIG_SATURATIONTYPE

Define for setting saturation

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nSaturation : Values allowed for saturation -100 to 100, zero means no change

Typedef OMX_CONFIG_LIGHTNESSTYPE

typedef struct OMX_CONFIG_LIGHTNESSTYPEOMX_CONFIG_LIGHTNESSTYPE

Define for setting Lightness

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to nLightness : Values allowed for lightness -100 to 100, zero means no change

Typedef OMX_CONFIG_PLANEBLENDTYPE

typedef struct OMX_CONFIG_PLANEBLENDTYPEOMX_CONFIG_PLANEBLENDTYPE

Plane blend configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Index of input port associated with the plane. nDepth : Depth of the plane in relation to the screen. Higher numbered depths are "behind" lower number depths. This number defaults to the Port Index number. nAlpha : Transparency blending component for the entire plane. See blending modes for more detail.

Typedef OMX_PARAM_INTERLEAVETYPE

typedef struct OMX_PARAM_INTERLEAVETYPEOMX_PARAM_INTERLEAVETYPE

Define interlace type

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to bEnable : Enable control variable for this functionality (see below) nInterleavePortIndex : Index of input or output port associated with the interleaved plane. pPlanarPortIndexes[4] : Index of input or output planar ports.

Typedef OMX_TRANSITIONEFFECTTYPE

typedef enum OMX_TRANSITIONEFFECTTYPEOMX_TRANSITIONEFFECTTYPE

Defines the picture effect used for an input picture

Typedef OMX_CONFIG_TRANSITIONEFFECTTYPE

typedef struct OMX_CONFIG_TRANSITIONEFFECTTYPEOMX_CONFIG_TRANSITIONEFFECTTYPE

Structure used to configure current transition effect

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eEffect : Effect to enable

Typedef OMX_DATAUNITTYPE

typedef enum OMX_DATAUNITTYPEOMX_DATAUNITTYPE

Defines possible data unit types for encoded video data. The data unit types are used both for encoded video input for playback as well as encoded video output from recording.

Typedef OMX_DATAUNITENCAPSULATIONTYPE

typedef enum OMX_DATAUNITENCAPSULATIONTYPEOMX_DATAUNITENCAPSULATIONTYPE

Defines possible encapsulation types for coded video data unit. The encapsulation information is used both for encoded video input for playback as well as encoded video output from recording.

Typedef OMX_PARAM_DATAUNITTYPE

typedef struct OMX_PARAM_DATAUNITTYPEOMX_PARAM_DATAUNITTYPE

Structure used to configure the type of being decoded/encoded

Typedef OMX_DITHERTYPE

typedef enum OMX_DITHERTYPEOMX_DITHERTYPE

Defines dither types

Typedef OMX_CONFIG_DITHERTYPE

typedef struct OMX_CONFIG_DITHERTYPEOMX_CONFIG_DITHERTYPE

Structure used to configure current type of dithering

Typedef OMX_CONFIG_CAPTUREMODETYPE

typedef struct OMX_CONFIG_CAPTUREMODETYPEOMX_CONFIG_CAPTUREMODETYPE

Typedef OMX_METERINGTYPE

typedef enum OMX_METERINGTYPEOMX_METERINGTYPE

Typedef OMX_CONFIG_EXPOSUREVALUETYPE

typedef struct OMX_CONFIG_EXPOSUREVALUETYPEOMX_CONFIG_EXPOSUREVALUETYPE

Typedef OMX_CONFIG_FOCUSREGIONTYPE

typedef struct OMX_CONFIG_FOCUSREGIONTYPEOMX_CONFIG_FOCUSREGIONTYPE

Focus region configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to bCenter : Use center region as focus region of interest bLeft : Use left region as focus region of interest bRight : Use right region as focus region of interest bTop : Use top region as focus region of interest bBottom : Use bottom region as focus region of interest bTopLeft : Use top left region as focus region of interest bTopRight : Use top right region as focus region of interest bBottomLeft : Use bottom left region as focus region of interest bBottomRight : Use bottom right region as focus region of interest

Typedef OMX_FOCUSSTATUSTYPE

typedef enum OMX_FOCUSSTATUSTYPEOMX_FOCUSSTATUSTYPE

Focus Status type

Typedef OMX_PARAM_FOCUSSTATUSTYPE

typedef struct OMX_PARAM_FOCUSSTATUSTYPEOMX_PARAM_FOCUSSTATUSTYPE

Focus status configuration

STRUCT MEMBERS: nSize : Size of the structure in bytes nVersion : OMX specification version information nPortIndex : Port that this structure applies to eFocusStatus : Specifies the focus status bCenterStatus : Use center region as focus region of interest bLeftStatus : Use left region as focus region of interest bRightStatus : Use right region as focus region of interest bTopStatus : Use top region as focus region of interest bBottomStatus : Use bottom region as focus region of interest bTopLeftStatus : Use top left region as focus region of interest bTopRightStatus : Use top right region as focus region of interest bBottomLeftStatus : Use bottom left region as focus region of interest bBottomRightStatus : Use bottom right region as focus region of interest