| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2008 The Khronos Group Inc. | 2 * Copyright (c) 2008 The Khronos Group Inc. |
| 3 * | 3 * |
| 4 * Permission is hereby granted, free of charge, to any person obtaining | 4 * Permission is hereby granted, free of charge, to any person obtaining |
| 5 * a copy of this software and associated documentation files (the | 5 * a copy of this software and associated documentation files (the |
| 6 * "Software"), to deal in the Software without restriction, including | 6 * "Software"), to deal in the Software without restriction, including |
| 7 * without limitation the rights to use, copy, modify, merge, publish, | 7 * without limitation the rights to use, copy, modify, merge, publish, |
| 8 * distribute, sublicense, and/or sell copies of the Software, and to | 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 | 9 * permit persons to whom the Software is furnished to do so, subject |
| 10 * to the following conditions: | 10 * to the following conditions: |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 /* Structure representing the seekmode of the component */ | 83 /* Structure representing the seekmode of the component */ |
| 84 typedef struct OMX_TIME_CONFIG_SEEKMODETYPE { | 84 typedef struct OMX_TIME_CONFIG_SEEKMODETYPE { |
| 85 OMX_U32 nSize; /**< size of the structure in bytes */ | 85 OMX_U32 nSize; /**< size of the structure in bytes */ |
| 86 OMX_VERSIONTYPE nVersion; /**< OMX specification version information *
/ | 86 OMX_VERSIONTYPE nVersion; /**< OMX specification version information *
/ |
| 87 OMX_TIME_SEEKMODETYPE eType; /**< The seek mode */ | 87 OMX_TIME_SEEKMODETYPE eType; /**< The seek mode */ |
| 88 } OMX_TIME_CONFIG_SEEKMODETYPE; | 88 } OMX_TIME_CONFIG_SEEKMODETYPE; |
| 89 | 89 |
| 90 /** Structure representing a time stamp used with the following configs | 90 /** Structure representing a time stamp used with the following configs |
| 91 * on the Clock Component (CC): | 91 * on the Clock Component (CC): |
| 92 * | 92 * |
| 93 * OMX_IndexConfigTimeCurrentWallTime: query of the CCs current wall | 93 * OMX_IndexConfigTimeCurrentWallTime: query of the CC's current wall |
| 94 * time | 94 * time |
| 95 * OMX_IndexConfigTimeCurrentMediaTime: query of the CCs current media | 95 * OMX_IndexConfigTimeCurrentMediaTime: query of the CC's current media |
| 96 * time | 96 * time |
| 97 * OMX_IndexConfigTimeCurrentAudioReference and | 97 * OMX_IndexConfigTimeCurrentAudioReference and |
| 98 * OMX_IndexConfigTimeCurrentVideoReference: audio/video reference | 98 * OMX_IndexConfigTimeCurrentVideoReference: audio/video reference |
| 99 * clock sending SC its reference time | 99 * clock sending SC its reference time |
| 100 * OMX_IndexConfigTimeClientStartTime: a Clock Component client sends | 100 * OMX_IndexConfigTimeClientStartTime: a Clock Component client sends |
| 101 * this structure to the Clock Component via a SetConfig on its | 101 * this structure to the Clock Component via a SetConfig on its |
| 102 * client port when it receives a buffer with | 102 * client port when it receives a buffer with |
| 103 * OMX_BUFFERFLAG_STARTTIME set. It must use the timestamp | 103 * OMX_BUFFERFLAG_STARTTIME set. It must use the timestamp |
| 104 * specified by that buffer for nStartTimestamp. | 104 * specified by that buffer for nStartTimestamp. |
| 105 * | 105 * |
| 106 * Its also used with the following config on components in general: | 106 * It's also used with the following config on components in general: |
| 107 * | 107 * |
| 108 * OMX_IndexConfigTimePosition: IL client querying component position | 108 * OMX_IndexConfigTimePosition: IL client querying component position |
| 109 * (GetConfig) or commanding a component to seek to the given location | 109 * (GetConfig) or commanding a component to seek to the given location |
| 110 * (SetConfig) | 110 * (SetConfig) |
| 111 */ | 111 */ |
| 112 typedef struct OMX_TIME_CONFIG_TIMESTAMPTYPE { | 112 typedef struct OMX_TIME_CONFIG_TIMESTAMPTYPE { |
| 113 OMX_U32 nSize; /**< size of the structure in bytes */ | 113 OMX_U32 nSize; /**< size of the structure in bytes */ |
| 114 OMX_VERSIONTYPE nVersion; /**< OMX specification version | 114 OMX_VERSIONTYPE nVersion; /**< OMX specification version |
| 115 * information */ | 115 * information */ |
| 116 OMX_U32 nPortIndex; /**< port that this structure applies to */ | 116 OMX_U32 nPortIndex; /**< port that this structure applies to */ |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 * the clock component client ports. Upon recieving this config the clock compo
nent changes | 240 * the clock component client ports. Upon recieving this config the clock compo
nent changes |
| 241 * the rate by which the media time increases or decreases effectively implemen
ting trick modes. | 241 * the rate by which the media time increases or decreases effectively implemen
ting trick modes. |
| 242 */ | 242 */ |
| 243 typedef struct OMX_TIME_CONFIG_SCALETYPE { | 243 typedef struct OMX_TIME_CONFIG_SCALETYPE { |
| 244 OMX_U32 nSize; /**< size of the structure in bytes */ | 244 OMX_U32 nSize; /**< size of the structure in bytes */ |
| 245 OMX_VERSIONTYPE nVersion; /**< OMX specification version information *
/ | 245 OMX_VERSIONTYPE nVersion; /**< OMX specification version information *
/ |
| 246 OMX_S32 xScale; /**< This is a value in Q16 format which is
used for | 246 OMX_S32 xScale; /**< This is a value in Q16 format which is
used for |
| 247 * scaling the media time */ | 247 * scaling the media time */ |
| 248 } OMX_TIME_CONFIG_SCALETYPE; | 248 } OMX_TIME_CONFIG_SCALETYPE; |
| 249 | 249 |
| 250 /** Bits used to identify a clock port. Used in OMX_TIME_CONFIG_CLOCKSTATETYPEs
nWaitMask field */ | 250 /** Bits used to identify a clock port. Used in OMX_TIME_CONFIG_CLOCKSTATETYPE's
nWaitMask field */ |
| 251 #define OMX_CLOCKPORT0 0x00000001 | 251 #define OMX_CLOCKPORT0 0x00000001 |
| 252 #define OMX_CLOCKPORT1 0x00000002 | 252 #define OMX_CLOCKPORT1 0x00000002 |
| 253 #define OMX_CLOCKPORT2 0x00000004 | 253 #define OMX_CLOCKPORT2 0x00000004 |
| 254 #define OMX_CLOCKPORT3 0x00000008 | 254 #define OMX_CLOCKPORT3 0x00000008 |
| 255 #define OMX_CLOCKPORT4 0x00000010 | 255 #define OMX_CLOCKPORT4 0x00000010 |
| 256 #define OMX_CLOCKPORT5 0x00000020 | 256 #define OMX_CLOCKPORT5 0x00000020 |
| 257 #define OMX_CLOCKPORT6 0x00000040 | 257 #define OMX_CLOCKPORT6 0x00000040 |
| 258 #define OMX_CLOCKPORT7 0x00000080 | 258 #define OMX_CLOCKPORT7 0x00000080 |
| 259 | 259 |
| 260 /** Structure representing the current mode of the media clock. | 260 /** Structure representing the current mode of the media clock. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 OMX_U32 nIndex; /**< Indicates the enumeration index for the format from 0x0
to N-1 */ | 328 OMX_U32 nIndex; /**< Indicates the enumeration index for the format from 0x0
to N-1 */ |
| 329 OMX_OTHER_FORMATTYPE eFormat; /**< Type of data expected for this channel */ | 329 OMX_OTHER_FORMATTYPE eFormat; /**< Type of data expected for this channel */ |
| 330 } OMX_OTHER_PARAM_PORTFORMATTYPE; | 330 } OMX_OTHER_PARAM_PORTFORMATTYPE; |
| 331 | 331 |
| 332 #ifdef __cplusplus | 332 #ifdef __cplusplus |
| 333 } | 333 } |
| 334 #endif /* __cplusplus */ | 334 #endif /* __cplusplus */ |
| 335 | 335 |
| 336 #endif | 336 #endif |
| 337 /* File EOF */ | 337 /* File EOF */ |
| OLD | NEW |