tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

OMX_CoreExt.h (2804B)


      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 /** OMX_CoreExt.h - OpenMax IL version 1.1.2
     25 * The OMX_CoreExt header file contains extensions to the definitions used
     26 * by both the application and the component to access common items.
     27 */
     28 
     29 #ifndef OMX_CoreExt_h
     30 #define OMX_CoreExt_h
     31 
     32 #ifdef __cplusplus
     33 extern "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_Core.h>
     41 
     42 /** Extensions to the standard IL errors. */
     43 typedef enum OMX_ERROREXTTYPE
     44 {
     45    OMX_ErrorInvalidMode = (OMX_S32) (OMX_ErrorKhronosExtensions + 0x00000001),
     46    OMX_ErrorExtMax = 0x7FFFFFFF
     47 } OMX_ERROREXTTYPE;
     48 
     49 
     50 /** Event type extensions. */
     51 typedef enum OMX_EVENTEXTTYPE
     52 {
     53    OMX_EventIndexSettingChanged = OMX_EventKhronosExtensions, /**< component signals the IL client of a change
     54                                                                    in a param, config, or extension */
     55    OMX_EventExtMax = 0x7FFFFFFF
     56 } OMX_EVENTEXTTYPE;
     57 
     58 
     59 /** Enable or disable a callback event. */
     60 typedef struct OMX_CONFIG_CALLBACKREQUESTTYPE {
     61    OMX_U32 nSize;              /**< size of the structure in bytes */
     62    OMX_VERSIONTYPE nVersion;   /**< OMX specification version information */
     63    OMX_U32 nPortIndex;         /**< port that this structure applies to */
     64    OMX_INDEXTYPE nIndex;       /**< the index the callback is requested for */
     65    OMX_BOOL bEnable;           /**< enable (OMX_TRUE) or disable (OMX_FALSE) the callback */
     66 } OMX_CONFIG_CALLBACKREQUESTTYPE;
     67 
     68 #ifdef __cplusplus
     69 }
     70 #endif /* __cplusplus */
     71 
     72 #endif /* OMX_CoreExt_h */
     73 /* File EOF */