OMX_ComponentExt.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Copyright (c) 2016 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. /** OMX_ComponentExt.h - OpenMax IL version 1.1.2
  24. * The OMX_ComponentExt header file contains extensions to the definitions used
  25. * by both the application and the component to access common items.
  26. */
  27. #ifndef OMX_ComponentExt_h
  28. #define OMX_ComponentExt_h
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif /* __cplusplus */
  32. /* Each OMX header must 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_Types.h>
  37. /** Set/query the commit mode */
  38. typedef struct OMX_CONFIG_COMMITMODETYPE {
  39. OMX_U32 nSize;
  40. OMX_VERSIONTYPE nVersion;
  41. OMX_BOOL bDeferred;
  42. } OMX_CONFIG_COMMITMODETYPE;
  43. /** Explicit commit */
  44. typedef struct OMX_CONFIG_COMMITTYPE {
  45. OMX_U32 nSize;
  46. OMX_VERSIONTYPE nVersion;
  47. } OMX_CONFIG_COMMITTYPE;
  48. #ifdef __cplusplus
  49. }
  50. #endif /* __cplusplus */
  51. #endif /* OMX_ComponentExt_h */