Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1ae5a4f authored by Lajos Molnar's avatar Lajos Molnar
Browse files

implement asString() for OMX enumerations used by framework

Bug: 18285408
Change-Id: I7893cbf0b13514e0fe9001c90db3c8387c1920c0
parent ca69e8f2
Loading
Loading
Loading
Loading
+943 −0

File added.

Preview size limit exceeded, changes collapsed.

+293 −294
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@
extern "C" {
#endif /* __cplusplus */


/* Each OMX header must include all required header files to allow the
 *  header to compile without errors.  The includes below are required
 *  for this header file to compile successfully
+20 −22
Original line number Diff line number Diff line
@@ -51,14 +51,12 @@
extern "C" {
#endif /* __cplusplus */


/* Each OMX header must include all required header files to allow the
 *  header to compile without errors.  The includes below are required
 *  for this header file to compile successfully
 */
#include <OMX_Types.h>


/** The OMX_INDEXTYPE enumeration is used to select a structure when either
 *  getting or setting parameters and/or configuration data.  Each entry in
 *  this enumeration maps to an OMX specified structure.  When the
+91 −91
Original line number Diff line number Diff line
@@ -107,9 +107,9 @@ typedef struct OMX_TIME_CONFIG_SEEKMODETYPE {
/** Structure representing a time stamp used with the following configs
 * on the Clock Component (CC):
 *
 * OMX_IndexConfigTimeCurrentWallTime: query of the CC’s current wall  
 * OMX_IndexConfigTimeCurrentWallTime: query of the CC's current wall
 *     time
 * OMX_IndexConfigTimeCurrentMediaTime: query of the CC’s current media
 * OMX_IndexConfigTimeCurrentMediaTime: query of the CC's current media
 *     time
 * OMX_IndexConfigTimeCurrentAudioReference and
 * OMX_IndexConfigTimeCurrentVideoReference: audio/video reference
@@ -120,7 +120,7 @@ typedef struct OMX_TIME_CONFIG_SEEKMODETYPE {
 *     OMX_BUFFERFLAG_STARTTIME set. It must use the timestamp
 *     specified by that buffer for nStartTimestamp.
 *
 * It’s also used with the following config on components in general:
 * It's also used with the following config on components in general:
 *
 * OMX_IndexConfigTimePosition: IL client querying component position
 * (GetConfig) or commanding a component to seek to the given location
@@ -264,7 +264,7 @@ typedef struct OMX_TIME_CONFIG_SCALETYPE {
                                     * scaling the media time */
} OMX_TIME_CONFIG_SCALETYPE;

/** Bits used to identify a clock port. Used in OMX_TIME_CONFIG_CLOCKSTATETYPE’s nWaitMask field */
/** Bits used to identify a clock port. Used in OMX_TIME_CONFIG_CLOCKSTATETYPE's nWaitMask field */
#define OMX_CLOCKPORT0 0x00000001
#define OMX_CLOCKPORT1 0x00000002
#define OMX_CLOCKPORT2 0x00000004
+310 −310

File changed.

Contains only whitespace changes.

+100 −100

File changed.

Contains only whitespace changes.

+47 −47

File changed.

Contains only whitespace changes.

+89 −89

File changed.

Contains only whitespace changes.

+50 −50

File changed.

Contains only whitespace changes.

+302 −302

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

Loading