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: Audio Encoder Itf Header |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef XAAUDIODECODERCAPABILITIESITF_H |
|
19 #define XAAUDIODECODERCAPABILITIESITF_H |
|
20 |
|
21 #include "openmaxalwrapper.h" |
|
22 #include "xaglobals.h" |
|
23 |
|
24 /** MACROS **/ |
|
25 |
|
26 /** TYPES **/ |
|
27 |
|
28 /** ENUMERATIONS **/ |
|
29 |
|
30 /** STRUCTURES **/ |
|
31 /* Definition of XAAudioDecoderCapabilitiesItf implementation */ |
|
32 typedef struct XAAudioDecoderCapabilitiesItfImpl_ |
|
33 { |
|
34 /* parent interface */ |
|
35 struct XAAudioDecoderCapabilitiesItf_ itf; |
|
36 /* pointer to self */ |
|
37 struct XAAudioDecoderCapabilitiesItfImpl_* self; |
|
38 /* variables */ |
|
39 XAuint32 numCodecs; |
|
40 } XAAudioDecoderCapabilitiesItfImpl; |
|
41 |
|
42 /* Base interface XAAudioDecoderCapabilitiesItf implementation */ |
|
43 XAresult XAAudioDecoderCapabilitiesItfImpl_GetAudioDecoders( |
|
44 XAAudioDecoderCapabilitiesItf self, XAuint32* pNumDecoders, |
|
45 XAuint32* pDecoderIds); |
|
46 |
|
47 XAresult XAAudioDecoderCapabilitiesItfImpl_GetAudioDecoderCapabilities( |
|
48 XAAudioDecoderCapabilitiesItf self, XAuint32 decoderId, |
|
49 XAuint32* pIndex, XAAudioCodecDescriptor* pDescriptor); |
|
50 |
|
51 /* XAAudioDecoderCapabilitiesItfImpl -specific methods */ |
|
52 XAAudioDecoderCapabilitiesItfImpl* XAAudioDecoderCapabilitiesItfImpl_Create( |
|
53 void); |
|
54 void XAAudioDecoderCapabilitiesItfImpl_Free( |
|
55 XAAudioDecoderCapabilitiesItfImpl* self); |
|
56 |
|
57 #endif /* XAAUDIODECODERCAPABILITIESITF_H */ |
|