Classes | Defines | Typedefs | Functions

limoa frontend
[LIM openmax application layer]

Classes

struct  engine_ipc_t
struct  engine_itf_t
struct  engine_t
struct  output_mix_t
struct  player_t

Defines

#define deep_cp_data_sink(d, s, p)   deep_copy_data_sink(d, s, p, NULL)
#define deep_cp_data_source(d, s, p)   deep_copy_data_source(d, s, p, NULL)
#define OBJ_STATE_UNREALIZED   0
#define OBJ_STATE_REALIZED   1
#define OBJ_STATE_SUSPENDED   2
#define PLAYER_ITF_TYPE(xa_itf, my_itf)

Typedefs

typedef struct engine_t engine_t
typedef struct output_mix_t output_mix_t
typedef struct player_t player_t

Functions

XAuint32 engine_query_num_supported_interfaces (void)
XAresult engine_query_interface_id (XAuint32 index, XAInterfaceID *pInterfaceId)
XAresult engine_obj_create (XAObjectItf *pEngine, XAuint32 numOptions, const XAEngineOption *pEngineOptions, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, const XAboolean *pInterfaceRequired)
int engine_ipc_init (engine_t *engine)
int engine_ipc_destroy (engine_t *engine)
int engine_ipc_send_packet (engine_t *engine, ipc_packet_t *rqst, ipc_packet_t *rsps)
int engine_ipc_ping (engine_t *engine)
void engine_interface_init (engine_t *engine)
void engine_callback_parser (ipc_packet_t *packet)
XAresult output_mix_obj_create (XAEngineItf self, XAObjectItf *pMix, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, const XAboolean *pInterfaceRequired)
 PLAYER_ITF_TYPE (Play, play)
 PLAYER_ITF_TYPE (Seek, seek)
XAresult player_obj_create (XAEngineItf self, XAObjectItf *pPlayer, const XADataSource *pDataSrc, const XADataSource *pBankSrc, const XADataSink *pAudioSnk, const XADataSink *pImageVideoSnk, const XADataSink *pVibra, const XADataSink *pLEDArray, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, const XAboolean *pInterfaceRequired)
void play_interface_init (player_t *player)
void seek_interface_init (player_t *player)

Define Documentation

#define deep_cp_data_sink (   d,
  s,
  p 
)    deep_copy_data_sink(d, s, p, NULL)
#define deep_cp_data_source (   d,
  s,
  p 
)    deep_copy_data_source(d, s, p, NULL)
#define OBJ_STATE_REALIZED   1
#define OBJ_STATE_SUSPENDED   2
#define OBJ_STATE_UNREALIZED   0
#define PLAYER_ITF_TYPE (   xa_itf,
  my_itf 
)
Value:
typedef struct {                            \
        struct XA##xa_itf##Itf_ itf;            \
        struct player_t * player;               \
    } my_itf##_itf_t

Typedef Documentation

typedef struct engine_t engine_t
typedef struct output_mix_t output_mix_t
typedef struct player_t player_t

Function Documentation

void engine_callback_parser ( ipc_packet_t packet  ) 

parse callback packet from limox.

Parameters:
packet. callback packet from limox.
void engine_interface_init ( engine_t engine  ) 
int engine_ipc_destroy ( engine_t engine  ) 
int engine_ipc_init ( engine_t engine  ) 
int engine_ipc_ping ( engine_t engine  ) 

ping to limox engine.

Parameters:
engine engine handle.
Returns:
0 if successful, non-zero otherwise.
int engine_ipc_send_packet ( engine_t engine,
ipc_packet_t rqst,
ipc_packet_t rsps 
)

send IPC packet to limox server. if response is non-NULL, it is caller's responsiblity to release the response packet by calling ipc_release_packet()

Parameters:
engine engine handle.
rqst request packet.
rsps response packet if any is expected, can be NULL. if response packet is non-null, must be called on received response.
Returns:
0 if successful, non-zero otherwise.
XAresult engine_obj_create ( XAObjectItf *  pEngine,
XAuint32  numOptions,
const XAEngineOption pEngineOptions,
XAuint32  numInterfaces,
const XAInterfaceID pInterfaceIds,
const XAboolean *  pInterfaceRequired 
)
XAresult engine_query_interface_id ( XAuint32  index,
XAInterfaceID pInterfaceId 
)
XAuint32 engine_query_num_supported_interfaces ( void   ) 
XAresult output_mix_obj_create ( XAEngineItf  self,
XAObjectItf *  pMix,
XAuint32  numInterfaces,
const XAInterfaceID pInterfaceIds,
const XAboolean *  pInterfaceRequired 
)
void play_interface_init ( player_t player  ) 
PLAYER_ITF_TYPE ( Seek  ,
seek   
)
PLAYER_ITF_TYPE ( Play  ,
play   
)
XAresult player_obj_create ( XAEngineItf  self,
XAObjectItf *  pPlayer,
const XADataSource pDataSrc,
const XADataSource pBankSrc,
const XADataSink pAudioSnk,
const XADataSink pImageVideoSnk,
const XADataSink pVibra,
const XADataSink pLEDArray,
XAuint32  numInterfaces,
const XAInterfaceID pInterfaceIds,
const XAboolean *  pInterfaceRequired 
)
void seek_interface_init ( player_t player  ) 
LIMOpenMAX Implementation API Reference - Generated by doxygen