1/* 2 * Copyright (C) 2010 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17#include "sles_allinclusive.h" 18 19#ifdef __cplusplus 20extern "C" { 21#endif 22 23// OpenMAX AL 1.0.1 interfaces 24 25const XAInterfaceID XA_IID_AUDIODECODERCAPABILITIES = 26 (XAInterfaceID) &SL_IID_array[MPH_XAAUDIODECODERCAPABILITIES]; 27const XAInterfaceID XA_IID_AUDIOENCODER = (XAInterfaceID) &SL_IID_array[MPH_XAAUDIOENCODER]; 28const XAInterfaceID XA_IID_AUDIOENCODERCAPABILITIES = 29 (XAInterfaceID) &SL_IID_array[MPH_XAAUDIOENCODERCAPABILITIES]; 30const XAInterfaceID XA_IID_AUDIOIODEVICECAPABILITIES = 31 (XAInterfaceID) &SL_IID_array[MPH_XAAUDIOIODEVICECAPABILITIES]; 32const XAInterfaceID XA_IID_CAMERA = (XAInterfaceID) &SL_IID_array[MPH_XACAMERA]; 33const XAInterfaceID XA_IID_CAMERACAPABILITIES = 34 (XAInterfaceID) &SL_IID_array[MPH_XACAMERACAPABILITIES]; 35const XAInterfaceID XA_IID_CONFIGEXTENSION = (XAInterfaceID) &SL_IID_array[MPH_XACONFIGEXTENSION]; 36const XAInterfaceID XA_IID_DEVICEVOLUME = (XAInterfaceID) &SL_IID_array[MPH_XADEVICEVOLUME]; 37const XAInterfaceID XA_IID_DYNAMICINTERFACEMANAGEMENT = 38 (XAInterfaceID) &SL_IID_array[MPH_XADYNAMICINTERFACEMANAGEMENT]; 39const XAInterfaceID XA_IID_DYNAMICSOURCE = (XAInterfaceID) &SL_IID_array[MPH_XADYNAMICSOURCE]; 40const XAInterfaceID XA_IID_ENGINE = (XAInterfaceID) &SL_IID_array[MPH_XAENGINE]; 41const XAInterfaceID XA_IID_EQUALIZER = (XAInterfaceID) &SL_IID_array[MPH_XAEQUALIZER]; 42const XAInterfaceID XA_IID_IMAGECONTROLS = (XAInterfaceID) &SL_IID_array[MPH_XAIMAGECONTROLS]; 43const XAInterfaceID XA_IID_IMAGEDECODERCAPABILITIES = 44 (XAInterfaceID) &SL_IID_array[MPH_XAIMAGEDECODERCAPABILITIES]; 45const XAInterfaceID XA_IID_IMAGEEFFECTS = (XAInterfaceID) &SL_IID_array[MPH_XAIMAGEEFFECTS]; 46const XAInterfaceID XA_IID_IMAGEENCODER = (XAInterfaceID) &SL_IID_array[MPH_XAIMAGEENCODER]; 47const XAInterfaceID XA_IID_IMAGEENCODERCAPABILITIES = 48 (XAInterfaceID) &SL_IID_array[MPH_XAIMAGEENCODERCAPABILITIES]; 49const XAInterfaceID XA_IID_LED = (XAInterfaceID) &SL_IID_array[MPH_XALED]; 50const XAInterfaceID XA_IID_METADATAEXTRACTION = 51 (XAInterfaceID) &SL_IID_array[MPH_XAMETADATAEXTRACTION]; 52const XAInterfaceID XA_IID_METADATAINSERTION = 53 (XAInterfaceID) &SL_IID_array[MPH_XAMETADATAINSERTION]; 54const XAInterfaceID XA_IID_METADATATRAVERSAL = 55 (XAInterfaceID) &SL_IID_array[MPH_XAMETADATATRAVERSAL]; 56const XAInterfaceID XA_IID_NULL = (XAInterfaceID) &SL_IID_array[MPH_XANULL]; 57const XAInterfaceID XA_IID_OBJECT = (XAInterfaceID) &SL_IID_array[MPH_XAOBJECT]; 58const XAInterfaceID XA_IID_OUTPUTMIX = (XAInterfaceID) &SL_IID_array[MPH_XAOUTPUTMIX]; 59const XAInterfaceID XA_IID_PLAY = (XAInterfaceID) &SL_IID_array[MPH_XAPLAY]; 60const XAInterfaceID XA_IID_PLAYBACKRATE = (XAInterfaceID) &SL_IID_array[MPH_XAPLAYBACKRATE]; 61const XAInterfaceID XA_IID_PREFETCHSTATUS = (XAInterfaceID) &SL_IID_array[MPH_XAPREFETCHSTATUS]; 62const XAInterfaceID XA_IID_RADIO = (XAInterfaceID) &SL_IID_array[MPH_XARADIO]; 63const XAInterfaceID XA_IID_RDS = (XAInterfaceID) &SL_IID_array[MPH_XARDS]; 64const XAInterfaceID XA_IID_RECORD = (XAInterfaceID) &SL_IID_array[MPH_XARECORD]; 65const XAInterfaceID XA_IID_SEEK = (XAInterfaceID) &SL_IID_array[MPH_XASEEK]; 66const XAInterfaceID XA_IID_SNAPSHOT = (XAInterfaceID) &SL_IID_array[MPH_XASNAPSHOT]; 67const XAInterfaceID XA_IID_STREAMINFORMATION = 68 (XAInterfaceID) &SL_IID_array[MPH_XASTREAMINFORMATION]; 69const XAInterfaceID XA_IID_THREADSYNC = (XAInterfaceID) &SL_IID_array[MPH_XATHREADSYNC]; 70const XAInterfaceID XA_IID_VIBRA = (XAInterfaceID) &SL_IID_array[MPH_XAVIBRA]; 71const XAInterfaceID XA_IID_VIDEODECODERCAPABILITIES = 72 (XAInterfaceID) &SL_IID_array[MPH_XAVIDEODECODERCAPABILITIES]; 73const XAInterfaceID XA_IID_VIDEOENCODER = (XAInterfaceID) &SL_IID_array[MPH_XAVIDEOENCODER]; 74const XAInterfaceID XA_IID_VIDEOENCODERCAPABILITIES = 75 (XAInterfaceID) &SL_IID_array[MPH_XAVIDEOENCODERCAPABILITIES]; 76const XAInterfaceID XA_IID_VIDEOPOSTPROCESSING = 77 (XAInterfaceID) &SL_IID_array[MPH_XAVIDEOPOSTPROCESSING]; 78const XAInterfaceID XA_IID_VOLUME = (XAInterfaceID) &SL_IID_array[MPH_XAVOLUME]; 79 80// OpenMAX AL 1.0.1 Android API level 12 extended interfaces 81// GUID and MPH are shared by SL and XA 82const XAInterfaceID XA_IID_ANDROIDBUFFERQUEUESOURCE = 83 (XAInterfaceID) &SL_IID_array[MPH_ANDROIDBUFFERQUEUESOURCE]; 84 85#ifdef __cplusplus 86} 87#endif 88