OpenMAXBellagio
0.9.3
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
OMX_IVCommon.h
Go to the documentation of this file.
1
29
#ifndef OMX_IVCommon_h
30
#define OMX_IVCommon_h
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
/* __cplusplus */
35
42
#include <
OMX_Core.h
>
43
88
typedef
enum
OMX_COLOR_FORMATTYPE
{
89
OMX_COLOR_FormatUnused
,
90
OMX_COLOR_FormatMonochrome
,
91
OMX_COLOR_Format8bitRGB332
,
92
OMX_COLOR_Format12bitRGB444
,
93
OMX_COLOR_Format16bitARGB4444
,
94
OMX_COLOR_Format16bitARGB1555
,
95
OMX_COLOR_Format16bitRGB565
,
96
OMX_COLOR_Format16bitBGR565
,
97
OMX_COLOR_Format18bitRGB666
,
98
OMX_COLOR_Format18bitARGB1665
,
99
OMX_COLOR_Format19bitARGB1666
,
100
OMX_COLOR_Format24bitRGB888
,
101
OMX_COLOR_Format24bitBGR888
,
102
OMX_COLOR_Format24bitARGB1887
,
103
OMX_COLOR_Format25bitARGB1888
,
104
OMX_COLOR_Format32bitBGRA8888
,
105
OMX_COLOR_Format32bitARGB8888
,
106
OMX_COLOR_FormatYUV411Planar
,
107
OMX_COLOR_FormatYUV411PackedPlanar
,
108
OMX_COLOR_FormatYUV420Planar
,
109
OMX_COLOR_FormatYUV420PackedPlanar
,
110
OMX_COLOR_FormatYUV420SemiPlanar
,
111
OMX_COLOR_FormatYUV422Planar
,
112
OMX_COLOR_FormatYUV422PackedPlanar
,
113
OMX_COLOR_FormatYUV422SemiPlanar
,
114
OMX_COLOR_FormatYCbYCr
,
115
OMX_COLOR_FormatYCrYCb
,
116
OMX_COLOR_FormatCbYCrY
,
117
OMX_COLOR_FormatCrYCbY
,
118
OMX_COLOR_FormatYUV444Interleaved
,
119
OMX_COLOR_FormatRawBayer8bit
,
120
OMX_COLOR_FormatRawBayer10bit
,
121
OMX_COLOR_FormatRawBayer8bitcompressed
,
122
OMX_COLOR_FormatL2
,
123
OMX_COLOR_FormatL4
,
124
OMX_COLOR_FormatL8
,
125
OMX_COLOR_FormatL16
,
126
OMX_COLOR_FormatL24
,
127
OMX_COLOR_FormatL32
,
128
OMX_COLOR_FormatYUV420PackedSemiPlanar
,
129
OMX_COLOR_FormatYUV422PackedSemiPlanar
,
130
OMX_COLOR_Format18BitBGR666
,
131
OMX_COLOR_Format24BitARGB6666
,
132
OMX_COLOR_Format24BitABGR6666
,
133
OMX_COLOR_FormatKhronosExtensions
= 0x6F000000,
134
OMX_COLOR_FormatVendorStartUnused
= 0x7F000000,
135
OMX_COLOR_FormatMax
= 0x7FFFFFFF
136
}
OMX_COLOR_FORMATTYPE
;
137
138
144
typedef
struct
OMX_CONFIG_COLORCONVERSIONTYPE
{
145
OMX_U32
nSize
;
146
OMX_VERSIONTYPE
nVersion
;
147
OMX_U32
nPortIndex
;
148
OMX_S32
xColorMatrix
[3][3];
149
OMX_S32
xColorOffset
[4];
150
}
OMX_CONFIG_COLORCONVERSIONTYPE
;
151
152
158
typedef
struct
OMX_CONFIG_SCALEFACTORTYPE
{
159
OMX_U32
nSize
;
160
OMX_VERSIONTYPE
nVersion
;
161
OMX_U32
nPortIndex
;
162
OMX_S32
xWidth
;
163
OMX_S32
xHeight
;
164
}
OMX_CONFIG_SCALEFACTORTYPE
;
165
166
170
typedef
enum
OMX_IMAGEFILTERTYPE
{
171
OMX_ImageFilterNone
,
172
OMX_ImageFilterNoise
,
173
OMX_ImageFilterEmboss
,
174
OMX_ImageFilterNegative
,
175
OMX_ImageFilterSketch
,
176
OMX_ImageFilterOilPaint
,
177
OMX_ImageFilterHatch
,
178
OMX_ImageFilterGpen
,
179
OMX_ImageFilterAntialias
,
180
OMX_ImageFilterDeRing
,
181
OMX_ImageFilterSolarize
,
182
OMX_ImageFilterKhronosExtensions
= 0x6F000000,
183
OMX_ImageFilterVendorStartUnused
= 0x7F000000,
184
OMX_ImageFilterMax
= 0x7FFFFFFF
185
}
OMX_IMAGEFILTERTYPE
;
186
187
197
typedef
struct
OMX_CONFIG_IMAGEFILTERTYPE
{
198
OMX_U32
nSize
;
199
OMX_VERSIONTYPE
nVersion
;
200
OMX_U32
nPortIndex
;
201
OMX_IMAGEFILTERTYPE
eImageFilter
;
202
}
OMX_CONFIG_IMAGEFILTERTYPE
;
203
204
218
typedef
struct
OMX_CONFIG_COLORENHANCEMENTTYPE
{
219
OMX_U32
nSize
;
220
OMX_VERSIONTYPE
nVersion
;
221
OMX_U32
nPortIndex
;
222
OMX_BOOL
bColorEnhancement
;
223
OMX_U8
nCustomizedU
;
224
OMX_U8
nCustomizedV
;
225
}
OMX_CONFIG_COLORENHANCEMENTTYPE
;
226
227
238
typedef
struct
OMX_CONFIG_COLORKEYTYPE
{
239
OMX_U32
nSize
;
240
OMX_VERSIONTYPE
nVersion
;
241
OMX_U32
nPortIndex
;
242
OMX_U32
nARGBColor
;
243
OMX_U32
nARGBMask
;
244
}
OMX_CONFIG_COLORKEYTYPE
;
245
246
260
typedef
enum
OMX_COLORBLENDTYPE
{
261
OMX_ColorBlendNone
,
262
OMX_ColorBlendAlphaConstant
,
263
OMX_ColorBlendAlphaPerPixel
,
264
OMX_ColorBlendAlternate
,
265
OMX_ColorBlendAnd
,
266
OMX_ColorBlendOr
,
267
OMX_ColorBlendInvert
,
268
OMX_ColorBlendKhronosExtensions
= 0x6F000000,
269
OMX_ColorBlendVendorStartUnused
= 0x7F000000,
270
OMX_ColorBlendMax
= 0x7FFFFFFF
271
}
OMX_COLORBLENDTYPE
;
272
273
284
typedef
struct
OMX_CONFIG_COLORBLENDTYPE
{
285
OMX_U32
nSize
;
286
OMX_VERSIONTYPE
nVersion
;
287
OMX_U32
nPortIndex
;
288
OMX_U32
nRGBAlphaConstant
;
289
OMX_COLORBLENDTYPE
eColorBlend
;
290
}
OMX_CONFIG_COLORBLENDTYPE
;
291
292
303
typedef
struct
OMX_FRAMESIZETYPE
{
304
OMX_U32
nSize
;
305
OMX_VERSIONTYPE
nVersion
;
306
OMX_U32
nPortIndex
;
307
OMX_U32
nWidth
;
308
OMX_U32
nHeight
;
309
}
OMX_FRAMESIZETYPE
;
310
311
321
typedef
struct
OMX_CONFIG_ROTATIONTYPE
{
322
OMX_U32
nSize
;
323
OMX_VERSIONTYPE
nVersion
;
324
OMX_U32
nPortIndex
;
325
OMX_S32
nRotation
;
326
}
OMX_CONFIG_ROTATIONTYPE
;
327
328
338
typedef
enum
OMX_MIRRORTYPE
{
339
OMX_MirrorNone
= 0,
340
OMX_MirrorVertical
,
341
OMX_MirrorHorizontal
,
342
OMX_MirrorBoth
,
343
OMX_MirrorKhronosExtensions
= 0x6F000000,
344
OMX_MirrorVendorStartUnused
= 0x7F000000,
345
OMX_MirrorMax
= 0x7FFFFFFF
346
}
OMX_MIRRORTYPE
;
347
348
358
typedef
struct
OMX_CONFIG_MIRRORTYPE
{
359
OMX_U32
nSize
;
360
OMX_VERSIONTYPE
nVersion
;
361
OMX_U32
nPortIndex
;
362
OMX_MIRRORTYPE
eMirror
;
363
}
OMX_CONFIG_MIRRORTYPE
;
364
365
376
typedef
struct
OMX_CONFIG_POINTTYPE
{
377
OMX_U32
nSize
;
378
OMX_VERSIONTYPE
nVersion
;
379
OMX_U32
nPortIndex
;
380
OMX_S32
nX
;
381
OMX_S32
nY
;
382
}
OMX_CONFIG_POINTTYPE
;
383
384
397
typedef
struct
OMX_CONFIG_RECTTYPE
{
398
OMX_U32
nSize
;
399
OMX_VERSIONTYPE
nVersion
;
400
OMX_U32
nPortIndex
;
401
OMX_S32
nLeft
;
402
OMX_S32
nTop
;
403
OMX_U32
nWidth
;
404
OMX_U32
nHeight
;
405
}
OMX_CONFIG_RECTTYPE
;
406
407
417
typedef
struct
OMX_PARAM_DEBLOCKINGTYPE
{
418
OMX_U32
nSize
;
419
OMX_VERSIONTYPE
nVersion
;
420
OMX_U32
nPortIndex
;
421
OMX_BOOL
bDeblocking
;
422
}
OMX_PARAM_DEBLOCKINGTYPE
;
423
424
434
typedef
struct
OMX_CONFIG_FRAMESTABTYPE
{
435
OMX_U32
nSize
;
436
OMX_VERSIONTYPE
nVersion
;
437
OMX_U32
nPortIndex
;
438
OMX_BOOL
bStab
;
439
}
OMX_CONFIG_FRAMESTABTYPE
;
440
441
449
typedef
enum
OMX_WHITEBALCONTROLTYPE
{
450
OMX_WhiteBalControlOff
= 0,
451
OMX_WhiteBalControlAuto
,
452
OMX_WhiteBalControlSunLight
,
453
OMX_WhiteBalControlCloudy
,
454
OMX_WhiteBalControlShade
,
455
OMX_WhiteBalControlTungsten
,
456
OMX_WhiteBalControlFluorescent
,
457
OMX_WhiteBalControlIncandescent
,
458
OMX_WhiteBalControlFlash
,
459
OMX_WhiteBalControlHorizon
,
460
OMX_WhiteBalControlKhronosExtensions
= 0x6F000000,
461
OMX_WhiteBalControlVendorStartUnused
= 0x7F000000,
462
OMX_WhiteBalControlMax
= 0x7FFFFFFF
463
}
OMX_WHITEBALCONTROLTYPE
;
464
465
475
typedef
struct
OMX_CONFIG_WHITEBALCONTROLTYPE
{
476
OMX_U32
nSize
;
477
OMX_VERSIONTYPE
nVersion
;
478
OMX_U32
nPortIndex
;
479
OMX_WHITEBALCONTROLTYPE
eWhiteBalControl
;
480
}
OMX_CONFIG_WHITEBALCONTROLTYPE
;
481
482
486
typedef
enum
OMX_EXPOSURECONTROLTYPE
{
487
OMX_ExposureControlOff
= 0,
488
OMX_ExposureControlAuto
,
489
OMX_ExposureControlNight
,
490
OMX_ExposureControlBackLight
,
491
OMX_ExposureControlSpotLight
,
492
OMX_ExposureControlSports
,
493
OMX_ExposureControlSnow
,
494
OMX_ExposureControlBeach
,
495
OMX_ExposureControlLargeAperture
,
496
OMX_ExposureControlSmallApperture
,
497
OMX_ExposureControlKhronosExtensions
= 0x6F000000,
498
OMX_ExposureControlVendorStartUnused
= 0x7F000000,
499
OMX_ExposureControlMax
= 0x7FFFFFFF
500
}
OMX_EXPOSURECONTROLTYPE
;
501
502
512
typedef
struct
OMX_CONFIG_EXPOSURECONTROLTYPE
{
513
OMX_U32
nSize
;
514
OMX_VERSIONTYPE
nVersion
;
515
OMX_U32
nPortIndex
;
516
OMX_EXPOSURECONTROLTYPE
eExposureControl
;
517
}
OMX_CONFIG_EXPOSURECONTROLTYPE
;
518
519
531
typedef
struct
OMX_PARAM_SENSORMODETYPE
{
532
OMX_U32
nSize
;
533
OMX_VERSIONTYPE
nVersion
;
534
OMX_U32
nPortIndex
;
535
OMX_U32
nFrameRate
;
536
OMX_BOOL
bOneShot
;
537
OMX_FRAMESIZETYPE
sFrameSize
;
538
}
OMX_PARAM_SENSORMODETYPE
;
539
540
550
typedef
struct
OMX_CONFIG_CONTRASTTYPE
{
551
OMX_U32
nSize
;
552
OMX_VERSIONTYPE
nVersion
;
553
OMX_U32
nPortIndex
;
554
OMX_S32
nContrast
;
555
}
OMX_CONFIG_CONTRASTTYPE
;
556
557
567
typedef
struct
OMX_CONFIG_BRIGHTNESSTYPE
{
568
OMX_U32
nSize
;
569
OMX_VERSIONTYPE
nVersion
;
570
OMX_U32
nPortIndex
;
571
OMX_U32
nBrightness
;
572
}
OMX_CONFIG_BRIGHTNESSTYPE
;
573
574
586
typedef
struct
OMX_CONFIG_BACKLIGHTTYPE
{
587
OMX_U32
nSize
;
588
OMX_VERSIONTYPE
nVersion
;
589
OMX_U32
nPortIndex
;
590
OMX_U32
nBacklight
;
591
OMX_U32
nTimeout
;
592
}
OMX_CONFIG_BACKLIGHTTYPE
;
593
594
604
typedef
struct
OMX_CONFIG_GAMMATYPE
{
605
OMX_U32
nSize
;
606
OMX_VERSIONTYPE
nVersion
;
607
OMX_U32
nPortIndex
;
608
OMX_S32
nGamma
;
609
}
OMX_CONFIG_GAMMATYPE
;
610
611
622
typedef
struct
OMX_CONFIG_SATURATIONTYPE
{
623
OMX_U32
nSize
;
624
OMX_VERSIONTYPE
nVersion
;
625
OMX_U32
nPortIndex
;
626
OMX_S32
nSaturation
;
627
}
OMX_CONFIG_SATURATIONTYPE
;
628
629
640
typedef
struct
OMX_CONFIG_LIGHTNESSTYPE
{
641
OMX_U32
nSize
;
642
OMX_VERSIONTYPE
nVersion
;
643
OMX_U32
nPortIndex
;
644
OMX_S32
nLightness
;
645
}
OMX_CONFIG_LIGHTNESSTYPE
;
646
647
661
typedef
struct
OMX_CONFIG_PLANEBLENDTYPE
{
662
OMX_U32
nSize
;
663
OMX_VERSIONTYPE
nVersion
;
664
OMX_U32
nPortIndex
;
665
OMX_U32
nDepth
;
666
OMX_U32
nAlpha
;
667
}
OMX_CONFIG_PLANEBLENDTYPE
;
668
669
683
typedef
struct
OMX_PARAM_INTERLEAVETYPE
{
684
OMX_U32
nSize
;
685
OMX_VERSIONTYPE
nVersion
;
686
OMX_U32
nPortIndex
;
687
OMX_BOOL
bEnable
;
688
OMX_U32
nInterleavePortIndex
;
689
}
OMX_PARAM_INTERLEAVETYPE
;
690
691
695
typedef
enum
OMX_TRANSITIONEFFECTTYPE
{
696
OMX_EffectNone
,
697
OMX_EffectFadeFromBlack
,
698
OMX_EffectFadeToBlack
,
699
OMX_EffectUnspecifiedThroughConstantColor
,
700
OMX_EffectDissolve
,
701
OMX_EffectWipe
,
702
OMX_EffectUnspecifiedMixOfTwoScenes
,
703
OMX_EffectKhronosExtensions
= 0x6F000000,
704
OMX_EffectVendorStartUnused
= 0x7F000000,
705
OMX_EffectMax
= 0x7FFFFFFF
706
}
OMX_TRANSITIONEFFECTTYPE
;
707
708
718
typedef
struct
OMX_CONFIG_TRANSITIONEFFECTTYPE
{
719
OMX_U32
nSize
;
720
OMX_VERSIONTYPE
nVersion
;
721
OMX_U32
nPortIndex
;
722
OMX_TRANSITIONEFFECTTYPE
eEffect
;
723
}
OMX_CONFIG_TRANSITIONEFFECTTYPE
;
724
725
731
typedef
enum
OMX_DATAUNITTYPE
{
732
OMX_DataUnitCodedPicture
,
733
OMX_DataUnitVideoSegment
,
734
OMX_DataUnitSeveralSegments
,
735
OMX_DataUnitArbitraryStreamSection
,
736
OMX_DataUnitKhronosExtensions
= 0x6F000000,
737
OMX_DataUnitVendorStartUnused
= 0x7F000000,
738
OMX_DataUnitMax
= 0x7FFFFFFF
739
}
OMX_DATAUNITTYPE
;
740
741
747
typedef
enum
OMX_DATAUNITENCAPSULATIONTYPE
{
748
OMX_DataEncapsulationElementaryStream
,
749
OMX_DataEncapsulationGenericPayload
,
750
OMX_DataEncapsulationRtpPayload
,
751
OMX_DataEncapsulationKhronosExtensions
= 0x6F000000,
752
OMX_DataEncapsulationVendorStartUnused
= 0x7F000000,
753
OMX_DataEncapsulationMax
= 0x7FFFFFFF
754
}
OMX_DATAUNITENCAPSULATIONTYPE
;
755
756
760
typedef
struct
OMX_PARAM_DATAUNITTYPE
{
761
OMX_U32
nSize
;
762
OMX_VERSIONTYPE
nVersion
;
763
OMX_U32
nPortIndex
;
764
OMX_DATAUNITTYPE
eUnitType
;
765
OMX_DATAUNITENCAPSULATIONTYPE
eEncapsulationType
;
766
}
OMX_PARAM_DATAUNITTYPE
;
767
768
772
typedef
enum
OMX_DITHERTYPE
{
773
OMX_DitherNone
,
774
OMX_DitherOrdered
,
775
OMX_DitherErrorDiffusion
,
776
OMX_DitherOther
,
777
OMX_DitherKhronosExtensions
= 0x6F000000,
778
OMX_DitherVendorStartUnused
= 0x7F000000,
779
OMX_DitherMax
= 0x7FFFFFFF
780
}
OMX_DITHERTYPE
;
781
782
786
typedef
struct
OMX_CONFIG_DITHERTYPE
{
787
OMX_U32
nSize
;
788
OMX_VERSIONTYPE
nVersion
;
789
OMX_U32
nPortIndex
;
790
OMX_DITHERTYPE
eDither
;
791
}
OMX_CONFIG_DITHERTYPE
;
792
793
typedef
struct
OMX_CONFIG_CAPTUREMODETYPE
{
794
OMX_U32
nSize
;
795
OMX_VERSIONTYPE
nVersion
;
796
OMX_U32
nPortIndex
;
797
OMX_BOOL
bContinuous
;
799
OMX_BOOL
bFrameLimited
;
804
OMX_U32
nFrameLimit
;
806
}
OMX_CONFIG_CAPTUREMODETYPE
;
807
808
typedef
enum
OMX_METERINGTYPE
{
809
810
OMX_MeteringModeAverage
,
811
OMX_MeteringModeSpot
,
812
OMX_MeteringModeMatrix
,
814
OMX_MeteringKhronosExtensions
= 0x6F000000,
815
OMX_MeteringVendorStartUnused
= 0x7F000000,
816
OMX_EVModeMax
= 0x7fffffff
817
}
OMX_METERINGTYPE
;
818
819
typedef
struct
OMX_CONFIG_EXPOSUREVALUETYPE
{
820
OMX_U32
nSize
;
821
OMX_VERSIONTYPE
nVersion
;
822
OMX_U32
nPortIndex
;
823
OMX_METERINGTYPE
eMetering
;
824
OMX_S32
xEVCompensation
;
825
OMX_U32
nApertureFNumber
;
826
OMX_BOOL
bAutoAperture
;
827
OMX_U32
nShutterSpeedMsec
;
828
OMX_BOOL
bAutoShutterSpeed
;
829
OMX_U32
nSensitivity
;
830
OMX_BOOL
bAutoSensitivity
;
831
}
OMX_CONFIG_EXPOSUREVALUETYPE
;
832
850
typedef
struct
OMX_CONFIG_FOCUSREGIONTYPE
{
851
OMX_U32
nSize
;
852
OMX_VERSIONTYPE
nVersion
;
853
OMX_U32
nPortIndex
;
854
OMX_BOOL
bCenter
;
855
OMX_BOOL
bLeft
;
856
OMX_BOOL
bRight
;
857
OMX_BOOL
bTop
;
858
OMX_BOOL
bBottom
;
859
OMX_BOOL
bTopLeft
;
860
OMX_BOOL
bTopRight
;
861
OMX_BOOL
bBottomLeft
;
862
OMX_BOOL
bBottomRight
;
863
}
OMX_CONFIG_FOCUSREGIONTYPE
;
864
868
typedef
enum
OMX_FOCUSSTATUSTYPE
{
869
OMX_FocusStatusOff
= 0,
870
OMX_FocusStatusRequest
,
871
OMX_FocusStatusReached
,
872
OMX_FocusStatusUnableToReach
,
873
OMX_FocusStatusLost
,
874
OMX_FocusStatusKhronosExtensions
= 0x6F000000,
875
OMX_FocusStatusVendorStartUnused
= 0x7F000000,
876
OMX_FocusStatusMax
= 0x7FFFFFFF
877
}
OMX_FOCUSSTATUSTYPE
;
878
897
typedef
struct
OMX_PARAM_FOCUSSTATUSTYPE
{
898
OMX_U32
nSize
;
899
OMX_VERSIONTYPE
nVersion
;
900
OMX_U32
nPortIndex
;
901
OMX_FOCUSSTATUSTYPE
eFocusStatus
;
902
OMX_BOOL
bCenterStatus
;
903
OMX_BOOL
bLeftStatus
;
904
OMX_BOOL
bRightStatus
;
905
OMX_BOOL
bTopStatus
;
906
OMX_BOOL
bBottomStatus
;
907
OMX_BOOL
bTopLeftStatus
;
908
OMX_BOOL
bTopRightStatus
;
909
OMX_BOOL
bBottomLeftStatus
;
910
OMX_BOOL
bBottomRightStatus
;
911
}
OMX_PARAM_FOCUSSTATUSTYPE
;
912
915
#ifdef __cplusplus
916
}
917
#endif
/* __cplusplus */
918
919
#endif
920
/* File EOF */
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1