OMX_IntelIndexExt.h revision c199545bac9fd97a5a06a6b9cf1160813b7ef753
1/*
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_IntelIndexExt_h
30#define OMX_IntelIndexExt_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_INTELINDEXEXTTYPE {
48    OMX_IndexIntelStartUsed = OMX_IndexVendorStartUnused + 1,
49    OMX_IndexParamVideoBytestream,                  /**< reference: OMX_VIDEO_PARAM_BYTESTREAMTYPE */
50    OMX_IndexParamIntelBitrate,                     /**< reference: OMX_VIDEO_PARAM_INTEL_BITRATETYPE */
51    OMX_IndexConfigIntelBitrate,                    /**< reference: OMX_VIDEO_CONFIG_INTEL_BITRATETYPE */
52    OMX_IndexParamIntelAVCDecodeSettings,           /**< reference: OMX_VIDEO_PARAM_INTEL_AVC_DECODE_SETTINGS */
53    OMX_IndexConfigIntelSliceNumbers,               /**< reference: OMX_VIDEO_CONFIG_INTEL_SLICE_NUMBERS */
54    OMX_IndexConfigIntelAIR,                        /**< reference: OMX_VIDEO_CONFIG_INTEL_AIR */
55    OMX_IndexParamIntelAVCVUI,                      /**< reference: OMX_VIDEO_PARAM_INTEL_AVCVUI */
56    OMX_IndexParamIntelAdaptiveSliceControl,        /**< reference: OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL */
57    OMX_IndexStoreMetaDataInBuffers,                /**< reference: StoreMetaDataInBuffersParams*/
58    OMX_IndexIntelPrivateInfo,
59    /* NativeWindow configurations */
60    OMX_IndexExtEnableNativeBuffer,                 /**<reference: EnableNativeBuffer */
61    OMX_IndexExtGetNativeBufferUsage,               /**<reference: GetNativeBufferUsage  */
62    OMX_IndexExtUseNativeBuffer,                    /**<reference: UseNativeBuffer  */
63    OMX_IndexExtRotationDegrees,                    /**<reference: Rotation for decode*/
64    OMX_IndexExtSyncEncoding,                       /**<reference: Sync mode for encode*/
65    OMX_IndexExtPrependSPSPPS,
66    /* Error report by WebRTC */
67    OMX_IndexExtEnableErrorReport,                  /**<reference: EnableErrorReport for decoder */
68    OMX_IndexExtPrepareForAdaptivePlayback,         /**<reference: Prepare for AdaptivePlayback*/
69    OMX_IndexExtVP8ForceKFrame,                     /**<reference: For VP8 Force K Frame*/
70    OMX_IndexExtVP8MaxFrameSizeRatio,                    /**<reference: For VP8 Max Frame Size*/
71    // Index for VPP must always be put at the end
72#ifdef TARGET_HAS_VPP
73    OMX_IndexExtVppBufferNum,                       /**<reference: vpp buffer number*/
74#endif
75    OMX_IntelIndexExtMax = 0x7FFFFFFF
76} OMX_INTELINDEXEXTTYPE;
77
78#ifdef __cplusplus
79}
80#endif /* __cplusplus */
81
82#endif /* OMX_IndexExt_h */
83/* File EOF */
84