khronosfws/openmax_al/src/mmf_adaptation/xastreaminformationitfadaptationmmf.h
changeset 31 8dfd592727cb
parent 16 43d09473c595
child 55 e267340986c9
equal deleted inserted replaced
22:128eb6a32b84 31:8dfd592727cb
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description: 
    14  * Description: StreamInfo Itf Adaptation MMF header
    15 *
    15  *
    16 */
    16  */
    17 
    17 
    18 #ifndef XASTREAMINFORMATIONITFADAPTATIONMMF_H
    18 #ifndef XASTREAMINFORMATIONITFADAPTATIONMMF_H
    19 #define XASTREAMINFORMATIONITFADAPTATIONMMF_H
    19 #define XASTREAMINFORMATIONITFADAPTATIONMMF_H
    20 
    20 
    21 #include "openmaxalwrapper.h"
    21 #include "openmaxalwrapper.h"
    22 #include "xaadptbasectx.h"
    22 #include "xaadptbasectx.h"
    23 /* MACROS */
    23 /* MACROS */
    24 
    24 
    25 /* FUNCTIONS */
    25 /* FUNCTIONS */
    26 XAresult XAStreamInformationItfAdaptMMF_QueryMediaContainerInformation(
    26 XAresult XAStreamInformationItfAdaptMMF_QueryMediaContainerInformation(
    27     XAAdaptationBaseCtx *adaptCtx,
    27         XAAdaptationBaseCtx *adaptCtx, XAuint32 *containerType,
    28     XAuint32 *containerType,
    28         XAmillisecond *mediaDuration, XAuint32 *numStreams);
    29     XAmillisecond *mediaDuration,
       
    30     XAuint32 *numStreams);
       
    31 
    29 
    32 XAresult XAStreamInformationItfAdaptMMF_QueryStreamType(
    30 XAresult XAStreamInformationItfAdaptMMF_QueryStreamType(
    33                 XAAdaptationBaseCtx *adaptCtx,
    31                 XAAdaptationBaseCtx *adaptCtx, XAuint32 streamIndex,
    34                 XAuint32 streamIndex, 
       
    35                 XAuint32 *domain);
    32                 XAuint32 *domain);
    36 
    33 
    37 XAresult XAStreamInformationItfAdaptMMF_QueryStreamInformation(
    34 XAresult XAStreamInformationItfAdaptMMF_QueryStreamInformation(
    38                 XAAdaptationBaseCtx *adaptCtx, 
    35         XAAdaptationBaseCtx *adaptCtx, XAuint32 streamIndex, void * info);
    39                 XAuint32 streamIndex,
       
    40                 void * info);
       
    41 
    36 
    42 XAresult XAStreamInformationItfAdaptMMF_QueryStreamName(
    37 XAresult XAStreamInformationItfAdaptMMF_QueryStreamName(
    43                 XAAdaptationBaseCtx *adaptCtx, 
    38         XAAdaptationBaseCtx *adaptCtx, XAuint32 streamIndex,
    44                 XAuint32 streamIndex,
    39         XAuint16 * pNameSize, XAchar * pName);
    45                 XAuint16 * pNameSize,
       
    46                 XAchar * pName);
       
    47 
    40 
    48 XAresult XAStreamInformationItfAdaptMMF_QueryActiveStreams(
    41 XAresult XAStreamInformationItfAdaptMMF_QueryActiveStreams(
    49                 XAAdaptationBaseCtx *adaptCtx, 
    42         XAAdaptationBaseCtx *adaptCtx, XAuint32 *numStreams,
    50                 XAuint32 *numStreams,
    43         XAboolean *activeStreams);
    51                 XAboolean *activeStreams);
       
    52 
    44 
    53 XAresult XAStreamInformationItfAdaptMMF_SetActiveStream(
    45 XAresult XAStreamInformationItfAdaptMMF_SetActiveStream(
    54                 XAAdaptationBaseCtx *adaptCtx, 
    46         XAAdaptationBaseCtx *adaptCtx, XAuint32 streamNum, XAboolean active,
    55                 XAuint32 streamNum,
    47         XAboolean commitNow);
    56                 XAboolean active, 
       
    57                 XAboolean commitNow);
       
    58 
    48 
    59 #endif /* XASTREAMINFORMATIONITFADAPTATION_H */
    49 #endif /* XASTREAMINFORMATIONITFADAPTATION_H */