khronosfws/openmax_al/src/gst_adaptation/xastreaminformationitfadaptation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:20:50 +0300
changeset 22 128eb6a32b84
parent 16 43d09473c595
child 31 8dfd592727cb
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

#ifndef XASTREAMINFORMATIONITFADAPTATION_H
#define XASTREAMINFORMATIONITFADAPTATION_H

#include "openmaxalwrapper.h"
#include "xaadptbasectx.h"
/* MACROS */

/* FUNCTIONS */
XAresult XAStreamInformationItfAdapt_QueryMediaContainerInformation(
    XAAdaptationBaseCtx *adaptCtx,
    XAuint32 *containerType,
    XAmillisecond *mediaDuration,
    XAuint32 *numStreams);

XAresult XAStreamInformationItfAdapt_QueryStreamType(
                XAAdaptationBaseCtx *adaptCtx,
                XAuint32 streamIndex, 
                XAuint32 *domain);

XAresult XAStreamInformationItfAdapt_QueryStreamInformation(
                XAAdaptationBaseCtx *adaptCtx, 
                XAuint32 streamIndex,
                void * info);

XAresult XAStreamInformationItfAdapt_QueryStreamName(
                XAAdaptationBaseCtx *adaptCtx, 
                XAuint32 streamIndex,
                XAuint16 * pNameSize,
                XAchar * pName);

XAresult XAStreamInformationItfAdapt_QueryActiveStreams(
                XAAdaptationBaseCtx *adaptCtx, 
                XAuint32 *numStreams,
                XAboolean *activeStreams);

XAresult XAStreamInformationItfAdapt_SetActiveStream(
                XAAdaptationBaseCtx *adaptCtx, 
                XAuint32 streamNum,
                XAboolean active, 
                XAboolean commitNow);


#endif /* XASTREAMINFORMATIONITFADAPTATION_H */