OpenMAXBellagio
0.9.3
|
Common structures for OpenMAX IL Imaging and Video domains. More...
Modules | |
OpenMAX IL Imaging Domain | |
OpenMAX IL Video Domain | |
Common structures for OpenMAX IL Imaging and Video domains.
Each OMX header must include all required header files to allow the header to compile without errors. The includes below are required for this header file to compile successfully
typedef enum OMX_COLOR_FORMATTYPE OMX_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 enum OMX_COLORBLENDTYPE OMX_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 struct OMX_CONFIG_BACKLIGHTTYPE OMX_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 struct OMX_CONFIG_BRIGHTNESSTYPE OMX_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 struct OMX_CONFIG_CAPTUREMODETYPE OMX_CONFIG_CAPTUREMODETYPE |
typedef struct OMX_CONFIG_COLORBLENDTYPE OMX_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 struct OMX_CONFIG_COLORCONVERSIONTYPE OMX_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 struct OMX_CONFIG_COLORENHANCEMENTTYPE OMX_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 struct OMX_CONFIG_COLORKEYTYPE OMX_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 struct OMX_CONFIG_CONTRASTTYPE OMX_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 struct OMX_CONFIG_DITHERTYPE OMX_CONFIG_DITHERTYPE |
Structure used to configure current type of dithering
typedef struct OMX_CONFIG_EXPOSURECONTROLTYPE OMX_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 struct OMX_CONFIG_EXPOSUREVALUETYPE OMX_CONFIG_EXPOSUREVALUETYPE |
typedef struct OMX_CONFIG_FOCUSREGIONTYPE OMX_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 struct OMX_CONFIG_FRAMESTABTYPE OMX_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 struct OMX_CONFIG_GAMMATYPE OMX_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 struct OMX_CONFIG_IMAGEFILTERTYPE OMX_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 struct OMX_CONFIG_LIGHTNESSTYPE OMX_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 struct OMX_CONFIG_MIRRORTYPE OMX_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 struct OMX_CONFIG_PLANEBLENDTYPE OMX_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 struct OMX_CONFIG_POINTTYPE OMX_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 struct OMX_CONFIG_RECTTYPE OMX_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 struct OMX_CONFIG_ROTATIONTYPE OMX_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 struct OMX_CONFIG_SATURATIONTYPE OMX_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 struct OMX_CONFIG_SCALEFACTORTYPE OMX_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 struct OMX_CONFIG_TRANSITIONEFFECTTYPE OMX_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 struct OMX_CONFIG_WHITEBALCONTROLTYPE OMX_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
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 enum OMX_DATAUNITTYPE OMX_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 enum OMX_DITHERTYPE OMX_DITHERTYPE |
Defines dither types
typedef enum OMX_EXPOSURECONTROLTYPE OMX_EXPOSURECONTROLTYPE |
Exposure control type
typedef enum OMX_FOCUSSTATUSTYPE OMX_FOCUSSTATUSTYPE |
Focus Status type
typedef struct OMX_FRAMESIZETYPE OMX_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 enum OMX_IMAGEFILTERTYPE OMX_IMAGEFILTERTYPE |
Enumeration of possible image filter types
typedef enum OMX_METERINGTYPE OMX_METERINGTYPE |
typedef enum OMX_MIRRORTYPE OMX_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 struct OMX_PARAM_DATAUNITTYPE OMX_PARAM_DATAUNITTYPE |
Structure used to configure the type of being decoded/encoded
typedef struct OMX_PARAM_DEBLOCKINGTYPE OMX_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 struct OMX_PARAM_FOCUSSTATUSTYPE OMX_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
typedef struct OMX_PARAM_INTERLEAVETYPE OMX_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 struct OMX_PARAM_SENSORMODETYPE OMX_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 enum OMX_TRANSITIONEFFECTTYPE OMX_TRANSITIONEFFECTTYPE |
Defines the picture effect used for an input picture
typedef enum OMX_WHITEBALCONTROLTYPE OMX_WHITEBALCONTROLTYPE |
White Balance control type
STRUCT MEMBERS: SunLight : Referenced in JSR-234 Flash : Optimal for device's integrated flash
enum OMX_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
Definition at line 88 of file OMX_IVCommon.h.
enum OMX_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
Definition at line 260 of file OMX_IVCommon.h.
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.
Definition at line 747 of file OMX_IVCommon.h.
enum OMX_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.
Definition at line 731 of file OMX_IVCommon.h.
enum OMX_DITHERTYPE |
Defines dither types
Definition at line 772 of file OMX_IVCommon.h.
Exposure control type
Definition at line 486 of file OMX_IVCommon.h.
enum OMX_FOCUSSTATUSTYPE |
Focus Status type
Definition at line 868 of file OMX_IVCommon.h.
enum OMX_IMAGEFILTERTYPE |
Enumeration of possible image filter types
Definition at line 170 of file OMX_IVCommon.h.
enum OMX_METERINGTYPE |
Definition at line 808 of file OMX_IVCommon.h.
enum OMX_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
Definition at line 338 of file OMX_IVCommon.h.
Defines the picture effect used for an input picture
Definition at line 695 of file OMX_IVCommon.h.
White Balance control type
STRUCT MEMBERS: SunLight : Referenced in JSR-234 Flash : Optimal for device's integrated flash
Definition at line 449 of file OMX_IVCommon.h.