OMX_IndexExt.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. /** @file OMX_IndexExt.h - OpenMax IL version 1.1.2
  24. * The OMX_IndexExt header file contains extensions to the definitions
  25. * for both applications and components .
  26. */
  27. #ifndef OMX_IndexExt_h
  28. #define OMX_IndexExt_h
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif /* __cplusplus */
  32. /* Each OMX header shall include all required header files to allow the
  33. * header to compile without errors. The includes below are required
  34. * for this header file to compile successfully
  35. */
  36. #include <OMX_Index.h>
  37. /** Khronos standard extension indices.
  38. This enum lists the current Khronos extension indices to OpenMAX IL.
  39. */
  40. typedef enum OMX_INDEXEXTTYPE {
  41. /* Component parameters and configurations */
  42. OMX_IndexExtComponentStartUnused = OMX_IndexKhronosExtensions + 0x00100000,
  43. OMX_IndexConfigCallbackRequest, /**< reference: OMX_CONFIG_CALLBACKREQUESTTYPE */
  44. OMX_IndexConfigCommitMode, /**< reference: OMX_CONFIG_COMMITMODETYPE */
  45. OMX_IndexConfigCommit, /**< reference: OMX_CONFIG_COMMITTYPE */
  46. /* Port parameters and configurations */
  47. OMX_IndexExtPortStartUnused = OMX_IndexKhronosExtensions + 0x00200000,
  48. /* Audio parameters and configurations */
  49. OMX_IndexExtAudioStartUnused = OMX_IndexKhronosExtensions + 0x00400000,
  50. OMX_IndexParamAudioAndroidAc3, /**< reference: OMX_AUDIO_PARAM_ANDROID_AC3TYPE */
  51. OMX_IndexParamAudioAndroidOpus, /**< reference: OMX_AUDIO_PARAM_ANDROID_OPUSTYPE */
  52. OMX_IndexParamAudioAndroidAacPresentation, /**< reference: OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE */
  53. OMX_IndexParamAudioAndroidEac3, /**< reference: OMX_AUDIO_PARAM_ANDROID_EAC3TYPE */
  54. OMX_IndexParamAudioProfileQuerySupported, /**< reference: OMX_AUDIO_PARAM_ANDROID_PROFILETYPE */
  55. /* Image parameters and configurations */
  56. OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000,
  57. /* Video parameters and configurations */
  58. OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000,
  59. OMX_IndexParamNalStreamFormatSupported, /**< reference: OMX_NALSTREAMFORMATTYPE */
  60. OMX_IndexParamNalStreamFormat, /**< reference: OMX_NALSTREAMFORMATTYPE */
  61. OMX_IndexParamNalStreamFormatSelect, /**< reference: OMX_NALSTREAMFORMATTYPE */
  62. OMX_IndexParamVideoVp8, /**< reference: OMX_VIDEO_PARAM_VP8TYPE */
  63. OMX_IndexConfigVideoVp8ReferenceFrame, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
  64. OMX_IndexConfigVideoVp8ReferenceFrameType, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */
  65. OMX_IndexParamVideoAndroidVp8Encoder, /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */
  66. OMX_IndexParamVideoHevc, /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */
  67. OMX_IndexParamSliceSegments, /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */
  68. OMX_IndexConfigAndroidIntraRefresh, /**< reference: OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE */
  69. OMX_IndexParamAndroidVideoTemporalLayering, /**< reference: OMX_VIDEO_PARAM_ANDROID_TEMPORALLAYERINGTYPE */
  70. OMX_IndexConfigAndroidVideoTemporalLayering, /**< reference: OMX_VIDEO_CONFIG_ANDROID_TEMPORALLAYERINGTYPE */
  71. /* Image & Video common configurations */
  72. OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
  73. /* Other configurations */
  74. OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
  75. OMX_IndexConfigAutoFramerateConversion, /**< reference: OMX_CONFIG_BOOLEANTYPE */
  76. OMX_IndexConfigPriority, /**< reference: OMX_PARAM_U32TYPE */
  77. OMX_IndexConfigOperatingRate, /**< reference: OMX_PARAM_U32TYPE in Q16 format for video and in Hz for audio */
  78. OMX_IndexParamConsumerUsageBits, /**< reference: OMX_PARAM_U32TYPE */
  79. /* Time configurations */
  80. OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
  81. OMX_IndexExtMax = 0x7FFFFFFF
  82. } OMX_INDEXEXTTYPE;
  83. #ifdef __cplusplus
  84. }
  85. #endif /* __cplusplus */
  86. #endif /* OMX_IndexExt_h */
  87. /* File EOF */