OpenMAXBellagio
0.9.3
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
OMX_Video.h
Go to the documentation of this file.
1
29
#ifndef OMX_Video_h
30
#define OMX_Video_h
31
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
/* __cplusplus */
41
42
49
#include <
OMX_IVCommon.h
>
50
51
61
typedef
enum
OMX_VIDEO_CODINGTYPE
{
62
OMX_VIDEO_CodingUnused
,
63
OMX_VIDEO_CodingAutoDetect
,
64
OMX_VIDEO_CodingMPEG2
,
65
OMX_VIDEO_CodingH263
,
66
OMX_VIDEO_CodingMPEG4
,
67
OMX_VIDEO_CodingWMV
,
68
OMX_VIDEO_CodingRV
,
69
OMX_VIDEO_CodingAVC
,
70
OMX_VIDEO_CodingMJPEG
,
71
OMX_VIDEO_CodingKhronosExtensions
= 0x6F000000,
72
OMX_VIDEO_CodingVendorStartUnused
= 0x7F000000,
73
OMX_VIDEO_CodingMax
= 0x7FFFFFFF
74
}
OMX_VIDEO_CODINGTYPE
;
75
76
124
typedef
struct
OMX_VIDEO_PORTDEFINITIONTYPE
{
125
OMX_STRING
cMIMEType
;
126
OMX_NATIVE_DEVICETYPE
pNativeRender
;
127
OMX_U32
nFrameWidth
;
128
OMX_U32
nFrameHeight
;
129
OMX_S32
nStride
;
130
OMX_U32
nSliceHeight
;
131
OMX_U32
nBitrate
;
132
OMX_U32
xFramerate
;
133
OMX_BOOL
bFlagErrorConcealment
;
134
OMX_VIDEO_CODINGTYPE
eCompressionFormat
;
135
OMX_COLOR_FORMATTYPE
eColorFormat
;
136
OMX_NATIVE_WINDOWTYPE
pNativeWindow
;
137
}
OMX_VIDEO_PORTDEFINITIONTYPE
;
138
155
typedef
struct
OMX_VIDEO_PARAM_PORTFORMATTYPE
{
156
OMX_U32
nSize
;
157
OMX_VERSIONTYPE
nVersion
;
158
OMX_U32
nPortIndex
;
159
OMX_U32
nIndex
;
160
OMX_VIDEO_CODINGTYPE
eCompressionFormat
;
161
OMX_COLOR_FORMATTYPE
eColorFormat
;
162
OMX_U32
xFramerate
;
163
}
OMX_VIDEO_PARAM_PORTFORMATTYPE
;
164
165
179
typedef
struct
OMX_VIDEO_PARAM_QUANTIZATIONTYPE
{
180
OMX_U32
nSize
;
181
OMX_VERSIONTYPE
nVersion
;
182
OMX_U32
nPortIndex
;
183
OMX_U32
nQpI
;
184
OMX_U32
nQpP
;
185
OMX_U32
nQpB
;
186
}
OMX_VIDEO_PARAM_QUANTIZATIONTYPE
;
187
188
202
typedef
struct
OMX_VIDEO_PARAM_VIDEOFASTUPDATETYPE
{
203
OMX_U32
nSize
;
204
OMX_VERSIONTYPE
nVersion
;
205
OMX_U32
nPortIndex
;
206
OMX_BOOL
bEnableVFU
;
207
OMX_U32
nFirstGOB
;
208
OMX_U32
nFirstMB
;
209
OMX_U32
nNumMBs
;
210
}
OMX_VIDEO_PARAM_VIDEOFASTUPDATETYPE
;
211
212
216
typedef
enum
OMX_VIDEO_CONTROLRATETYPE
{
217
OMX_Video_ControlRateDisable
,
218
OMX_Video_ControlRateVariable
,
219
OMX_Video_ControlRateConstant
,
220
OMX_Video_ControlRateVariableSkipFrames
,
221
OMX_Video_ControlRateConstantSkipFrames
,
222
OMX_Video_ControlRateKhronosExtensions
= 0x6F000000,
223
OMX_Video_ControlRateVendorStartUnused
= 0x7F000000,
224
OMX_Video_ControlRateMax
= 0x7FFFFFFF
225
}
OMX_VIDEO_CONTROLRATETYPE
;
226
227
238
typedef
struct
OMX_VIDEO_PARAM_BITRATETYPE
{
239
OMX_U32
nSize
;
240
OMX_VERSIONTYPE
nVersion
;
241
OMX_U32
nPortIndex
;
242
OMX_VIDEO_CONTROLRATETYPE
eControlRate
;
243
OMX_U32
nTargetBitrate
;
244
}
OMX_VIDEO_PARAM_BITRATETYPE
;
245
246
250
typedef
enum
OMX_VIDEO_MOTIONVECTORTYPE
{
251
OMX_Video_MotionVectorPixel
,
252
OMX_Video_MotionVectorHalfPel
,
253
OMX_Video_MotionVectorQuarterPel
,
254
OMX_Video_MotionVectorEighthPel
,
255
OMX_Video_MotionVectorKhronosExtensions
= 0x6F000000,
256
OMX_Video_MotionVectorVendorStartUnused
= 0x7F000000,
257
OMX_Video_MotionVectorMax
= 0x7FFFFFFF
258
}
OMX_VIDEO_MOTIONVECTORTYPE
;
259
260
275
typedef
struct
OMX_VIDEO_PARAM_MOTIONVECTORTYPE
{
276
OMX_U32
nSize
;
277
OMX_VERSIONTYPE
nVersion
;
278
OMX_U32
nPortIndex
;
279
OMX_VIDEO_MOTIONVECTORTYPE
eAccuracy
;
280
OMX_BOOL
bUnrestrictedMVs
;
281
OMX_BOOL
bFourMV
;
282
OMX_S32
sXSearchRange
;
283
OMX_S32
sYSearchRange
;
284
}
OMX_VIDEO_PARAM_MOTIONVECTORTYPE
;
285
286
290
typedef
enum
OMX_VIDEO_INTRAREFRESHTYPE
{
291
OMX_VIDEO_IntraRefreshCyclic
,
292
OMX_VIDEO_IntraRefreshAdaptive
,
293
OMX_VIDEO_IntraRefreshBoth
,
294
OMX_VIDEO_IntraRefreshKhronosExtensions
= 0x6F000000,
295
OMX_VIDEO_IntraRefreshVendorStartUnused
= 0x7F000000,
296
OMX_VIDEO_IntraRefreshMax
= 0x7FFFFFFF
297
}
OMX_VIDEO_INTRAREFRESHTYPE
;
298
299
315
typedef
struct
OMX_VIDEO_PARAM_INTRAREFRESHTYPE
{
316
OMX_U32
nSize
;
317
OMX_VERSIONTYPE
nVersion
;
318
OMX_U32
nPortIndex
;
319
OMX_VIDEO_INTRAREFRESHTYPE
eRefreshMode
;
320
OMX_U32
nAirMBs
;
321
OMX_U32
nAirRef
;
322
OMX_U32
nCirMBs
;
323
}
OMX_VIDEO_PARAM_INTRAREFRESHTYPE
;
324
325
342
typedef
struct
OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE
{
343
OMX_U32
nSize
;
344
OMX_VERSIONTYPE
nVersion
;
345
OMX_U32
nPortIndex
;
346
OMX_BOOL
bEnableHEC
;
347
OMX_BOOL
bEnableResync
;
348
OMX_U32
nResynchMarkerSpacing
;
349
OMX_BOOL
bEnableDataPartitioning
;
350
OMX_BOOL
bEnableRVLC
;
351
}
OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE
;
352
353
369
typedef
struct
OMX_VIDEO_PARAM_VBSMCTYPE
{
370
OMX_U32
nSize
;
371
OMX_VERSIONTYPE
nVersion
;
372
OMX_U32
nPortIndex
;
373
OMX_BOOL
b16x16
;
374
OMX_BOOL
b16x8
;
375
OMX_BOOL
b8x16
;
376
OMX_BOOL
b8x8
;
377
OMX_BOOL
b8x4
;
378
OMX_BOOL
b4x8
;
379
OMX_BOOL
b4x4
;
380
}
OMX_VIDEO_PARAM_VBSMCTYPE
;
381
382
407
typedef
enum
OMX_VIDEO_H263PROFILETYPE
{
408
OMX_VIDEO_H263ProfileBaseline
= 0x01,
409
OMX_VIDEO_H263ProfileH320Coding
= 0x02,
410
OMX_VIDEO_H263ProfileBackwardCompatible
= 0x04,
411
OMX_VIDEO_H263ProfileISWV2
= 0x08,
412
OMX_VIDEO_H263ProfileISWV3
= 0x10,
413
OMX_VIDEO_H263ProfileHighCompression
= 0x20,
414
OMX_VIDEO_H263ProfileInternet
= 0x40,
415
OMX_VIDEO_H263ProfileInterlace
= 0x80,
416
OMX_VIDEO_H263ProfileHighLatency
= 0x100,
417
OMX_VIDEO_H263ProfileKhronosExtensions
= 0x6F000000,
418
OMX_VIDEO_H263ProfileVendorStartUnused
= 0x7F000000,
419
OMX_VIDEO_H263ProfileMax
= 0x7FFFFFFF
420
}
OMX_VIDEO_H263PROFILETYPE
;
421
422
427
typedef
enum
OMX_VIDEO_H263LEVELTYPE
{
428
OMX_VIDEO_H263Level10
= 0x01,
429
OMX_VIDEO_H263Level20
= 0x02,
430
OMX_VIDEO_H263Level30
= 0x04,
431
OMX_VIDEO_H263Level40
= 0x08,
432
OMX_VIDEO_H263Level45
= 0x10,
433
OMX_VIDEO_H263Level50
= 0x20,
434
OMX_VIDEO_H263Level60
= 0x40,
435
OMX_VIDEO_H263Level70
= 0x80,
436
OMX_VIDEO_H263LevelKhronosExtensions
= 0x6F000000,
437
OMX_VIDEO_H263LevelVendorStartUnused
= 0x7F000000,
438
OMX_VIDEO_H263LevelMax
= 0x7FFFFFFF
439
}
OMX_VIDEO_H263LEVELTYPE
;
440
441
452
typedef
enum
OMX_VIDEO_PICTURETYPE
{
453
OMX_VIDEO_PictureTypeI
= 0x01,
454
OMX_VIDEO_PictureTypeP
= 0x02,
455
OMX_VIDEO_PictureTypeB
= 0x04,
456
OMX_VIDEO_PictureTypeSI
= 0x08,
457
OMX_VIDEO_PictureTypeSP
= 0x10,
458
OMX_VIDEO_PictureTypeEI
= 0x11,
459
OMX_VIDEO_PictureTypeEP
= 0x12,
460
OMX_VIDEO_PictureTypeS
= 0x14,
461
OMX_VIDEO_PictureTypeKhronosExtensions
= 0x6F000000,
462
OMX_VIDEO_PictureTypeVendorStartUnused
= 0x7F000000,
463
OMX_VIDEO_PictureTypeMax
= 0x7FFFFFFF
464
}
OMX_VIDEO_PICTURETYPE
;
465
466
493
typedef
struct
OMX_VIDEO_PARAM_H263TYPE
{
494
OMX_U32
nSize
;
495
OMX_VERSIONTYPE
nVersion
;
496
OMX_U32
nPortIndex
;
497
OMX_U32
nPFrames
;
498
OMX_U32
nBFrames
;
499
OMX_VIDEO_H263PROFILETYPE
eProfile
;
500
OMX_VIDEO_H263LEVELTYPE
eLevel
;
501
OMX_BOOL
bPLUSPTYPEAllowed
;
502
OMX_U32
nAllowedPictureTypes
;
503
OMX_BOOL
bForceRoundingTypeToZero
;
504
OMX_U32
nPictureHeaderRepetition
;
505
OMX_U32
nGOBHeaderInterval
;
506
}
OMX_VIDEO_PARAM_H263TYPE
;
507
508
513
typedef
enum
OMX_VIDEO_MPEG2PROFILETYPE
{
514
OMX_VIDEO_MPEG2ProfileSimple
= 0,
515
OMX_VIDEO_MPEG2ProfileMain
,
516
OMX_VIDEO_MPEG2Profile422
,
517
OMX_VIDEO_MPEG2ProfileSNR
,
518
OMX_VIDEO_MPEG2ProfileSpatial
,
519
OMX_VIDEO_MPEG2ProfileHigh
,
520
OMX_VIDEO_MPEG2ProfileKhronosExtensions
= 0x6F000000,
521
OMX_VIDEO_MPEG2ProfileVendorStartUnused
= 0x7F000000,
522
OMX_VIDEO_MPEG2ProfileMax
= 0x7FFFFFFF
523
}
OMX_VIDEO_MPEG2PROFILETYPE
;
524
525
530
typedef
enum
OMX_VIDEO_MPEG2LEVELTYPE
{
531
OMX_VIDEO_MPEG2LevelLL
= 0,
532
OMX_VIDEO_MPEG2LevelML
,
533
OMX_VIDEO_MPEG2LevelH14
,
534
OMX_VIDEO_MPEG2LevelHL
,
535
OMX_VIDEO_MPEG2LevelKhronosExtensions
= 0x6F000000,
536
OMX_VIDEO_MPEG2LevelVendorStartUnused
= 0x7F000000,
537
OMX_VIDEO_MPEG2LevelMax
= 0x7FFFFFFF
538
}
OMX_VIDEO_MPEG2LEVELTYPE
;
539
540
553
typedef
struct
OMX_VIDEO_PARAM_MPEG2TYPE
{
554
OMX_U32
nSize
;
555
OMX_VERSIONTYPE
nVersion
;
556
OMX_U32
nPortIndex
;
557
OMX_U32
nPFrames
;
558
OMX_U32
nBFrames
;
559
OMX_VIDEO_MPEG2PROFILETYPE
eProfile
;
560
OMX_VIDEO_MPEG2LEVELTYPE
eLevel
;
561
}
OMX_VIDEO_PARAM_MPEG2TYPE
;
562
563
585
typedef
enum
OMX_VIDEO_MPEG4PROFILETYPE
{
586
OMX_VIDEO_MPEG4ProfileSimple
= 0x01,
587
OMX_VIDEO_MPEG4ProfileSimpleScalable
= 0x02,
588
OMX_VIDEO_MPEG4ProfileCore
= 0x04,
589
OMX_VIDEO_MPEG4ProfileMain
= 0x08,
590
OMX_VIDEO_MPEG4ProfileNbit
= 0x10,
591
OMX_VIDEO_MPEG4ProfileScalableTexture
= 0x20,
592
OMX_VIDEO_MPEG4ProfileSimpleFace
= 0x40,
593
OMX_VIDEO_MPEG4ProfileSimpleFBA
= 0x80,
594
OMX_VIDEO_MPEG4ProfileBasicAnimated
= 0x100,
595
OMX_VIDEO_MPEG4ProfileHybrid
= 0x200,
596
OMX_VIDEO_MPEG4ProfileAdvancedRealTime
= 0x400,
597
OMX_VIDEO_MPEG4ProfileCoreScalable
= 0x800,
598
OMX_VIDEO_MPEG4ProfileAdvancedCoding
= 0x1000,
599
OMX_VIDEO_MPEG4ProfileAdvancedCore
= 0x2000,
600
OMX_VIDEO_MPEG4ProfileAdvancedScalable
= 0x4000,
601
OMX_VIDEO_MPEG4ProfileAdvancedSimple
= 0x8000,
602
OMX_VIDEO_MPEG4ProfileKhronosExtensions
= 0x6F000000,
603
OMX_VIDEO_MPEG4ProfileVendorStartUnused
= 0x7F000000,
604
OMX_VIDEO_MPEG4ProfileMax
= 0x7FFFFFFF
605
}
OMX_VIDEO_MPEG4PROFILETYPE
;
606
607
612
typedef
enum
OMX_VIDEO_MPEG4LEVELTYPE
{
613
OMX_VIDEO_MPEG4Level0
= 0x01,
614
OMX_VIDEO_MPEG4Level0b
= 0x02,
615
OMX_VIDEO_MPEG4Level1
= 0x04,
616
OMX_VIDEO_MPEG4Level2
= 0x08,
617
OMX_VIDEO_MPEG4Level3
= 0x10,
618
OMX_VIDEO_MPEG4Level4
= 0x20,
619
OMX_VIDEO_MPEG4Level4a
= 0x40,
620
OMX_VIDEO_MPEG4Level5
= 0x80,
621
OMX_VIDEO_MPEG4LevelKhronosExtensions
= 0x6F000000,
622
OMX_VIDEO_MPEG4LevelVendorStartUnused
= 0x7F000000,
623
OMX_VIDEO_MPEG4LevelMax
= 0x7FFFFFFF
624
}
OMX_VIDEO_MPEG4LEVELTYPE
;
625
626
655
typedef
struct
OMX_VIDEO_PARAM_MPEG4TYPE
{
656
OMX_U32
nSize
;
657
OMX_VERSIONTYPE
nVersion
;
658
OMX_U32
nPortIndex
;
659
OMX_U32
nSliceHeaderSpacing
;
660
OMX_BOOL
bSVH
;
661
OMX_BOOL
bGov
;
662
OMX_U32
nPFrames
;
663
OMX_U32
nBFrames
;
664
OMX_U32
nIDCVLCThreshold
;
665
OMX_BOOL
bACPred
;
666
OMX_U32
nMaxPacketSize
;
667
OMX_U32
nTimeIncRes
;
668
OMX_VIDEO_MPEG4PROFILETYPE
eProfile
;
669
OMX_VIDEO_MPEG4LEVELTYPE
eLevel
;
670
OMX_U32
nAllowedPictureTypes
;
671
OMX_U32
nHeaderExtension
;
672
OMX_BOOL
bReversibleVLC
;
673
}
OMX_VIDEO_PARAM_MPEG4TYPE
;
674
675
679
typedef
enum
OMX_VIDEO_WMVFORMATTYPE
{
680
OMX_VIDEO_WMVFormatUnused
= 0x01,
681
OMX_VIDEO_WMVFormat7
= 0x02,
682
OMX_VIDEO_WMVFormat8
= 0x04,
683
OMX_VIDEO_WMVFormat9
= 0x08,
684
OMX_VIDEO_WMFFormatKhronosExtensions
= 0x6F000000,
685
OMX_VIDEO_WMFFormatVendorStartUnused
= 0x7F000000,
686
OMX_VIDEO_WMVFormatMax
= 0x7FFFFFFF
687
}
OMX_VIDEO_WMVFORMATTYPE
;
688
689
699
typedef
struct
OMX_VIDEO_PARAM_WMVTYPE
{
700
OMX_U32
nSize
;
701
OMX_VERSIONTYPE
nVersion
;
702
OMX_U32
nPortIndex
;
703
OMX_VIDEO_WMVFORMATTYPE
eFormat
;
704
}
OMX_VIDEO_PARAM_WMVTYPE
;
705
706
710
typedef
enum
OMX_VIDEO_RVFORMATTYPE
{
711
OMX_VIDEO_RVFormatUnused
= 0,
712
OMX_VIDEO_RVFormat8
,
713
OMX_VIDEO_RVFormat9
,
714
OMX_VIDEO_RVFormatG2
,
715
OMX_VIDEO_RVFormatKhronosExtensions
= 0x6F000000,
716
OMX_VIDEO_RVFormatVendorStartUnused
= 0x7F000000,
717
OMX_VIDEO_RVFormatMax
= 0x7FFFFFFF
718
}
OMX_VIDEO_RVFORMATTYPE
;
719
720
744
typedef
struct
OMX_VIDEO_PARAM_RVTYPE
{
745
OMX_U32
nSize
;
746
OMX_VERSIONTYPE
nVersion
;
747
OMX_U32
nPortIndex
;
748
OMX_VIDEO_RVFORMATTYPE
eFormat
;
749
OMX_U16
nBitsPerPixel
;
750
OMX_U16
nPaddedWidth
;
751
OMX_U16
nPaddedHeight
;
752
OMX_U32
nFrameRate
;
753
OMX_U32
nBitstreamFlags
;
754
OMX_U32
nBitstreamVersion
;
755
OMX_U32
nMaxEncodeFrameSize
;
756
OMX_BOOL
bEnablePostFilter
;
757
OMX_BOOL
bEnableTemporalInterpolation
;
758
OMX_BOOL
bEnableLatencyMode
;
759
}
OMX_VIDEO_PARAM_RVTYPE
;
760
761
766
typedef
enum
OMX_VIDEO_AVCPROFILETYPE
{
767
OMX_VIDEO_AVCProfileBaseline
= 0x01,
768
OMX_VIDEO_AVCProfileMain
= 0x02,
769
OMX_VIDEO_AVCProfileExtended
= 0x04,
770
OMX_VIDEO_AVCProfileHigh
= 0x08,
771
OMX_VIDEO_AVCProfileHigh10
= 0x10,
772
OMX_VIDEO_AVCProfileHigh422
= 0x20,
773
OMX_VIDEO_AVCProfileHigh444
= 0x40,
774
OMX_VIDEO_AVCProfileKhronosExtensions
= 0x6F000000,
775
OMX_VIDEO_AVCProfileVendorStartUnused
= 0x7F000000,
776
OMX_VIDEO_AVCProfileMax
= 0x7FFFFFFF
777
}
OMX_VIDEO_AVCPROFILETYPE
;
778
779
784
typedef
enum
OMX_VIDEO_AVCLEVELTYPE
{
785
OMX_VIDEO_AVCLevel1
= 0x01,
786
OMX_VIDEO_AVCLevel1b
= 0x02,
787
OMX_VIDEO_AVCLevel11
= 0x04,
788
OMX_VIDEO_AVCLevel12
= 0x08,
789
OMX_VIDEO_AVCLevel13
= 0x10,
790
OMX_VIDEO_AVCLevel2
= 0x20,
791
OMX_VIDEO_AVCLevel21
= 0x40,
792
OMX_VIDEO_AVCLevel22
= 0x80,
793
OMX_VIDEO_AVCLevel3
= 0x100,
794
OMX_VIDEO_AVCLevel31
= 0x200,
795
OMX_VIDEO_AVCLevel32
= 0x400,
796
OMX_VIDEO_AVCLevel4
= 0x800,
797
OMX_VIDEO_AVCLevel41
= 0x1000,
798
OMX_VIDEO_AVCLevel42
= 0x2000,
799
OMX_VIDEO_AVCLevel5
= 0x4000,
800
OMX_VIDEO_AVCLevel51
= 0x8000,
801
OMX_VIDEO_AVCLevelKhronosExtensions
= 0x6F000000,
802
OMX_VIDEO_AVCLevelVendorStartUnused
= 0x7F000000,
803
OMX_VIDEO_AVCLevelMax
= 0x7FFFFFFF
804
}
OMX_VIDEO_AVCLEVELTYPE
;
805
806
814
typedef
enum
OMX_VIDEO_AVCLOOPFILTERTYPE
{
815
OMX_VIDEO_AVCLoopFilterEnable
= 0,
816
OMX_VIDEO_AVCLoopFilterDisable
,
817
OMX_VIDEO_AVCLoopFilterDisableSliceBoundary
,
818
OMX_VIDEO_AVCLoopFilterKhronosExtensions
= 0x6F000000,
819
OMX_VIDEO_AVCLoopFilterVendorStartUnused
= 0x7F000000,
820
OMX_VIDEO_AVCLoopFilterMax
= 0x7FFFFFFF
821
}
OMX_VIDEO_AVCLOOPFILTERTYPE
;
822
823
877
typedef
struct
OMX_VIDEO_PARAM_AVCTYPE
{
878
OMX_U32
nSize
;
879
OMX_VERSIONTYPE
nVersion
;
880
OMX_U32
nPortIndex
;
881
OMX_U32
nSliceHeaderSpacing
;
882
OMX_U32
nPFrames
;
883
OMX_U32
nBFrames
;
884
OMX_BOOL
bUseHadamard
;
885
OMX_U32
nRefFrames
;
886
OMX_U32
nRefIdx10ActiveMinus1
;
887
OMX_U32
nRefIdx11ActiveMinus1
;
888
OMX_BOOL
bEnableUEP
;
889
OMX_BOOL
bEnableFMO
;
890
OMX_BOOL
bEnableASO
;
891
OMX_BOOL
bEnableRS
;
892
OMX_VIDEO_AVCPROFILETYPE
eProfile
;
893
OMX_VIDEO_AVCLEVELTYPE
eLevel
;
894
OMX_U32
nAllowedPictureTypes
;
895
OMX_BOOL
bFrameMBsOnly
;
896
OMX_BOOL
bMBAFF
;
897
OMX_BOOL
bEntropyCodingCABAC
;
898
OMX_BOOL
bWeightedPPrediction
;
899
OMX_U32
nWeightedBipredicitonMode
;
900
OMX_BOOL
bconstIpred
;
901
OMX_BOOL
bDirect8x8Inference
;
902
OMX_BOOL
bDirectSpatialTemporal
;
903
OMX_U32
nCabacInitIdc
;
904
OMX_VIDEO_AVCLOOPFILTERTYPE
eLoopFilterMode
;
905
}
OMX_VIDEO_PARAM_AVCTYPE
;
906
907
typedef
struct
OMX_VIDEO_PARAM_PROFILELEVELTYPE
{
908
OMX_U32
nSize
;
909
OMX_VERSIONTYPE
nVersion
;
910
OMX_U32
nPortIndex
;
911
OMX_U32
eProfile
;
913
OMX_U32
eLevel
;
915
OMX_U32
nProfileIndex
;
919
}
OMX_VIDEO_PARAM_PROFILELEVELTYPE
;
920
930
typedef
struct
OMX_VIDEO_CONFIG_BITRATETYPE
{
931
OMX_U32
nSize
;
932
OMX_VERSIONTYPE
nVersion
;
933
OMX_U32
nPortIndex
;
934
OMX_U32
nEncodeBitrate
;
935
}
OMX_VIDEO_CONFIG_BITRATETYPE
;
936
946
typedef
struct
OMX_CONFIG_FRAMERATETYPE
{
947
OMX_U32
nSize
;
948
OMX_VERSIONTYPE
nVersion
;
949
OMX_U32
nPortIndex
;
950
OMX_U32
xEncodeFramerate
;
/* Q16 format */
951
}
OMX_CONFIG_FRAMERATETYPE
;
952
953
typedef
struct
OMX_CONFIG_INTRAREFRESHVOPTYPE
{
954
OMX_U32
nSize
;
955
OMX_VERSIONTYPE
nVersion
;
956
OMX_U32
nPortIndex
;
957
OMX_BOOL
IntraRefreshVOP
;
958
}
OMX_CONFIG_INTRAREFRESHVOPTYPE
;
959
960
typedef
struct
OMX_CONFIG_MACROBLOCKERRORMAPTYPE
{
961
OMX_U32
nSize
;
962
OMX_VERSIONTYPE
nVersion
;
963
OMX_U32
nPortIndex
;
964
OMX_U32
nErrMapSize
;
/* Size of the Error Map in bytes */
965
OMX_U8
ErrMap
[1];
/* Error map hint */
966
}
OMX_CONFIG_MACROBLOCKERRORMAPTYPE
;
967
968
typedef
struct
OMX_CONFIG_MBERRORREPORTINGTYPE
{
969
OMX_U32
nSize
;
970
OMX_VERSIONTYPE
nVersion
;
971
OMX_U32
nPortIndex
;
972
OMX_BOOL
bEnabled
;
973
}
OMX_CONFIG_MBERRORREPORTINGTYPE
;
974
975
typedef
struct
OMX_PARAM_MACROBLOCKSTYPE
{
976
OMX_U32
nSize
;
977
OMX_VERSIONTYPE
nVersion
;
978
OMX_U32
nPortIndex
;
979
OMX_U32
nMacroblocks
;
980
}
OMX_PARAM_MACROBLOCKSTYPE
;
981
989
typedef
enum
OMX_VIDEO_AVCSLICEMODETYPE
{
990
OMX_VIDEO_SLICEMODE_AVCDefault
= 0,
991
OMX_VIDEO_SLICEMODE_AVCMBSlice
,
992
OMX_VIDEO_SLICEMODE_AVCByteSlice
,
993
OMX_VIDEO_SLICEMODE_AVCKhronosExtensions
= 0x6F000000,
994
OMX_VIDEO_SLICEMODE_AVCVendorStartUnused
= 0x7F000000,
995
OMX_VIDEO_SLICEMODE_AVCLevelMax
= 0x7FFFFFFF
996
}
OMX_VIDEO_AVCSLICEMODETYPE
;
997
1009
typedef
struct
OMX_VIDEO_PARAM_AVCSLICEFMO
{
1010
OMX_U32
nSize
;
1011
OMX_VERSIONTYPE
nVersion
;
1012
OMX_U32
nPortIndex
;
1013
OMX_U8
nNumSliceGroups
;
1014
OMX_U8
nSliceGroupMapType
;
1015
OMX_VIDEO_AVCSLICEMODETYPE
eSliceMode
;
1016
}
OMX_VIDEO_PARAM_AVCSLICEFMO
;
1017
1028
typedef
struct
OMX_VIDEO_CONFIG_AVCINTRAPERIOD
{
1029
OMX_U32
nSize
;
1030
OMX_VERSIONTYPE
nVersion
;
1031
OMX_U32
nPortIndex
;
1032
OMX_U32
nIDRPeriod
;
1033
OMX_U32
nPFrames
;
1034
}
OMX_VIDEO_CONFIG_AVCINTRAPERIOD
;
1035
1045
typedef
struct
OMX_VIDEO_CONFIG_NALSIZE
{
1046
OMX_U32
nSize
;
1047
OMX_VERSIONTYPE
nVersion
;
1048
OMX_U32
nPortIndex
;
1049
OMX_U32
nNaluBytes
;
1050
}
OMX_VIDEO_CONFIG_NALSIZE
;
1051
1054
#ifdef __cplusplus
1055
}
1056
#endif
/* __cplusplus */
1057
1058
#endif
1059
/* File EOF */
1060
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1