25
|
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".
|
19
|
8 |
*
|
25
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: StreamInformation Itf Adaptation header
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
19
|
18 |
#ifndef XASTREAMINFORMATIONITFADAPTATION_H
|
|
19 |
#define XASTREAMINFORMATIONITFADAPTATION_H
|
|
20 |
|
|
21 |
#include "openmaxalwrapper.h"
|
|
22 |
#include "xaadptbasectx.h"
|
|
23 |
/* MACROS */
|
|
24 |
|
|
25 |
/* FUNCTIONS */
|
|
26 |
XAresult XAStreamInformationItfAdapt_QueryMediaContainerInformation(
|
|
27 |
XAAdaptationBaseCtx *adaptCtx,
|
|
28 |
XAuint32 *containerType,
|
|
29 |
XAmillisecond *mediaDuration,
|
|
30 |
XAuint32 *numStreams);
|
|
31 |
|
|
32 |
XAresult XAStreamInformationItfAdapt_QueryStreamType(
|
|
33 |
XAAdaptationBaseCtx *adaptCtx,
|
|
34 |
XAuint32 streamIndex,
|
|
35 |
XAuint32 *domain);
|
|
36 |
|
|
37 |
XAresult XAStreamInformationItfAdapt_QueryStreamInformation(
|
|
38 |
XAAdaptationBaseCtx *adaptCtx,
|
|
39 |
XAuint32 streamIndex,
|
|
40 |
void * info);
|
|
41 |
|
|
42 |
XAresult XAStreamInformationItfAdapt_QueryStreamName(
|
|
43 |
XAAdaptationBaseCtx *adaptCtx,
|
|
44 |
XAuint32 streamIndex,
|
|
45 |
XAuint16 * pNameSize,
|
|
46 |
XAchar * pName);
|
|
47 |
|
|
48 |
XAresult XAStreamInformationItfAdapt_QueryActiveStreams(
|
|
49 |
XAAdaptationBaseCtx *adaptCtx,
|
|
50 |
XAuint32 *numStreams,
|
|
51 |
XAboolean *activeStreams);
|
|
52 |
|
|
53 |
XAresult XAStreamInformationItfAdapt_SetActiveStream(
|
|
54 |
XAAdaptationBaseCtx *adaptCtx,
|
|
55 |
XAuint32 streamNum,
|
|
56 |
XAboolean active,
|
|
57 |
XAboolean commitNow);
|
|
58 |
|
|
59 |
|
|
60 |
#endif /* XASTREAMINFORMATIONITFADAPTATION_H */
|