khronosfws/openmax_al/src/common/xaobjects.h
branchRCL_3
changeset 19 095bea5f582e
equal deleted inserted replaced
18:a36789189b53 19:095bea5f582e
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: Entry Point Functions to Create AL Objects
       
    15  *
       
    16  */
       
    17 /*All global definitions and declarations here */
       
    18 
       
    19 #ifndef XAOBJECTS_H
       
    20 #define XAOBJECTS_H
       
    21 
       
    22 #include "openmaxalwrapper.h"
       
    23 #include "xaframeworkmgr.h"
       
    24 #include "xaglobals.h"
       
    25 #include "xacapabilitiesmgr.h"
       
    26 
       
    27 /**
       
    28  * GLOBAL METHODS
       
    29  */
       
    30 
       
    31 /*
       
    32  * Engine
       
    33  */
       
    34 XAresult XAEngineImpl_Create(XAObjectItf *pEngine, XAuint32 numOptions,
       
    35         const XAEngineOption *pEngineOptions, XAuint32 numInterfaces,
       
    36         const XAInterfaceID *pInterfaceIds,
       
    37         const XAboolean *pInterfaceRequired);
       
    38 
       
    39 XAresult XAEngineImpl_QueryNumSupportedInterfaces(
       
    40         XAuint32 *pNumSupportedInterfaces);
       
    41 
       
    42 XAresult XAEngineImpl_QuerySupportedInterfaces(XAuint32 index,
       
    43         XAInterfaceID *pInterfaceId);
       
    44 
       
    45 /*
       
    46  * Media Player
       
    47  */
       
    48 XAresult XAMediaPlayerImpl_CreateMediaPlayer(FrameworkMap* mapper,
       
    49         XACapabilities* capabilities, XAObjectItf *pPlayer,
       
    50         XADataSource *pDataSrc, XADataSource *pBankSrc,
       
    51         XADataSink *pAudioSnk, XADataSink *pImageVideoSnk,
       
    52         XADataSink *pVibra, XADataSink *pLEDArray, XAuint32 numInterfaces,
       
    53         const XAInterfaceID *pInterfaceIds,
       
    54         const XAboolean *pInterfaceRequired);
       
    55 
       
    56 XAresult XAMediaPlayerImpl_QueryNumSupportedInterfaces(
       
    57         XAuint32 *pNumSupportedInterfaces);
       
    58 
       
    59 XAresult XAMediaPlayerImpl_QuerySupportedInterfaces(XAuint32 index,
       
    60         XAInterfaceID *pInterfaceId);
       
    61 
       
    62 /*
       
    63  * Metadata Extractor
       
    64  */
       
    65 XAresult XAMetadataExtractorImpl_Create(FrameworkMap* mapper,
       
    66         XACapabilities* capabilities, XAObjectItf *pMetadataExtractor,
       
    67         XADataSource *pDataSource, XAuint32 numInterfaces,
       
    68         const XAInterfaceID *pInterfaceIds,
       
    69         const XAboolean *pInterfaceRequired);
       
    70 
       
    71 XAresult XAMetadataExtractorImpl_QueryNumSupportedInterfaces(
       
    72         XAuint32 *pNumSupportedInterfaces);
       
    73 
       
    74 XAresult XAMetadataExtractorImpl_QuerySupportedInterfaces(XAuint32 index,
       
    75         XAInterfaceID *pInterfaceId);
       
    76 
       
    77 /*
       
    78  * Output Mix
       
    79  */
       
    80 XAresult XAOMixImpl_CreateOutputMix(FrameworkMap* mapper,
       
    81         XACapabilities* capabilities, XAObjectItf *pMix,
       
    82         XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds,
       
    83         const XAboolean *pInterfaceRequired);
       
    84 
       
    85 XAresult XAOMixImpl_QueryNumSupportedInterfaces(
       
    86         XAuint32 *pNumSupportedInterfaces);
       
    87 
       
    88 XAresult XAOMixImpl_QuerySupportedInterfaces(XAuint32 index,
       
    89         XAInterfaceID *pInterfaceId);
       
    90 
       
    91 /*
       
    92  * Media Recorder
       
    93  */
       
    94 XAresult XAMediaRecorderImpl_CreateMediaRecorder(FrameworkMap* mapper,
       
    95         XACapabilities* capabilities, XAObjectItf* pRecorder,
       
    96         XADataSource* pAudioSrc, XADataSource* pImageVideoSrc,
       
    97         XADataSink* pDataSnk, XAuint32 numInterfaces,
       
    98         const XAInterfaceID *pInterfaceIds,
       
    99         const XAboolean *pInterfaceRequired);
       
   100 
       
   101 XAresult XAMediaRecorderImpl_QueryNumSupportedInterfaces(
       
   102         XAuint32 *pNumSupportedInterfaces);
       
   103 
       
   104 XAresult XAMediaRecorderImpl_QuerySupportedInterfaces(XAuint32 index,
       
   105         XAInterfaceID *pInterfaceId);
       
   106 
       
   107 /*
       
   108  * Camera Device
       
   109  */
       
   110 XAresult XACameraDeviceImpl_CreateCameraDevice(FrameworkMap* mapper,
       
   111         XACapabilities* capabilities, XAObjectItf* pDevice,
       
   112         XAuint32 deviceID, XAuint32 numInterfaces,
       
   113         const XAInterfaceID * pInterfaceIds,
       
   114         const XAboolean * pInterfaceRequired);
       
   115 
       
   116 XAresult XACameraDeviceImpl_QueryNumSupportedInterfaces(
       
   117         XAuint32 *pNumSupportedInterfaces);
       
   118 
       
   119 XAresult XACameraDeviceImpl_QuerySupportedInterfaces(XAuint32 index,
       
   120         XAInterfaceID *pInterfaceId);
       
   121 
       
   122 /*
       
   123  * Radio Device
       
   124  */
       
   125 XAresult XARadioDeviceImpl_CreateRadioDevice( /*FrameworkMap* mapper,*/
       
   126 XAObjectItf* pDevice, XAuint32 numInterfaces,
       
   127         const XAInterfaceID * pInterfaceIds,
       
   128         const XAboolean * pInterfaceRequired);
       
   129 
       
   130 XAresult XARadioDeviceImpl_QueryNumSupportedInterfaces(
       
   131         XAuint32 *pNumSupportedInterfaces);
       
   132 
       
   133 XAresult XARadioDeviceImpl_QuerySupportedInterfaces(XAuint32 index,
       
   134         XAInterfaceID *pInterfaceId);
       
   135 
       
   136 /*
       
   137  * Vibra Device
       
   138  */
       
   139 XAresult XAVibraDeviceImpl_CreateVibraDevice(FrameworkMap* mapper,
       
   140         XAObjectItf* pDevice, XAuint32 deviceID, XAuint32 numInterfaces,
       
   141         const XAInterfaceID * pInterfaceIds,
       
   142         const XAboolean * pInterfaceRequired);
       
   143 
       
   144 XAresult XAVibraDeviceImpl_QueryNumSupportedInterfaces(
       
   145         XAuint32 *pNumSupportedInterfaces);
       
   146 
       
   147 XAresult XAVibraDeviceImpl_QuerySupportedInterfaces(XAuint32 index,
       
   148         XAInterfaceID *pInterfaceId);
       
   149 
       
   150 /*
       
   151  * LED Array
       
   152  */
       
   153 XAresult XALEDArrayDeviceImpl_CreateLEDArrayDevice(FrameworkMap* mapper,
       
   154         XAObjectItf* pDevice, XAuint32 deviceID, XAuint32 numInterfaces,
       
   155         const XAInterfaceID * pInterfaceIds,
       
   156         const XAboolean * pInterfaceRequired);
       
   157 
       
   158 XAresult XALEDArrayDeviceImpl_QueryNumSupportedInterfaces(
       
   159         XAuint32 *pNumSupportedInterfaces);
       
   160 
       
   161 XAresult XALEDArrayDeviceImpl_QuerySupportedInterfaces(XAuint32 index,
       
   162         XAInterfaceID *pInterfaceId);
       
   163 
       
   164 #endif /*XAOBJECTS_H */