-
Notifications
You must be signed in to change notification settings - Fork 4
/
uomx.pas
3196 lines (2878 loc) · 172 KB
/
uomx.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
unit uOMX;
{$mode delphi}{$H+}
(*
* Copyright (c) 2008 The Khronos Group Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject
* to the following conditions:
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*)
interface
uses
Classes, SysUtils, VC4;
const
OMX_MAX_STRINGNAME_SIZE = 128;
OMX_CONFIG_IMAGEFILTERPARAMS_MAXPARAMS = 6;
OMX_BRCM_MAXIOPERFBANDS = 10;
OMX_BRCM_MAXANNOTATETEXTLEN = 256;
OMX_CONFIG_FLASHINFOTYPE_NAME_LEN = 16;
OMX_PARAM_CAMERARMITYPE_RMINAME_LEN = 16;
OMX_CONFIG_CAMERAINFOTYPE_NAME_LEN = 16;
OMX_CONFIG_CAMERAINFOTYPE_SERIALNUM_LEN = 20;
OMX_CONFIG_CAMERAINFOTYPE_EPROMVER_LEN = 8;
OMX_IndexVendorStartUnused = $7F000000;
OMX_BUFFERFLAG_EOS = $00000001;
OMX_BUFFERFLAG_STARTTIME = $00000002;
OMX_BUFFERFLAG_DECODEONLY = $00000004;
OMX_BUFFERFLAG_DATACORRUPT = $00000008;
OMX_BUFFERFLAG_ENDOFFRAME = $00000010;
OMX_BUFFERFLAG_SYNCFRAME = $00000020;
OMX_BUFFERFLAG_EXTRADATA = $00000040;
OMX_BUFFERFLAG_CODECCONFIG = $00000080;
OMX_BUFFERFLAG_TIME_UNKNOWN = $00000100;
OMX_BUFFERFLAG_CAPTURE_PREVIEW = $00000200;
OMX_BUFFERFLAG_ENDOFNAL = $00000400;
OMX_BUFFERFLAG_FRAGMENTLIST = $00000800;
OMX_BUFFERFLAG_DISCONTINUITY = $00001000;
OMX_BUFFERFLAG_CODECSIDEINFO = $00002000;
OMX_BUFFERFLAG_TIME_IS_DTS = $000004000;
OMX_BUFFERFLAG_INTERLACED = $000010000;
OMX_BUFFERFLAG_TOP_FIELD_FIRST = $000020000;
OMX_PortDomainAudio = 0;
OMX_PortDomainVideo = 1;
OMX_PortDomainImage = 2;
OMX_PortDomainOther = 3;
OMX_PortDomainKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_PortDomainVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_PortDomainMax = $7ffffff;
OMX_FALSE = LongBool (false);
OMX_TRUE = LongBool (true);
OMX_ALL = $FFFFFFFF;
OMX_NumericalDataSigned = 0; (* signed data *)
OMX_NumericalDataUnsigned = 1; (* unsigned data *)
OMX_NumercialDataMax = $7FFFFFFF;
OMX_EndianBig = 0; (* big endian *)
OMX_EndianLittle = 1; (* little endian *)
OMX_EndianMax = $7FFFFFFF;
OMX_VERSION_MAJOR = 1;
OMX_VERSION_MINOR = 1;
OMX_VERSION_REVISION = 2;
OMX_VERSION_STEP = 0;
OMX_VERSION = (OMX_VERSION_STEP shl 24) or (OMX_VERSION_REVISION shl 16) or
(OMX_VERSION_MINOR shl 8) or OMX_VERSION_MAJOR;
OMX_BufferSupplyUnspecified = 0; (* port supplying the buffers is unspecified, or don't care *)
OMX_BufferSupplyInput = 1; (* input port supplies the buffers *)
OMX_BufferSupplyOutput = 2; (* output port supplies the buffers *)
OMX_BufferSupplyKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_BufferSupplyVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_BufferSupplyMax = $7FFFFFFF;
OMX_ErrorNone = 0;
OMX_ErrorInsufficientResources = $80001000; (* There were insufficient resources to perform the requested operation *)
OMX_ErrorUndefined = $80001001; (* There was an error, but the cause of the error could not be determined *)
OMX_ErrorInvalidComponentName = $80001002; (* The component name string was not valid *)
OMX_ErrorComponentNotFound = $80001003; (* No component with the specified name string was found *)
OMX_ErrorInvalidComponent = $80001004; (* The component specified did not have a "OMX_ComponentInit" or
"OMX_ComponentDeInit entry point *)
OMX_ErrorBadParameter = $80001005; (* One or more parameters were not valid *)
OMX_ErrorNotImplemented = $80001006; (* The requested function is not implemented *)
OMX_ErrorUnderflow = $80001007; (* The buffer was emptied before the next buffer was ready *)
OMX_ErrorOverflow = $80001008; (* The buffer was not available when it was needed *)
OMX_ErrorHardware = $80001009; (* The hardware failed to respond as expected *)
OMX_ErrorInvalidState = $8000100A; (* The component is in the state OMX_StateInvalid *)
OMX_ErrorStreamCorrupt = $8000100B; (* Stream is found to be corrupt *)
OMX_ErrorPortsNotCompatible = $8000100C; (* Ports being connected are not compatible *)
OMX_ErrorResourcesLost = $8000100D; (* Resources allocated to an idle component have been
lost resulting in the component returning to the loaded state *)
OMX_ErrorNoMore = $8000100E; (* No more indicies can be enumerated *)
OMX_ErrorVersionMismatch = $8000100F; (* The component detected a version mismatch *)
OMX_ErrorNotReady = $80001010; (* The component is not ready to return data at this time *)
OMX_ErrorTimeout = $80001011; (* There was a timeout that occurred *)
OMX_ErrorSameState = $80001012; (* This error occurs when trying to transition into the state you are already in *)
OMX_ErrorResourcesPreempted = $80001013; (* Resources allocated to an executing or paused component have been
preempted, causing the component to return to the idle state *)
OMX_ErrorPortUnresponsiveDuringAllocation = $80001014; (* A non-supplier port sends this error to the IL client (via the EventHandler callback)
during the allocation of buffers (on a transition from the LOADED to the IDLE state or
on a port restart) when it deems that it has waited an unusually long time for the supplier
to send it an allocated buffer via a UseBuffer call. *)
OMX_ErrorPortUnresponsiveDuringDeallocation = $80001015; (* A non-supplier port sends this error to the IL client (via the EventHandler callback)
during the deallocation of buffers (on a transition from the IDLE to LOADED state or
on a port stop) when it deems that it has waited an unusually long time for the supplier
to request the deallocation of a buffer header via a FreeBuffer call. *)
OMX_ErrorPortUnresponsiveDuringStop = $80001016; (* A supplier port sends this error to the IL client (via the EventHandler callback)
during the stopping of a port (either on a transition from the IDLE to LOADED
state or a port stop) when it deems that it has waited an unusually long time for
the non-supplier to return a buffer via an EmptyThisBuffer or FillThisBuffer call. *)
OMX_ErrorIncorrectStateTransition = $80001017; (* Attempting a state transtion that is not allowed *)
OMX_ErrorIncorrectStateOperation = $80001018; (* Attempting a command that is not allowed during the present state. *)
OMX_ErrorUnsupportedSetting = $80001019; (* The values encapsulated in the parameter or config structure are not supported. *)
OMX_ErrorUnsupportedIndex = $8000101A; (* The parameter or config indicated by the given index is not supported. *)
OMX_ErrorBadPortIndex = $8000101B; (* The port index supplied is incorrect. *)
OMX_ErrorPortUnpopulated = $8000101C; (* The port has lost one or more of its buffers and it thus unpopulated. *)
OMX_ErrorComponentSuspended = $8000101D; (* Component suspended due to temporary loss of resources *)
OMX_ErrorDynamicResourcesUnavailable = $8000101E; (* Component suspended due to an inability to acquire dynamic resources *)
OMX_ErrorMbErrorsInFrame = $8000101F; (* When the macroblock error reporting is enabled the component returns new error
for every frame that has errors *)
OMX_ErrorFormatNotDetected = $80001020; (* A component reports this error when it cannot parse or determine the format of an input stream. *)
OMX_ErrorContentPipeOpenFailed = $80001021; (* The content open operation failed. *)
OMX_ErrorContentPipeCreationFailed = $80001022; (* The content creation operation failed. *)
OMX_ErrorSeperateTablesUsed = $80001023; (* Separate table information is being used *)
OMX_ErrorTunnelingUnsupported = $80001024; (* Tunneling is unsupported by the component*)
OMX_ErrorKhronosExtensions = $8F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_ErrorVendorStartUnused = $90000000; (* Reserved region for introducing Vendor Extensions *)
OMX_ErrorDiskFull = $90000001; (* Disk Full error *)
OMX_ErrorMaxFileSize = $90000002; (* Max file size is reached *)
OMX_ErrorDrmUnauthorised = $90000003; (* Unauthorised to play a DRM protected file *)
OMX_ErrorDrmExpired = $90000004; (* The DRM protected file has expired *)
OMX_ErrorDrmGeneral = $90000005; (* Some other DRM library error *)
OMX_ErrorMax = $7FFFFFFF;
OMX_EventCmdComplete = 0; (* component has sucessfully completed a command *)
OMX_EventError = 1; (* component has detected an error condition *)
OMX_EventMark = 2; (* component has detected a buffer mark *)
OMX_EventPortSettingsChanged = 3; (* component is reported a port settings change *)
OMX_EventBufferFlag = 4; (* component has detected an EOS *)
OMX_EventResourcesAcquired = 5; (* component has been granted resources and is
automatically starting the state change from
OMX_StateWaitForResources to OMX_StateIdle. *)
OMX_EventComponentResumed = 6; (* Component resumed due to reacquisition of resources *)
OMX_EventDynamicResourcesAvailable = 7; (* Component has acquired previously unavailable dynamic resources *)
OMX_EventPortFormatDetected = 8; (* Component has detected a supported format. *)
OMX_EventKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_EventVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_EventParamOrConfigChanged = $7F000001; (* Should be added to the main spec as part of IL416c *)
OMX_EventMax = $7FFFFFFF;
OMX_DirInput = 0; (* Port is an input port *)
OMX_DirOutput = 1; (* Port is an output port *)
OMX_DirMax = $7FFFFFFF;
OMX_CommandStateSet = 0; (* Change the component state *)
OMX_CommandFlush = 1; (* Flush the data queue(s) of a component *)
OMX_CommandPortDisable = 2; (* Disable a port on a component. *)
OMX_CommandPortEnable = 3; (* Enable a port on a component. *)
OMX_CommandMarkBuffer = 4; (* Mark a component/buffer for observation *)
OMX_CommandKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_CommandVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_CommandMax = $7FFFFFFF;
OMX_StateInvalid = 0; (* component has detected that it's internal data
structures are corrupted to the point that
it cannot determine it's state properly *)
OMX_StateLoaded = 1; (* component has been loaded but has not completed
initialization. The OMX_SetParameter macro
and the OMX_GetParameter macro are the only
valid macros allowed to be sent to the
component in this state. *)
OMX_StateIdle = 2; (* component initialization has been completed
successfully and the component is ready to
to start. *)
OMX_StateExecuting = 3; (* component has accepted the start command and
is processing data (if data is available) *)
OMX_StatePause = 4; (* component has received pause command *)
OMX_StateWaitForResources = 5; (* component is waiting for resources, either after
preemption or before it gets the resources requested.
See specification for complete details. *)
OMX_StateKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_StateVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_StateMax = $7FFFFFFF;
OMX_VIDEO_CodingUnused = 0; (* Value when coding is N/A *)
OMX_VIDEO_CodingAutoDetect = 1; (* Autodetection of coding type *)
OMX_VIDEO_CodingMPEG2 = 2; (* AKA: H.262 *)
OMX_VIDEO_CodingH263 = 3; (* H.263 *)
OMX_VIDEO_CodingMPEG4 = 4; (* MPEG-4 *)
OMX_VIDEO_CodingWMV = 5; (* all versions of Windows Media Video *)
OMX_VIDEO_CodingRV = 6; (* all versions of Real Video *)
OMX_VIDEO_CodingAVC = 7; (* H.264/AVC *)
OMX_VIDEO_CodingMJPEG = 8; (* Motion JPEG *)
OMX_VIDEO_CodingKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_VIDEO_CodingVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_IMAGE_CodingUnused = $0; (* Value when format is N/A *)
OMX_IMAGE_CodingAutoDetect = $1; (* Auto detection of image format *)
OMX_IMAGE_CodingJPEG = $2; (* JPEG/JFIF image format *)
OMX_IMAGE_CodingJPEG2K = $3; (* JPEG 2000 image format *)
OMX_IMAGE_CodingEXIF = $4; (* EXIF image format *)
OMX_IMAGE_CodingTIFF = $5; (* TIFF image format *)
OMX_IMAGE_CodingGIF = $6; (* Graphics image format *)
OMX_IMAGE_CodingPNG = $7; (* PNG image format *)
OMX_IMAGE_CodingLZW = $8; (* LZW image format *)
OMX_IMAGE_CodingBMP = $9; (* Windows Bitmap format *)
OMX_IMAGE_CodingKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_IMAGE_CodingVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_IMAGE_CodingTGA = $7F000001;
OMX_IMAGE_CodingPPM = $7F000002;
OMX_IMAGE_CodingMax = $7FFFFFFF;
OMX_OTHER_FormatTime = 0; (* Transmission of various timestamps, elapsed time,
time deltas, etc *)
OMX_OTHER_FormatPower = 1; (* Perhaps used for enabling/disabling power
management, setting clocks? *)
OMX_OTHER_FormatStats = 2; (* Could be things such as frame rate, frames
dropped, etc *)
OMX_OTHER_FormatBinary = 3; (* Arbitrary binary data *)
OMX_OTHER_FormatVendorReserved = 1000; (* Starting value for vendor specific
formats *)
OMX_OTHER_FormatKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_OTHER_FormatVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_OTHER_FormatText = $7F000001;
OMX_OTHER_FormatTextSKM2 = $7F000002;
OMX_OTHER_FormatText3GP5 = $7F000003;
OMX_OTHER_FormatMax = $7FFFFFFF;
OMX_TIME_ClockStateRunning = 0; (* Clock running. *)
OMX_TIME_ClockStateWaitingForStartTime = 1; (* Clock waiting until the
prescribed clients emit their
start time. *)
OMX_TIME_ClockStateStopped = 2; (* Clock stopped. *)
OMX_TIME_ClockStateKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_TIME_ClockStateVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_TIME_ClockStateMax = $7FFFFFFF;
OMX_AUDIO_CodingUnused = 0; (* Placeholder value when coding is N/A *)
OMX_AUDIO_CodingAutoDetect = 1; (* auto detection of audio format *)
OMX_AUDIO_CodingPCM = 2; (* Any variant of PCM coding *)
OMX_AUDIO_CodingADPCM = 3; (* Any variant of ADPCM encoded data *)
OMX_AUDIO_CodingAMR = 4; (* Any variant of AMR encoded data *)
OMX_AUDIO_CodingGSMFR = 5; (* Any variant of GSM fullrate (i.e. GSM610) *)
OMX_AUDIO_CodingGSMEFR = 6; (* Any variant of GSM Enhanced Fullrate encoded data*)
OMX_AUDIO_CodingGSMHR = 7; (* Any variant of GSM Halfrate encoded data *)
OMX_AUDIO_CodingPDCFR = 8; (* Any variant of PDC Fullrate encoded data *)
OMX_AUDIO_CodingPDCEFR = 9; (* Any variant of PDC Enhanced Fullrate encoded data *)
OMX_AUDIO_CodingPDCHR = 10; (* Any variant of PDC Halfrate encoded data *)
OMX_AUDIO_CodingTDMAFR = 11; (* Any variant of TDMA Fullrate encoded data (TIA/EIA-136-420) *)
OMX_AUDIO_CodingTDMAEFR = 12; (* Any variant of TDMA Enhanced Fullrate encoded data (TIA/EIA-136-410) *)
OMX_AUDIO_CodingQCELP8 = 13; (* Any variant of QCELP 8kbps encoded data *)
OMX_AUDIO_CodingQCELP13 = 14; (* Any variant of QCELP 13kbps encoded data *)
OMX_AUDIO_CodingEVRC = 15; (* Any variant of EVRC encoded data *)
OMX_AUDIO_CodingSMV = 16; (* Any variant of SMV encoded data *)
OMX_AUDIO_CodingG711 = 17; (* Any variant of G.711 encoded data *)
OMX_AUDIO_CodingG723 = 18; (* Any variant of G.723 dot 1 encoded data *)
OMX_AUDIO_CodingG726 = 19; (* Any variant of G.726 encoded data *)
OMX_AUDIO_CodingG729 = 20; (* Any variant of G.729 encoded data *)
OMX_AUDIO_CodingAAC = 21; (* Any variant of AAC encoded data *)
OMX_AUDIO_CodingMP3 = 22; (* Any variant of MP3 encoded data *)
OMX_AUDIO_CodingSBC = 23; (* Any variant of SBC encoded data *)
OMX_AUDIO_CodingVORBIS = 24; (* Any variant of VORBIS encoded data *)
OMX_AUDIO_CodingWMA = 25; (* Any variant of WMA encoded data *)
OMX_AUDIO_CodingRA = 26; (* Any variant of RA encoded data *)
OMX_AUDIO_CodingMIDI = 27; (* Any variant of MIDI encoded data *)
OMX_AUDIO_CodingKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_AUDIO_CodingVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_AUDIO_CodingMax = $7FFFFFFF;
OMX_AUDIO_PCMModeLinear = 0; (* Linear PCM encoded data *)
OMX_AUDIO_PCMModeALaw = 1; (* A law PCM encoded data (G.711) *)
OMX_AUDIO_PCMModeMULaw = 2; (* Mu law PCM encoded data (G.711) *)
OMX_AUDIO_PCMModeKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_AUDIO_PCMModeVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_AUDIO_PCMModeMax = $7FFFFFFF;
OMX_AUDIO_ChannelNone = $0; (* Unused or empty *)
OMX_AUDIO_ChannelLF = $1; (* Left front *)
OMX_AUDIO_ChannelRF = $2; (* Right front *)
OMX_AUDIO_ChannelCF = $3; (* Center front *)
OMX_AUDIO_ChannelLS = $4; (* Left surround *)
OMX_AUDIO_ChannelRS = $5; (* Right surround *)
OMX_AUDIO_ChannelLFE = $6; (* Low frequency effects *)
OMX_AUDIO_ChannelCS = $7; (* Back surround *)
OMX_AUDIO_ChannelLR = $8; (* Left rear. *)
OMX_AUDIO_ChannelRR = $9; (* Right rear. *)
OMX_AUDIO_ChannelKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_AUDIO_ChannelVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_AUDIO_ChannelMax = $7FFFFFFF;
OMX_AUDIO_MAXCHANNELS = 16; (* maximum number distinct audio channels that a buffer may contain *)
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 = $7FFFFFFF;
OMX_DISPLAY_MODE_FILL = 0;
OMX_DISPLAY_MODE_LETTERBOX = 1;
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 = $7FFFFFFF;
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 = $10;
OMX_DISPLAY_SET_MODE = $20;
OMX_DISPLAY_SET_PIXEL = $40;
OMX_DISPLAY_SET_NOASPECT = $80;
OMX_DISPLAY_SET_LAYER = $100;
OMX_DISPLAY_SET_COPYPROTECT = $200;
OMX_DISPLAY_SET_ALPHA = $400;
OMX_DISPLAY_SET_DUMMY = $7FFFFFFF;
OMX_SOURCE_WHITE = 0;
OMX_SOURCE_BLACK = 1;
OMX_SOURCE_DIAGONAL = 2;
OMX_SOURCE_NOISE = 3;
OMX_SOURCE_RANDOM = 4;
OMX_SOURCE_COLOUR = 5;
OMX_SOURCE_BLOCKS = 6;
OMX_SOURCE_SWIRLY = 7;
OMX_SOURCE_DUMMY = $7FFFFFFF;
OMX_RESIZE_NONE = 0;
OMX_RESIZE_CROP = 1;
OMX_RESIZE_BOX = 2;
OMX_RESIZE_BYTES = 3;
OMX_RESIZE_DUMMY = $7FFFFFFF;
OMX_PLAYMODE_NORMAL = 0;
OMX_PLAYMODE_FF = 1;
OMX_PLAYMODE_REW = 2;
OMX_PLAYMODE_DUMMY = $7FFFFFFF;
OMX_DELIVERYFORMAT_STREAM = 0;
OMX_DELIVERYFORMAT_SINGLE_PACKET = 1;
OMX_DELIVERYFORMAT_DUMMY = $7FFFFFFF;
OMX_AUDIOMONOTRACKOPERATIONS_NOP = 0;
OMX_AUDIOMONOTRACKOPERATIONS_L_TO_R = 1;
OMX_AUDIOMONOTRACKOPERATIONS_R_TO_L = 2;
OMX_AUDIOMONOTRACKOPERATIONS_DUMMY = $7FFFFFFF;
OMX_CAMERAIMAGEPOOLINPUTMODE_ONEPOOL = 0;
OMX_CAMERAIMAGEPOOLINPUTMODE_TWOPOOLS = 1;
OMX_COMMONFLICKERCANCEL_OFF = 0;
OMX_COMMONFLICKERCANCEL_AUTO = 1;
OMX_COMMONFLICKERCANCEL_50 = 2;
OMX_COMMONFLICKERCANCEL_60 = 3;
OMX_COMMONFLICKERCANCEL_DUMMY = $7FFFFFFF;
OMX_RedEyeRemovalNone = 0;
OMX_RedEyeRemovalOn = 1;
OMX_RedEyeRemovalAuto = 2;
OMX_RedEyeRemovalKhronosExtensions = $6F000000;
OMX_RedEyeRemovalVendorStartUnused = $7F000000;
OMX_RedEyeRemovalSimple = $7F000001;
OMX_RedEyeRemovalMax = $7FFFFFFF;
OMX_FaceDetectionControlNone = 0;
OMX_FaceDetectionControlOn = 1;
OMX_FaceDetectionControlKhronosExtensions = $6F000000;
OMX_FaceDetectionControlVendorStartUnused = $7F000000;
OMX_FaceDetectionControlMax = $7FFFFFFF;
OMX_FaceRegionFlagsNone = 0;
OMX_FaceRegionFlagsBlink = 1;
OMX_FaceRegionFlagsSmile = 2;
OMX_FaceRegionFlagsKhronosExtensions = $6F000000;
OMX_FaceRegionFlagsVendorStartUnused = $7F000000;
OMX_FaceRegionFlagsMax = $7FFFFFFF;
OMX_InterlaceProgressive = 0;
OMX_InterlaceFieldSingleUpperFirst = 1;
OMX_InterlaceFieldSingleLowerFirst = 2;
OMX_InterlaceFieldsInterleavedUpperFirst = 3;
OMX_InterlaceFieldsInterleavedLowerFirst = 4;
OMX_InterlaceMixed = 5;
OMX_InterlaceKhronosExtensions = $6F000000;
OMX_InterlaceVendorStartUnused = $7F000000;
OMX_InterlaceMax = $7FFFFFFF;
OMX_AFAssistAuto = 0;
OMX_AFAssistOn = 1;
OMX_AFAssistOff = 2;
OMX_AFAssistTorch = 3;
OMX_AFAssistKhronosExtensions = $6F000000;
OMX_AFAssistVendorStartUnused = $7F000000;
OMX_AFAssistMax = $7FFFFFFF;
OMX_PrivacyIndicatorOff = 0;
OMX_PrivacyIndicatorOn = 1;
OMX_PrivacyIndicatorForceOn = 2;
OMX_PrivacyIndicatorKhronosExtensions = $6F000000;
OMX_PrivacyIndicatorVendorStartUnused = $7F000000;
OMX_PrivacyIndicatorMax = $7FFFFFFF;
OMX_CameraFlashDefault = 0;
OMX_CameraFlashXenon = 1;
OMX_CameraFlashLED = 2;
OMX_CameraFlashNone = 3;
OMX_CameraFlashKhronosExtensions = $6F000000;
OMX_CameraFlashVendorStartUnused = $7F000000;
OMX_CameraFlashMax = $7FFFFFFF;
OMX_CameraFlashConfigSyncFrontSlow = 0;
OMX_CameraFlashConfigSyncRearSlow = 1;
OMX_CameraFlashConfigSyncFrontFast = 2;
OMX_CameraFlashConfigSyncKhronosExtensions = $6F000000;
OMX_CameraFlashConfigSyncVendorStartUnused = $7F000000;
OMX_CameraFlashConfigSyncMax = $7FFFFFFF;
OMX_PixelValueRangeUnspecified = 0;
OMX_PixelValueRangeITU_R_BT601 = 1;
OMX_PixelValueRangeFull8Bit = 2;
OMX_PixelValueRangeKhronosExtensions = $6F000000;
OMX_PixelValueRangeVendorStartUnused = $7F000000;
OMX_PixelValueRangeMax = $7FFFFFFF;
OMX_CameraDisableAlgorithmFacetracking = 0;
OMX_CameraDisableAlgorithmRedEyeReduction = 1;
OMX_CameraDisableAlgorithmVideoStabilisation = 2;
OMX_CameraDisableAlgorithmWriteRaw = 3;
OMX_CameraDisableAlgorithmVideoDenoise = 4;
OMX_CameraDisableAlgorithmStillsDenoise = 5;
OMX_CameraDisableAlgorithmAntiShake = 6;
OMX_CameraDisableAlgorithmImageEffects = 7;
OMX_CameraDisableAlgorithmDarkSubtract = 8;
OMX_CameraDisableAlgorithmDynamicRangeExpansion = 9;
OMX_CameraDisableAlgorithmFaceRecognition = 10;
OMX_CameraDisableAlgorithmFaceBeautification = 11;
OMX_CameraDisableAlgorithmSceneDetection = 12;
OMX_CameraDisableAlgorithmHighDynamicRange = 13;
OMX_CameraDisableAlgorithmKhronosExtensions = $6F000000;
OMX_CameraDisableAlgorithmVendorStartUnused = $7F000000;
OMX_CameraDisableAlgorithmMax = $7FFFFFFF;
OMX_CameraUseCaseAuto = 0;
OMX_CameraUseCaseVideo = 1;
OMX_CameraUseCaseStills = 2;
OMX_CameraUseCaseKhronosExtensions = $6F000000;
OMX_CameraUseCaseVendorStartUnused = $7F000000;
OMX_CameraUseCaseMax = $7FFFFFFF;
OMX_CameraFeaturesShutterUnknown = 0;
OMX_CameraFeaturesShutterNotPresent = 1;
OMX_CameraFeaturesShutterPresent = 2;
OMX_CameraFeaturesShutterKhronosExtensions = $6F000000;
OMX_CameraFeaturesShutterVendorStartUnused = $7F000000;
OMX_CameraFeaturesShutterMax = $7FFFFFFF;
OMX_FocusRegionNormal = 0;
OMX_FocusRegionFace = 1;
OMX_FocusRegionMax = 2;
OMX_DynRangeExpOff = 0;
OMX_DynRangeExpLow = 1;
OMX_DynRangeExpMedium = 2;
OMX_DynRangeExpHigh = 3;
OMX_DynRangeExpKhronosExtensions = $6F000000;
OMX_DynRangeExpVendorStartUnused = $7F000000;
OMX_DynRangeExpMax = $7FFFFFFF;
OMX_BrcmThreadAffinityCPU0 = 0;
OMX_BrcmThreadAffinityCPU1 = 1;
OMX_BrcmThreadAffinityMax = $7FFFFFFF;
OMX_SceneDetectUnknown = 0;
OMX_SceneDetectLandscape = 1;
OMX_SceneDetectPortrait = 2;
OMX_SceneDetectMacro = 3;
OMX_SceneDetectNight = 4;
OMX_SceneDetectPortraitNight = 5;
OMX_SceneDetectBacklit = 6;
OMX_SceneDetectPortraitBacklit = 7;
OMX_SceneDetectSunset = 8;
OMX_SceneDetectBeach = 9;
OMX_SceneDetectSnow = 10;
OMX_SceneDetectFireworks = 11;
OMX_SceneDetectMax = $7FFFFFFF;
OMX_IndexKhronosExtensions = $6F000000; // check
OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + $00600000;
OMX_IndexParamNalStreamFormatSupported = OMX_IndexExtVideoStartUnused + 1;
OMX_IndexParamNalStreamFormat = OMX_IndexExtVideoStartUnused + 2;
OMX_IndexParamNalStreamFormatSelect = OMX_IndexExtVideoStartUnused + 3;
OMX_IndexExtMax = $7FFFFFFF;
OMX_NaluFormatStartCodes = 1;
OMX_NaluFormatOneNaluPerBuffer = 2;
OMX_NaluFormatOneByteInterleaveLength = 4;
OMX_NaluFormatTwoByteInterleaveLength = 8;
OMX_NaluFormatFourByteInterleaveLength = 16;
OMX_NaluFormatCodingMax = $7FFFFFFF;
OMX_StaticBoxNormal = 0;
OMX_StaticBoxPrimaryFaceAfIdle = 1;
OMX_StaticBoxNonPrimaryFaceAfIdle = 2;
OMX_StaticBoxFocusRegionAfIdle = 3;
OMX_StaticBoxPrimaryFaceAfSuccess = 4;
OMX_StaticBoxNonPrimaryFaceAfSuccess = 5;
OMX_StaticBoxFocusRegionAfSuccess = 6;
OMX_StaticBoxPrimaryFaceAfFail = 7;
OMX_StaticBoxNonPrimaryFaceAfFail = 8;
OMX_StaticBoxFocusRegionAfFail = 9;
OMX_StaticBoxMax = 10;
OMX_CameraCaptureModeWaitForCaptureEnd = 0;
OMX_CameraCaptureModeWaitForCaptureEndAndUsePreviousInputImage = 1;
OMX_CameraCaptureModeResumeViewfinderImmediately = 2;
OMX_CameraCaptureModeMax = 3;
OMX_DrmEncryptionNone = 0;
OMX_DrmEncryptionHdcp2 = 1;
OMX_DrmEncryptionKhronosExtensions = $6F000000;
OMX_DrmEncryptionVendorStartUnused = $7F000000;
OMX_DrmEncryptionRangeMax = $7FFFFFFF;
OMX_TimestampModeZero = 0;
OMX_TimestampModeRawStc = 1;
OMX_TimestampModeResetStc = 2;
OMX_TimestampModeKhronosExtensions = $6F000000;
OMX_TimestampModeVendorStartUnused = $7F000000;
OMX_TimestampModeMax = $7FFFFFFF;
OMX_COLOR_FormatUnused = 0;
OMX_COLOR_FormatMonochrome = 1;
OMX_COLOR_Format8bitRGB332 = 2;
OMX_COLOR_Format12bitRGB444 = 3;
OMX_COLOR_Format16bitARGB4444 = 4;
OMX_COLOR_Format16bitARGB1555 = 5;
OMX_COLOR_Format16bitRGB565 = 6;
OMX_COLOR_Format16bitBGR565 = 7;
OMX_COLOR_Format18bitRGB666 = 8;
OMX_COLOR_Format18bitARGB1665 = 9;
OMX_COLOR_Format19bitARGB1666 = 10;
OMX_COLOR_Format24bitRGB888 = 11;
OMX_COLOR_Format24bitBGR888 = 12;
OMX_COLOR_Format24bitARGB1887 = 13;
OMX_COLOR_Format25bitARGB1888 = 14;
OMX_COLOR_Format32bitBGRA8888 = 15;
OMX_COLOR_Format32bitARGB8888 = 16;
OMX_COLOR_FormatYUV411Planar = 17;
OMX_COLOR_FormatYUV411PackedPlanar = 18;
OMX_COLOR_FormatYUV420Planar = 19;
OMX_COLOR_FormatYUV420PackedPlanar = 20;
OMX_COLOR_FormatYUV420SemiPlanar = 21;
OMX_COLOR_FormatYUV422Planar = 22;
OMX_COLOR_FormatYUV422PackedPlanar = 23;
OMX_COLOR_FormatYUV422SemiPlanar = 24;
OMX_COLOR_FormatYCbYCr = 25;
OMX_COLOR_FormatYCrYCb = 26;
OMX_COLOR_FormatCbYCrY = 27;
OMX_COLOR_FormatCrYCbY = 28;
OMX_COLOR_FormatYUV444Interleaved = 29;
OMX_COLOR_FormatRawBayer8bit = 30;
OMX_COLOR_FormatRawBayer10bit = 31;
OMX_COLOR_FormatRawBayer8bitcompressed = 32;
OMX_COLOR_FormatL2 = 33;
OMX_COLOR_FormatL4 = 34;
OMX_COLOR_FormatL8 = 35;
OMX_COLOR_FormatL16 = 36;
OMX_COLOR_FormatL24 = 37;
OMX_COLOR_FormatL32 = 38;
OMX_COLOR_FormatYUV420PackedSemiPlanar = 39;
OMX_COLOR_FormatYUV422PackedSemiPlanar = 40;
OMX_COLOR_Format18BitBGR666 = 41;
OMX_COLOR_Format24BitARGB6666 = 42;
OMX_COLOR_Format24BitABGR6666 = 43;
OMX_COLOR_FormatKhronosExtensions = $6F000000; (* Reserved region for introducing Khronos Standard Extensions *)
OMX_COLOR_FormatVendorStartUnused = $7F000000; (* Reserved region for introducing Vendor Extensions *)
OMX_COLOR_Format32bitABGR8888 = $7F000001;
OMX_COLOR_Format8bitPalette = $7F000002;
OMX_COLOR_FormatYUVUV128 = $7F000003;
OMX_COLOR_FormatRawBayer12bit = $7F000004;
OMX_COLOR_FormatBRCMEGL = $7F000005;
OMX_COLOR_FormatBRCMOpaque = $7F000006;
OMX_COLOR_FormatYVU420PackedPlanar = $7F000007;
OMX_COLOR_FormatYVU420PackedSemiPlanar = $7F000008;
OMX_COLOR_FormatRawBayer16bit = $7F000009;
OMX_COLOR_FormatYUV420_16PackedPlanar = $7F00000A; (* YUV420, 16bit/component *)
OMX_COLOR_FormatYUV420_10PackedPlanar = $7F00000B; (* YUV420, 10bit/component as least sig 10bits of 16 bit words *)
OMX_COLOR_FormatYUVUV64_10 = $7F00000C; (* YUVUV, 10bit/component as least sig 10bits of 16 bit words *)
OMX_COLOR_FormatMax = $7FFFFFFF;
OMX_COLORSPACE_UNKNOWN = 0;
OMX_COLORSPACE_JPEG_JFIF = 1;
OMX_COLORSPACE_ITU_R_BT601 = 2;
OMX_COLORSPACE_ITU_R_BT709 = 3;
OMX_COLORSPACE_FCC = 4;
OMX_COLORSPACE_SMPTE240M = 5;
OMX_COLORSPACE_BT470_2_M = 6;
OMX_COLORSPACE_BT470_2_BG = 7;
OMX_COLORSPACE_JFIF_Y16_255 = 8;
OMX_COLORSPACE_MAX = $7FFFFFFF;
OMX_NotCapturing = 0;
OMX_CaptureStarted = 1;
OMX_CaptureComplete = 2;
OMX_CaptureMax = $7FFFFFFF;
OMX_STEREOSCOPIC_NONE = 0;
OMX_STEREOSCOPIC_SIDEBYSIDE = 1;
OMX_STEREOSCOPIC_TOPBOTTOM = 2;
OMX_STEREOSCOPIC_MAX = $7FFFFFFF;
OMX_CAMERAINTERFACE_CSI = 0;
OMX_CAMERAINTERFACE_CCP2 = 1;
OMX_CAMERAINTERFACE_CPI = 2;
OMX_CAMERAINTERFACE_MAX = $7FFFFFFF;
OMX_CAMERACLOCKINGMODE_STROBE = 0;
OMX_CAMERACLOCKINGMODE_CLOCK = 1;
OMX_CAMERACLOCKINGMODE_MAX = $7FFFFFFF;
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 = $7FFFFFFF;
OMX_CAMERARXENCODE_NONE = 0;
OMX_CAMERARXENCODE_DPCM10TO8 = 1;
OMX_CAMERARXENCODE_DPCM12TO8 = 2;
OMX_CAMERARXENCODE_DPCM14TO8 = 3;
OMX_CAMERARXENCODE_MAX = $7FFFFFFF;
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 = $7FFFFFFF;
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 = $7FFFFFFF;
OMX_BayerOrderRGGB = 0;
OMX_BayerOrderGBRG = 1;
OMX_BayerOrderBGGR = 2;
OMX_BayerOrderGRBG = 3;
OMX_BayerOrderMax = $7FFFFFFF;
// OMX_INDEX_TYPE
OMX_IndexComponentStartUnused = $01000000;
OMX_IndexParamPriorityMgmt = $01000001; (* reference: OMX_PRIORITYMGMTTYPE *)
OMX_IndexParamAudioInit = $01000002; (* reference: OMX_PORT_PARAM_TYPE *)
OMX_IndexParamImageInit = $01000003; (* reference: OMX_PORT_PARAM_TYPE *)
OMX_IndexParamVideoInit = $01000004; (* reference: OMX_PORT_PARAM_TYPE *)
OMX_IndexParamOtherInit = $01000005; (* reference: OMX_PORT_PARAM_TYPE *)
OMX_IndexParamNumAvailableStreams = $01000006; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamActiveStream = $01000007; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamSuspensionPolicy = $01000008; (* reference: OMX_PARAM_SUSPENSIONPOLICYTYPE *)
OMX_IndexParamComponentSuspended = $01000009; (* reference: OMX_PARAM_SUSPENSIONTYPE *)
OMX_IndexConfigCapturing = $0100000A; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigCaptureMode = $0100000B; (* reference: OMX_CONFIG_CAPTUREMODETYPE *)
OMX_IndexAutoPauseAfterCapture = $0100000C; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexParamContentURI = $0100000D; (* reference: OMX_PARAM_CONTENTURITYPE *)
OMX_IndexParamCustomContentPipe = $0100000E; (* reference: OMX_PARAM_CONTENTPIPETYPE *)
OMX_IndexParamDisableResourceConcealment = $0100000F; (* reference: OMX_RESOURCECONCEALMENTTYPE *)
OMX_IndexConfigMetadataItemCount = $01000010; (* reference: OMX_CONFIG_METADATAITEMCOUNTTYPE *)
OMX_IndexConfigContainerNodeCount = $01000011; (* reference: OMX_CONFIG_CONTAINERNODECOUNTTYPE *)
OMX_IndexConfigMetadataItem = $01000012; (* reference: OMX_CONFIG_METADATAITEMTYPE *)
OMX_IndexConfigCounterNodeID = $01000013; (* reference: OMX_CONFIG_CONTAINERNODEIDTYPE *)
OMX_IndexParamMetadataFilterType = $01000014; (* reference: OMX_PARAM_METADATAFILTERTYPE *)
OMX_IndexParamMetadataKeyFilter = $01000015; (* reference: OMX_PARAM_METADATAFILTERTYPE *)
OMX_IndexConfigPriorityMgmt = $01000016; (* reference: OMX_PRIORITYMGMTTYPE *)
OMX_IndexParamStandardComponentRole = $01000017; (* reference: OMX_PARAM_COMPONENTROLETYPE *)
OMX_IndexPortStartUnused = $02000000;
OMX_IndexParamPortDefinition = $02000001; (* reference: OMX_PARAM_PORTDEFINITIONTYPE *)
OMX_IndexParamCompBufferSupplier = $02000002; (* reference: OMX_PARAM_BUFFERSUPPLIERTYPE *)
OMX_IndexReservedStartUnused = $03000000;
(* Audio parameters and configurations *)
OMX_IndexAudioStartUnused = $04000000;
OMX_IndexParamAudioPortFormat = $04000001; (* reference: OMX_AUDIO_PARAM_PORTFORMATTYPE *)
OMX_IndexParamAudioPcm = $04000002; (* reference: OMX_AUDIO_PARAM_PCMMODETYPE *)
OMX_IndexParamAudioAac = $04000003; (* reference: OMX_AUDIO_PARAM_AACPROFILETYPE *)
OMX_IndexParamAudioRa = $04000004; (* reference: OMX_AUDIO_PARAM_RATYPE *)
OMX_IndexParamAudioMp3 = $04000005; (* reference: OMX_AUDIO_PARAM_MP3TYPE *)
OMX_IndexParamAudioAdpcm = $04000006; (* reference: OMX_AUDIO_PARAM_ADPCMTYPE *)
OMX_IndexParamAudioG723 = $04000007; (* reference: OMX_AUDIO_PARAM_G723TYPE *)
OMX_IndexParamAudioG729 = $04000008; (* reference: OMX_AUDIO_PARAM_G729TYPE *)
OMX_IndexParamAudioAmr = $04000009; (* reference: OMX_AUDIO_PARAM_AMRTYPE *)
OMX_IndexParamAudioWma = $0400000A; (* reference: OMX_AUDIO_PARAM_WMATYPE *)
OMX_IndexParamAudioSbc = $0400000B; (* reference: OMX_AUDIO_PARAM_SBCTYPE *)
OMX_IndexParamAudioMidi = $0400000C; (* reference: OMX_AUDIO_PARAM_MIDITYPE *)
OMX_IndexParamAudioGsm_FR = $0400000D; (* reference: OMX_AUDIO_PARAM_GSMFRTYPE *)
OMX_IndexParamAudioMidiLoadUserSound = $0400000E; (* reference: OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE *)
OMX_IndexParamAudioG726 = $0400000F; (* reference: OMX_AUDIO_PARAM_G726TYPE *)
OMX_IndexParamAudioGsm_EFR = $04000010; (* reference: OMX_AUDIO_PARAM_GSMEFRTYPE *)
OMX_IndexParamAudioGsm_HR = $04000011; (* reference: OMX_AUDIO_PARAM_GSMHRTYPE *)
OMX_IndexParamAudioPdc_FR = $04000012; (* reference: OMX_AUDIO_PARAM_PDCFRTYPE *)
OMX_IndexParamAudioPdc_EFR = $04000013; (* reference: OMX_AUDIO_PARAM_PDCEFRTYPE *)
OMX_IndexParamAudioPdc_HR = $04000014; (* reference: OMX_AUDIO_PARAM_PDCHRTYPE *)
OMX_IndexParamAudioTdma_FR = $04000015; (* reference: OMX_AUDIO_PARAM_TDMAFRTYPE *)
OMX_IndexParamAudioTdma_EFR = $04000016; (* reference: OMX_AUDIO_PARAM_TDMAEFRTYPE *)
OMX_IndexParamAudioQcelp8 = $04000017; (* reference: OMX_AUDIO_PARAM_QCELP8TYPE *)
OMX_IndexParamAudioQcelp13 = $04000018; (* reference: OMX_AUDIO_PARAM_QCELP13TYPE *)
OMX_IndexParamAudioEvrc = $04000019; (* reference: OMX_AUDIO_PARAM_EVRCTYPE *)
OMX_IndexParamAudioSmv = $0400001A; (* reference: OMX_AUDIO_PARAM_SMVTYPE *)
OMX_IndexParamAudioVorbis = $0400001B; (* reference: OMX_AUDIO_PARAM_VORBISTYPE *)
OMX_IndexConfigAudioMidiImmediateEvent = $0400001C; (* reference: OMX_AUDIO_CONFIG_MIDIIMMEDIATEEVENTTYPE *)
OMX_IndexConfigAudioMidiControl = $0400001D; (* reference: OMX_AUDIO_CONFIG_MIDICONTROLTYPE *)
OMX_IndexConfigAudioMidiSoundBankProgram = $0400001E; (* reference: OMX_AUDIO_CONFIG_MIDISOUNDBANKPROGRAMTYPE *)
OMX_IndexConfigAudioMidiStatus = $0400001F; (* reference: OMX_AUDIO_CONFIG_MIDISTATUSTYPE *)
OMX_IndexConfigAudioMidiMetaEvent = $04000020; (* reference: OMX_AUDIO_CONFIG_MIDIMETAEVENTTYPE *)
OMX_IndexConfigAudioMidiMetaEventData = $04000021; (* reference: OMX_AUDIO_CONFIG_MIDIMETAEVENTDATATYPE *)
OMX_IndexConfigAudioVolume = $04000022; (* reference: OMX_AUDIO_CONFIG_VOLUMETYPE *)
OMX_IndexConfigAudioBalance = $04000023; (* reference: OMX_AUDIO_CONFIG_BALANCETYPE *)
OMX_IndexConfigAudioChannelMute = $04000024; (* reference: OMX_AUDIO_CONFIG_CHANNELMUTETYPE *)
OMX_IndexConfigAudioMute = $04000025; (* reference: OMX_AUDIO_CONFIG_MUTETYPE *)
OMX_IndexConfigAudioLoudness = $04000026; (* reference: OMX_AUDIO_CONFIG_LOUDNESSTYPE *)
OMX_IndexConfigAudioEchoCancelation = $04000027; (* reference: OMX_AUDIO_CONFIG_ECHOCANCELATIONTYPE *)
OMX_IndexConfigAudioNoiseReduction = $04000028; (* reference: OMX_AUDIO_CONFIG_NOISEREDUCTIONTYPE *)
OMX_IndexConfigAudioBass = $04000029; (* reference: OMX_AUDIO_CONFIG_BASSTYPE *)
OMX_IndexConfigAudioTreble = $0400002A; (* reference: OMX_AUDIO_CONFIG_TREBLETYPE *)
OMX_IndexConfigAudioStereoWidening = $0400002B; (* reference: OMX_AUDIO_CONFIG_STEREOWIDENINGTYPE *)
OMX_IndexConfigAudioChorus = $0400002C; (* reference: OMX_AUDIO_CONFIG_CHORUSTYPE *)
OMX_IndexConfigAudioEqualizer = $0400002D; (* reference: OMX_AUDIO_CONFIG_EQUALIZERTYPE *)
OMX_IndexConfigAudioReverberation = $0400002E; (* reference: OMX_AUDIO_CONFIG_REVERBERATIONTYPE *)
OMX_IndexConfigAudioChannelVolume = $0400002F; (* reference: OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE *)
(* Image specific parameters and configurations *)
OMX_IndexImageStartUnused = $05000000;
OMX_IndexParamImagePortFormat = $05000001; (* reference: OMX_IMAGE_PARAM_PORTFORMATTYPE *)
OMX_IndexParamFlashControl = $05000002; (* reference: OMX_IMAGE_PARAM_FLASHCONTROLTYPE *)
OMX_IndexConfigFocusControl = $05000003; (* reference: OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE *)
OMX_IndexParamQFactor = $05000004; (* reference: OMX_IMAGE_PARAM_QFACTORTYPE *)
OMX_IndexParamQuantizationTable = $05000005; (* reference: OMX_IMAGE_PARAM_QUANTIZATIONTABLETYPE *)
OMX_IndexParamHuffmanTable = $05000006; (* reference: OMX_IMAGE_PARAM_HUFFMANTTABLETYPE *)
OMX_IndexConfigFlashControl = $05000007; (* reference: OMX_IMAGE_PARAM_FLASHCONTROLTYPE *)
(* Video specific parameters and configurations *)
OMX_IndexVideoStartUnused = $06000000;
OMX_IndexParamVideoPortFormat = $06000001; (* reference: OMX_VIDEO_PARAM_PORTFORMATTYPE *)
OMX_IndexParamVideoQuantization = $06000002; (* reference: OMX_VIDEO_PARAM_QUANTIZATIONTYPE *)
OMX_IndexParamVideoFastUpdate = $06000003; (* reference: OMX_VIDEO_PARAM_VIDEOFASTUPDATETYPE *)
OMX_IndexParamVideoBitrate = $06000004; (* reference: OMX_VIDEO_PARAM_BITRATETYPE *)
OMX_IndexParamVideoMotionVector = $06000005; (* reference: OMX_VIDEO_PARAM_MOTIONVECTORTYPE *)
OMX_IndexParamVideoIntraRefresh = $06000006; (* reference: OMX_VIDEO_PARAM_INTRAREFRESHTYPE *)
OMX_IndexParamVideoErrorCorrection = $06000007; (* reference: OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE *)
OMX_IndexParamVideoVBSMC = $06000008; (* reference: OMX_VIDEO_PARAM_VBSMCTYPE *)
OMX_IndexParamVideoMpeg2 = $06000009; (* reference: OMX_VIDEO_PARAM_MPEG2TYPE *)
OMX_IndexParamVideoMpeg4 = $0600000A; (* reference: OMX_VIDEO_PARAM_MPEG4TYPE *)
OMX_IndexParamVideoWmv = $0600000B; (* reference: OMX_VIDEO_PARAM_WMVTYPE *)
OMX_IndexParamVideoRv = $0600000C; (* reference: OMX_VIDEO_PARAM_RVTYPE *)
OMX_IndexParamVideoAvc = $0600000D; (* reference: OMX_VIDEO_PARAM_AVCTYPE *)
OMX_IndexParamVideoH263 = $0600000E; (* reference: OMX_VIDEO_PARAM_H263TYPE *)
OMX_IndexParamVideoProfileLevelQuerySupported = $0600000F; (* reference: OMX_VIDEO_PARAM_PROFILELEVELTYPE *)
OMX_IndexParamVideoProfileLevelCurrent = $06000010; (* reference: OMX_VIDEO_PARAM_PROFILELEVELTYPE *)
OMX_IndexConfigVideoBitrate = $06000011; (* reference: OMX_VIDEO_CONFIG_BITRATETYPE *)
OMX_IndexConfigVideoFramerate = $06000012; (* reference: OMX_CONFIG_FRAMERATETYPE *)
OMX_IndexConfigVideoIntraVOPRefresh = $06000013; (* reference: OMX_CONFIG_INTRAREFRESHVOPTYPE *)
OMX_IndexConfigVideoIntraMBRefresh = $06000014; (* reference: OMX_CONFIG_MACROBLOCKERRORMAPTYPE *)
OMX_IndexConfigVideoMBErrorReporting = $06000015; (* reference: OMX_CONFIG_MBERRORREPORTINGTYPE *)
OMX_IndexParamVideoMacroblocksPerFrame = $06000016; (* reference: OMX_PARAM_MACROBLOCKSTYPE *)
OMX_IndexConfigVideoMacroBlockErrorMap = $06000017; (* reference: OMX_CONFIG_MACROBLOCKERRORMAPTYPE *)
OMX_IndexParamVideoSliceFMO = $06000018; (* reference: OMX_VIDEO_PARAM_AVCSLICEFMO *)
OMX_IndexConfigVideoAVCIntraPeriod = $06000019; (* reference: OMX_VIDEO_CONFIG_AVCINTRAPERIOD *)
OMX_IndexConfigVideoNalSize = $0600001A; (* reference: OMX_VIDEO_CONFIG_NALSIZE *)
(* Image & Video common Configurations *)
OMX_IndexCommonStartUnused = $07000000;
OMX_IndexParamCommonDeblocking = $07000001; (* reference: OMX_PARAM_DEBLOCKINGTYPE *)
OMX_IndexParamCommonSensorMode = $07000002; (* reference: OMX_PARAM_SENSORMODETYPE *)
OMX_IndexParamCommonInterleave = $07000003; (* reference: OMX_PARAM_INTERLEAVETYPE *)
OMX_IndexConfigCommonColorFormatConversion = $07000004; (* reference: OMX_CONFIG_COLORCONVERSIONTYPE *)
OMX_IndexConfigCommonScale = $07000005; (* reference: OMX_CONFIG_SCALEFACTORTYPE *)
OMX_IndexConfigCommonImageFilter = $07000006; (* reference: OMX_CONFIG_IMAGEFILTERTYPE *)
OMX_IndexConfigCommonColorEnhancement = $07000007; (* reference: OMX_CONFIG_COLORENHANCEMENTTYPE *)
OMX_IndexConfigCommonColorKey = $07000008; (* reference: OMX_CONFIG_COLORKEYTYPE *)
OMX_IndexConfigCommonColorBlend = $07000009; (* reference: OMX_CONFIG_COLORBLENDTYPE *)
OMX_IndexConfigCommonFrameStabilisation = $0700000A; (* reference: OMX_CONFIG_FRAMESTABTYPE *)
OMX_IndexConfigCommonRotate = $0700000B; (* reference: OMX_CONFIG_ROTATIONTYPE *)
OMX_IndexConfigCommonMirror = $0700000C; (* reference: OMX_CONFIG_MIRRORTYPE *)
OMX_IndexConfigCommonOutputPosition = $0700000D; (* reference: OMX_CONFIG_POINTTYPE *)
OMX_IndexConfigCommonInputCrop = $0700000E; (* reference: OMX_CONFIG_RECTTYPE *)
OMX_IndexConfigCommonOutputCrop = $0700000F; (* reference: OMX_CONFIG_RECTTYPE *)
OMX_IndexConfigCommonDigitalZoom = $07000010; (* reference: OMX_CONFIG_SCALEFACTORTYPE *)
OMX_IndexConfigCommonOpticalZoom = $07000011; (* reference: OMX_CONFIG_SCALEFACTORTYPE*)
OMX_IndexConfigCommonWhiteBalance = $07000012; (* reference: OMX_CONFIG_WHITEBALCONTROLTYPE *)
OMX_IndexConfigCommonExposure = $07000013; (* reference: OMX_CONFIG_EXPOSURECONTROLTYPE *)
OMX_IndexConfigCommonContrast = $07000014; (* reference: OMX_CONFIG_CONTRASTTYPE *)
OMX_IndexConfigCommonBrightness = $07000015; (* reference: OMX_CONFIG_BRIGHTNESSTYPE *)
OMX_IndexConfigCommonBacklight = $07000016; (* reference: OMX_CONFIG_BACKLIGHTTYPE *)
OMX_IndexConfigCommonGamma = $07000017; (* reference: OMX_CONFIG_GAMMATYPE *)
OMX_IndexConfigCommonSaturation = $07000018; (* reference: OMX_CONFIG_SATURATIONTYPE *)
OMX_IndexConfigCommonLightness = $07000019; (* reference: OMX_CONFIG_LIGHTNESSTYPE *)
OMX_IndexConfigCommonExclusionRect = $0700001A; (* reference: OMX_CONFIG_RECTTYPE *)
OMX_IndexConfigCommonDithering = $0700001B; (* reference: OMX_CONFIG_DITHERTYPE *)
OMX_IndexConfigCommonPlaneBlend = $0700001C; (* reference: OMX_CONFIG_PLANEBLENDTYPE *)
OMX_IndexConfigCommonExposureValue = $0700001D; (* reference: OMX_CONFIG_EXPOSUREVALUETYPE *)
OMX_IndexConfigCommonOutputSize = $0700001E; (* reference: OMX_FRAMESIZETYPE *)
OMX_IndexParamCommonExtraQuantData = $0700001F; (* reference: OMX_OTHER_EXTRADATATYPE *)
OMX_IndexConfigCommonFocusRegion = $07000020; (* reference: OMX_CONFIG_FOCUSREGIONTYPE *)
OMX_IndexConfigCommonFocusStatus = $07000021; (* reference: OMX_PARAM_FOCUSSTATUSTYPE *)
OMX_IndexConfigCommonTransitionEffect = $07000022; (* reference: OMX_CONFIG_TRANSITIONEFFECTTYPE *)
(* Reserved Configuration range *)
OMX_IndexOtherStartUnused = $08000000;
OMX_IndexParamOtherPortFormat = $08000001; (* reference: OMX_OTHER_PARAM_PORTFORMATTYPE *)
OMX_IndexConfigOtherPower = $08000002; (* reference: OMX_OTHER_CONFIG_POWERTYPE *)
OMX_IndexConfigOtherStats = $08000003; (* reference: OMX_OTHER_CONFIG_STATSTYPE *)
(* Reserved Time range *)
OMX_IndexTimeStartUnused = $09000000;
OMX_IndexConfigTimeScale = $09000001; (* reference: OMX_TIME_CONFIG_CLOCKSTATETYPE *)
OMX_IndexConfigTimeClockState = $09000002; (* reference: OMX_TIME_CONFIG_CLOCKSTATETYPE *)
OMX_IndexConfigTimeActiveRefClock = $09000003; (* reference: OMX_TIME_CONFIG_ACTIVEREFCLOCKTYPE *)
OMX_IndexConfigTimeCurrentMediaTime = $09000004; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (read only) *)
OMX_IndexConfigTimeCurrentWallTime = $09000005; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (read only) *)
OMX_IndexConfigTimeCurrentAudioReference = $09000006; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) *)
OMX_IndexConfigTimeCurrentVideoReference = $09000007; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) *)
OMX_IndexConfigTimeMediaTimeRequest = $09000008; (* reference: OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE (write only) *)
OMX_IndexConfigTimeClientStartTime = $09000009; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) *)
OMX_IndexConfigTimePosition = $0900000A; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE *)
OMX_IndexConfigTimeSeekMode = $0900000B; (* reference: OMX_TIME_CONFIG_SEEKMODETYPE *)
OMX_IndexParamMarkComparison = $7F000001; (* reference: OMX_PARAM_MARKCOMPARISONTYPE *)
OMX_IndexParamPortSummary = $7F000002; (* reference: OMX_PARAM_PORTSUMMARYTYPE *)
OMX_IndexParamTunnelStatus = $7F000003; (* reference: OMX_PARAM_TUNNELSTATUSTYPE *)
OMX_IndexParamBrcmRecursionUnsafe = $7F000004; (* reference: OMX_PARAM_BRCMRECURSIONUNSAFETYPE *)
(* used for top-ril communication *)
OMX_IndexParamBufferAddress = $7F000005; (* reference : OMX_PARAM_BUFFERADDRESSTYPE *)
OMX_IndexParamTunnelSetup = $7F000006; (* reference : OMX_PARAM_TUNNELSETUPTYPE *)
OMX_IndexParamBrcmPortEGL = $7F000007; (* reference : OMX_PARAM_BRCMPORTEGLTYPE *)
OMX_IndexParamIdleResourceCount = $7F000008; (* reference : OMX_PARAM_U32TYPE *)
(* used for ril-ril communication *)
OMX_IndexParamImagePoolDisplayFunction = $7F000009; (* reference : OMX_PARAM_IMAGEDISPLAYFUNCTIONTYPE *)
OMX_IndexParamBrcmDataUnit = $7F00000A; (* reference: OMX_PARAM_DATAUNITTYPE *)
OMX_IndexParamCodecConfig = $7F00000B; (* reference: OMX_PARAM_CODECCONFIGTYPE *)
OMX_IndexParamCameraPoolToEncoderFunction = $7F00000C; (* reference : OMX_PARAM_CAMERAPOOLTOENCODERFUNCTIONTYPE *)
OMX_IndexParamCameraStripeFunction = $7F00000D; (* reference : OMX_PARAM_CAMERASTRIPEFUNCTIONTYPE *)
OMX_IndexParamCameraCaptureEventFunction = $7F00000E; (* reference : OMX_PARAM_CAMERACAPTUREEVENTFUNCTIONTYPE *)
(* used for client-ril communication *)
OMX_IndexParamTestInterface = $7F00000F; (* reference : OMX_PARAM_TESTINTERFACETYPE *)
// 0x7f000010
OMX_IndexConfigDisplayRegion = $7F000010; (* reference : OMX_CONFIG_DISPLAYREGIONTYPE *)
OMX_IndexParamSource = $7F000011; (* reference : OMX_PARAM_SOURCETYPE *)
OMX_IndexParamSourceSeed = $7F000012; (* reference : OMX_PARAM_SOURCESEEDTYPE *)
OMX_IndexParamResize = $7F000013; (* reference : OMX_PARAM_RESIZETYPE *)
OMX_IndexConfigVisualisation = $7F000014; (* reference : OMX_CONFIG_VISUALISATIONTYPE *)
OMX_IndexConfigSingleStep = $7F000015; (* reference : OMX_PARAM_U32TYPE *)
OMX_IndexConfigPlayMode = $7F000016; (* reference: OMX_CONFIG_PLAYMODETYPE *)
OMX_IndexParamCameraCamplusId = $7F000017; (* reference : OMX_PARAM_U32TYPE *)
OMX_IndexConfigCommonImageFilterParameters = $7F000018; (* reference : OMX_CONFIG_IMAGEFILTERPARAMSTYPE *)
OMX_IndexConfigTransitionControl = $7F000019; (* reference : OMX_CONFIG_TRANSITIONCONTROLTYPE *)
OMX_IndexConfigPresentationOffset = $7F00001A; (* reference: OMX_TIME_CONFIG_TIMESTAMPTYPE *)
OMX_IndexParamSourceFunctions = $7F00001B; (* reference: OMX_PARAM_STILLSFUNCTIONTYPE *)
OMX_IndexConfigAudioMonoTrackControl = $7F00001C; (* reference : OMX_CONFIG_AUDIOMONOTRACKCONTROLTYPE *)
OMX_IndexParamCameraImagePool = $7F00001D; (* reference : OMX_PARAM_CAMERAIMAGEPOOLTYPE *)
OMX_IndexConfigCameraISPOutputPoolHeight = $7F00001E; (* reference : OMX_PARAM_U32TYPE *)
OMX_IndexParamImagePoolSize = $7F00001F; (* reference: OMX_PARAM_IMAGEPOOLSIZETYPE *)
// 0x7f000020
OMX_IndexParamImagePoolExternal = $7F000020; (* reference: OMX_PARAM_IMAGEPOOLEXTERNALTYPE *)
OMX_IndexParamRUTILFifoInfo = $7F000021; (* reference: OMX_PARAM_RUTILFIFOINFOTYPE*)
OMX_IndexParamILFifoConfig = $7F000022; (* reference: OMX_PARAM_ILFIFOCONFIG *)
OMX_IndexConfigCameraSensorModes = $7F000023; (* reference : OMX_CONFIG_CAMERASENSORMODETYPE *)
OMX_IndexConfigBrcmPortStats = $7F000024; (* reference : OMX_CONFIG_BRCMPORTSTATSTYPE *)
OMX_IndexConfigBrcmPortBufferStats = $7F000025; (* reference : OMX_CONFIG_BRCMPORTBUFFERSTATSTYPE *)
OMX_IndexConfigBrcmCameraStats = $7F000026; (* reference : OMX_CONFIG_BRCMCAMERASTATSTYPE *)
OMX_IndexConfigBrcmIOPerfStats = $7F000027; (* reference : OMX_CONFIG_BRCMIOPERFSTATSTYPE *)
OMX_IndexConfigCommonSharpness = $7F000028; (* reference : OMX_CONFIG_SHARPNESSTYPE *)
OMX_IndexConfigCommonFlickerCancellation = $7F000029; (* reference : OMX_CONFIG_FLICKERCANCELTYPE *)
OMX_IndexParamCameraSwapImagePools = $7F00002A; (* reference : OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexParamCameraSingleBufferCaptureInput = $7F00002B; (* reference : OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigCommonRedEyeRemoval = $7F00002C; (* reference : OMX_CONFIG_REDEYEREMOVALTYPE *)
OMX_IndexConfigCommonFaceDetectionControl = $7F00002D; (* reference : OMX_CONFIG_FACEDETECTIONCONTROLTYPE *)
OMX_IndexConfigCommonFaceDetectionRegion = $7F00002E; (* reference : OMX_CONFIG_FACEDETECTIONREGIONTYPE *)
OMX_IndexConfigCommonInterlace = $7F00002F; (* reference: OMX_CONFIG_INTERLACETYPE *)
// 0x7f000030
OMX_IndexParamISPTunerName = $7F000030; (* reference: OMX_PARAM_CAMERAISPTUNERTYPE *)
OMX_IndexParamCameraDeviceNumber = $7F000031; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamCameraDevicesPresent = $7F000032; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCameraInputFrame = $7F000033; (* reference: OMX_CONFIG_IMAGEPTRTYPE *)
OMX_IndexConfigStillColourDenoiseEnable = $7F000034; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigVideoColourDenoiseEnable = $7F000035; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigAFAssistLight = $7F000036; (* reference: OMX_CONFIG_AFASSISTTYPE *)
OMX_IndexConfigSmartShakeReductionEnable = $7F000037; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigInputCropPercentages = $7F000038; (* reference: OMX_CONFIG_INPUTCROPTYPE *)
OMX_IndexConfigStillsAntiShakeEnable = $7F000039; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigWaitForFocusBeforeCapture = $7F00003A; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigAudioRenderingLatency = $7F00003B; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigDrawBoxAroundFaces = $7F00003C; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexParamCodecRequirements = $7F00003D; (* reference: OMX_PARAM_CODECREQUIREMENTSTYPE *)
OMX_IndexConfigBrcmEGLImageMemHandle = $7F00003E; (* reference: OMX_CONFIG_BRCMEGLIMAGEMEMHANDLETYPE *)
OMX_IndexConfigPrivacyIndicator = $7F00003F; (* reference: OMX_CONFIG_PRIVACYINDICATORTYPE *)
// 0x7f000040
OMX_IndexParamCameraFlashType = $7F000040; (* reference: OMX_PARAM_CAMERAFLASHTYPE *)
OMX_IndexConfigCameraEnableStatsPass = $7F000041; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigCameraFlashConfig = $7F000042; (* reference: OMX_CONFIG_CAMERAFLASHCONFIGTYPE *)
OMX_IndexConfigCaptureRawImageURI = $7F000043; (* reference: OMX_PARAM_CONTENTURITYPE *)
OMX_IndexConfigCameraStripeFuncMinLines = $7F000044; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCameraAlgorithmVersionDeprecated = $7F000045; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCameraIsoReferenceValue = $7F000046; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCameraCaptureAbortsAutoFocus = $7F000047; (*reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigBrcmClockMissCount = $7F000048; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigFlashChargeLevel = $7F000049; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigBrcmVideoEncodedSliceSize = $7F00004A; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigBrcmAudioTrackGaplessPlayback = $7F00004B; (* reference: OMX_CONFIG_BRCMAUDIOTRACKGAPLESSPLAYBACKTYPE *)
OMX_IndexConfigBrcmAudioTrackChangeControl = $7F00004C; (* reference: OMX_CONFIG_BRCMAUDIOTRACKCHANGECONTROLTYPE *)
OMX_IndexParamBrcmPixelAspectRatio = $7F00004D; (* reference: OMX_CONFIG_POINTTYPE *)
OMX_IndexParamBrcmPixelValueRange = $7F00004E; (* reference: OMX_PARAM_BRCMPIXELVALUERANGETYPE *)
OMX_IndexParamCameraDisableAlgorithm = $7F00004F; (* reference: OMX_PARAM_CAMERADISABLEALGORITHMTYPE *)
// 0x7f000050
OMX_IndexConfigBrcmVideoIntraPeriodTime = $7F000050; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigBrcmVideoIntraPeriod = $7F000051; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigBrcmAudioEffectControl = $7F000052; (* reference: OMX_CONFIG_BRCMAUDIOEFFECTCONTROLTYPE *)
OMX_IndexConfigBrcmMinimumProcessingLatency = $7F000053; (* reference: OMX_CONFIG_BRCMMINIMUMPROCESSINGLATENCY *)
OMX_IndexParamBrcmVideoAVCSEIEnable = $7F000054; (* reference: OMX_PARAM_BRCMVIDEOAVCSEIENABLETYPE *)
OMX_IndexParamBrcmAllowMemChange = $7F000055; (* reference: OMX_PARAM_BRCMALLOWMEMCHANGETYPE *)
OMX_IndexConfigBrcmVideoEncoderMBRowsPerSlice = $7F000056; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamCameraAFAssistDeviceNumber_Deprecated = $7F000057; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamCameraPrivacyIndicatorDeviceNumber_Deprecated = $7F000058; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCameraUseCase = $7F000059; (* reference: OMX_CONFIG_CAMERAUSECASETYPE *)
OMX_IndexParamBrcmDisableProprietaryTunnels = $7F00005A; (* reference: OMX_PARAM_BRCMDISABLEPROPRIETARYTUNNELSTYPE *)
OMX_IndexParamBrcmOutputBufferSize = $7F00005B; (* reference: OMX_PARAM_BRCMOUTPUTBUFFERSIZETYPE *)
OMX_IndexParamBrcmRetainMemory = $7F00005C; (* reference: OMX_PARAM_BRCMRETAINMEMORYTYPE *)
OMX_IndexConfigCanFocus_Deprecated = $7F00005D; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexParamBrcmImmutableInput = $7F00005E; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexParamDynamicParameterFile = $7F00005F; (* reference: OMX_PARAM_CONTENTURITYPE *)
// 0x7f000060
OMX_IndexParamUseDynamicParameterFile = $7F000060; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigCameraInfo = $7F000061; (* reference: OMX_CONFIG_CAMERAINFOTYPE *)
OMX_IndexConfigCameraFeatures = $7F000062; (* reference: OMX_CONFIG_CAMERAFEATURESTYPE *)
OMX_IndexConfigRequestCallback = $7F000063; (* reference: OMX_CONFIG_REQUESTCALLBACKTYPE *) // Should be added to the spec as part of IL416c
OMX_IndexConfigBrcmOutputBufferFullCount = $7F000064; (* reference: OMX_PARAM_U32TYPE *)
OMX_IndexConfigCommonFocusRegionXY = $7F000065; (* reference: OMX_CONFIG_FOCUSREGIONXYTYPE *)
OMX_IndexParamBrcmDisableEXIF = $7F000066; (* reference: OMX_CONFIG_BOOLEANTYPE *)
OMX_IndexConfigUserSettingsId = $7F000067; (* reference: OMX_CONFIG_U8TYPE *)
OMX_IndexConfigCameraSettings = $7F000068; (* reference: OMX_CONFIG_CAMERASETTINGSTYPE *)