blob: 1724576ad5cffc41045155bfac6ff2f3b1d7f530 [file] [log] [blame]
Kunter Gultekin203f89a2013-02-06 18:03:47 +02001/*
2 * Copyright (c) 2010 The Khronos Group Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sublicense, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject
10 * to the following conditions:
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 *
22 */
23
24/** @file OMX_IndexExt.h - OpenMax IL version 1.1.2
25 * The OMX_IndexExt header file contains extensions to the definitions
26 * for both applications and components .
27 */
28
29#ifndef OMX_IndexExt_h
30#define OMX_IndexExt_h
31
32#ifdef __cplusplus
33extern "C" {
34#endif /* __cplusplus */
35
36/* Each OMX header shall include all required header files to allow the
37 * header to compile without errors. The includes below are required
38 * for this header file to compile successfully
39 */
40#include <OMX_Index.h>
41
42
43/** Khronos standard extension indices.
44
45This enum lists the current Khronos extension indices to OpenMAX IL.
46*/
47typedef enum OMX_INDEXEXTTYPE {
48
49 /* Component parameters and configurations */
50 OMX_IndexExtComponentStartUnused = OMX_IndexKhronosExtensions + 0x00100000,
51 OMX_IndexConfigCallbackRequest, /**< reference: OMX_CONFIG_CALLBACKREQUESTTYPE */
52 OMX_IndexConfigCommitMode, /**< reference: OMX_CONFIG_COMMITMODETYPE */
53 OMX_IndexConfigCommit, /**< reference: OMX_CONFIG_COMMITTYPE */
54
55 /* Port parameters and configurations */
56 OMX_IndexExtPortStartUnused = OMX_IndexKhronosExtensions + 0x00200000,
57
58 /* Audio parameters and configurations */
59 OMX_IndexExtAudioStartUnused = OMX_IndexKhronosExtensions + 0x00400000,
Changwan Ryuc9a8a342013-10-28 11:32:47 +090060 OMX_IndexParamAudioAndroidAc3, /**< reference: OMX_AUDIO_PARAM_ANDROID_AC3TYPE */
Vignesh Venkatasubramanian1a8b0ed2014-02-03 14:21:31 -080061 OMX_IndexParamAudioAndroidOpus, /**< reference: OMX_AUDIO_PARAM_ANDROID_OPUSTYPE */
Jean-Michel Trivie91cd212014-08-01 22:20:17 -070062 OMX_IndexParamAudioAndroidAacPresentation, /**< reference: OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE */
Rachad806f23d2014-12-23 16:04:59 -080063 OMX_IndexParamAudioAndroidEac3, /**< reference: OMX_AUDIO_PARAM_ANDROID_EAC3TYPE */
Wonsik Kim5761a9a2016-01-25 21:22:17 -080064 OMX_IndexParamAudioProfileQuerySupported, /**< reference: OMX_AUDIO_PARAM_ANDROID_PROFILETYPE */
Kunter Gultekin203f89a2013-02-06 18:03:47 +020065
66 /* Image parameters and configurations */
67 OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000,
68
69 /* Video parameters and configurations */
70 OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000,
71 OMX_IndexParamNalStreamFormatSupported, /**< reference: OMX_NALSTREAMFORMATTYPE */
72 OMX_IndexParamNalStreamFormat, /**< reference: OMX_NALSTREAMFORMATTYPE */
73 OMX_IndexParamNalStreamFormatSelect, /**< reference: OMX_NALSTREAMFORMATTYPE */
74 OMX_IndexParamVideoVp8, /**< reference: OMX_VIDEO_PARAM_VP8TYPE */
75 OMX_IndexConfigVideoVp8ReferenceFrame, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
76 OMX_IndexConfigVideoVp8ReferenceFrameType, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */
Alex Glaznev5b155b82014-04-07 11:09:56 -070077 OMX_IndexParamVideoAndroidVp8Encoder, /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */
Rachad184077d2014-05-01 18:42:43 -070078 OMX_IndexParamVideoHevc, /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */
79 OMX_IndexParamSliceSegments, /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */
Hangyu Kuangdbadc842016-01-28 09:51:14 -080080 OMX_IndexConfigAndroidIntraRefresh, /**< reference: OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE */
Kunter Gultekin203f89a2013-02-06 18:03:47 +020081
82 /* Image & Video common configurations */
83 OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
84
85 /* Other configurations */
86 OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
Lajos Molnar76d4c5c2014-11-06 10:47:41 -080087 OMX_IndexConfigAutoFramerateConversion, /**< reference: OMX_CONFIG_BOOLEANTYPE */
Ronghua Wu49bf8f72015-03-09 16:27:55 -070088 OMX_IndexConfigPriority, /**< reference: OMX_PARAM_U32TYPE */
Ronghua Wua39c2052015-04-06 14:03:40 -070089 OMX_IndexConfigOperatingRate, /**< reference: OMX_PARAM_U32TYPE in Q16 format for video and in Hz for audio */
Lajos Molnar1017a1e2015-06-25 16:57:17 -070090 OMX_IndexParamConsumerUsageBits, /**< reference: OMX_PARAM_U32TYPE */
Kunter Gultekin203f89a2013-02-06 18:03:47 +020091
92 /* Time configurations */
93 OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
94
95 OMX_IndexExtMax = 0x7FFFFFFF
96} OMX_INDEXEXTTYPE;
97
98#ifdef __cplusplus
99}
100#endif /* __cplusplus */
101
102#endif /* OMX_IndexExt_h */
103/* File EOF */