1b3a6c5adSopenharmony_ci/*
2b3a6c5adSopenharmony_ci * Copyright (c) 2016 The Khronos Group Inc.
3b3a6c5adSopenharmony_ci *
4b3a6c5adSopenharmony_ci * Permission is hereby granted, free of charge, to any person obtaining
5b3a6c5adSopenharmony_ci * a copy of this software and associated documentation files (the
6b3a6c5adSopenharmony_ci * "Software"), to deal in the Software without restriction, including
7b3a6c5adSopenharmony_ci * without limitation the rights to use, copy, modify, merge, publish,
8b3a6c5adSopenharmony_ci * distribute, sublicense, and/or sell copies of the Software, and to
9b3a6c5adSopenharmony_ci * permit persons to whom the Software is furnished to do so, subject
10b3a6c5adSopenharmony_ci * to the following conditions:
11b3a6c5adSopenharmony_ci * The above copyright notice and this permission notice shall be included
12b3a6c5adSopenharmony_ci * in all copies or substantial portions of the Software.
13b3a6c5adSopenharmony_ci *
14b3a6c5adSopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15b3a6c5adSopenharmony_ci * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16b3a6c5adSopenharmony_ci * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17b3a6c5adSopenharmony_ci * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18b3a6c5adSopenharmony_ci * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19b3a6c5adSopenharmony_ci * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20b3a6c5adSopenharmony_ci * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21b3a6c5adSopenharmony_ci *
22b3a6c5adSopenharmony_ci */
23b3a6c5adSopenharmony_ci
24b3a6c5adSopenharmony_ci/** @file OMX_IndexExt.h - OpenMax IL version 1.1.2
25b3a6c5adSopenharmony_ci * The OMX_IndexExt header file contains extensions to the definitions
26b3a6c5adSopenharmony_ci * for both applications and components .
27b3a6c5adSopenharmony_ci */
28b3a6c5adSopenharmony_ci
29b3a6c5adSopenharmony_ci#ifndef OMX_IndexExt_h
30b3a6c5adSopenharmony_ci#define OMX_IndexExt_h
31b3a6c5adSopenharmony_ci
32b3a6c5adSopenharmony_ci#ifdef __cplusplus
33b3a6c5adSopenharmony_ciextern "C" {
34b3a6c5adSopenharmony_ci#endif /* __cplusplus */
35b3a6c5adSopenharmony_ci
36b3a6c5adSopenharmony_ci/* Each OMX header shall include all required header files to allow the
37b3a6c5adSopenharmony_ci * header to compile without errors.  The includes below are required
38b3a6c5adSopenharmony_ci * for this header file to compile successfully
39b3a6c5adSopenharmony_ci */
40b3a6c5adSopenharmony_ci#include <OMX_Index.h>
41b3a6c5adSopenharmony_ci
42b3a6c5adSopenharmony_ci
43b3a6c5adSopenharmony_ci/** Khronos standard extension indices.
44b3a6c5adSopenharmony_ci
45b3a6c5adSopenharmony_ciThis enum lists the current Khronos extension indices to OpenMAX IL.
46b3a6c5adSopenharmony_ci*/
47b3a6c5adSopenharmony_citypedef enum OMX_INDEXEXTTYPE {
48b3a6c5adSopenharmony_ci
49b3a6c5adSopenharmony_ci    /* Component parameters and configurations */
50b3a6c5adSopenharmony_ci    OMX_IndexExtComponentStartUnused = OMX_IndexKhronosExtensions + 0x00100000,
51b3a6c5adSopenharmony_ci    OMX_IndexConfigCallbackRequest,                 /**< reference: OMX_CONFIG_CALLBACKREQUESTTYPE */
52b3a6c5adSopenharmony_ci    OMX_IndexConfigCommitMode,                      /**< reference: OMX_CONFIG_COMMITMODETYPE */
53b3a6c5adSopenharmony_ci    OMX_IndexConfigCommit,                          /**< reference: OMX_CONFIG_COMMITTYPE */
54b3a6c5adSopenharmony_ci
55b3a6c5adSopenharmony_ci    /* Port parameters and configurations */
56b3a6c5adSopenharmony_ci    OMX_IndexExtPortStartUnused = OMX_IndexKhronosExtensions + 0x00200000,
57b3a6c5adSopenharmony_ci
58b3a6c5adSopenharmony_ci    /* Audio parameters and configurations */
59b3a6c5adSopenharmony_ci    OMX_IndexExtAudioStartUnused = OMX_IndexKhronosExtensions + 0x00400000,
60b3a6c5adSopenharmony_ci
61b3a6c5adSopenharmony_ci    /* Image parameters and configurations */
62b3a6c5adSopenharmony_ci    OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000,
63b3a6c5adSopenharmony_ci
64b3a6c5adSopenharmony_ci    /* Video parameters and configurations */
65b3a6c5adSopenharmony_ci    OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000,
66b3a6c5adSopenharmony_ci    OMX_IndexParamNalStreamFormatSupported,         /**< reference: OMX_NALSTREAMFORMATTYPE */
67b3a6c5adSopenharmony_ci    OMX_IndexParamNalStreamFormat,                  /**< reference: OMX_NALSTREAMFORMATTYPE */
68b3a6c5adSopenharmony_ci    OMX_IndexParamNalStreamFormatSelect,            /**< reference: OMX_NALSTREAMFORMATTYPE */
69b3a6c5adSopenharmony_ci    OMX_IndexParamVideoVp8,                         /**< reference: OMX_VIDEO_PARAM_VP8TYPE */
70b3a6c5adSopenharmony_ci    OMX_IndexConfigVideoVp8ReferenceFrame,          /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
71b3a6c5adSopenharmony_ci    OMX_IndexConfigVideoVp8ReferenceFrameType,      /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */
72b3a6c5adSopenharmony_ci
73b3a6c5adSopenharmony_ci    /* Image & Video common configurations */
74b3a6c5adSopenharmony_ci    OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
75b3a6c5adSopenharmony_ci
76b3a6c5adSopenharmony_ci    /* Other configurations */
77b3a6c5adSopenharmony_ci    OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
78b3a6c5adSopenharmony_ci
79b3a6c5adSopenharmony_ci    /* Time configurations */
80b3a6c5adSopenharmony_ci    OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
81b3a6c5adSopenharmony_ci
82b3a6c5adSopenharmony_ci    OMX_IndexExtMax = 0x7FFFFFFF
83b3a6c5adSopenharmony_ci} OMX_INDEXEXTTYPE;
84b3a6c5adSopenharmony_ci
85b3a6c5adSopenharmony_ci#ifdef __cplusplus
86b3a6c5adSopenharmony_ci}
87b3a6c5adSopenharmony_ci#endif /* __cplusplus */
88b3a6c5adSopenharmony_ci
89b3a6c5adSopenharmony_ci#endif /* OMX_IndexExt_h */
90b3a6c5adSopenharmony_ci/* File EOF */
91