khronosfws/openmax_al/src/gst_adaptation/xastreaminformationitfadaptation.h
author hgs
Fri, 14 May 2010 18:19:45 -0500
changeset 20 b67dd1fc57c5
parent 19 4a629bc82c5e
child 25 6f7ceef7b1d1
permissions -rw-r--r--
201019
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19
hgs
parents:
diff changeset
     1
/**
hgs
parents:
diff changeset
     2
 * src\adaptation\XAStreamInformationItfAdaptation.h
hgs
parents:
diff changeset
     3
 * Part of OpenMAX AL Implementation
hgs
parents:
diff changeset
     4
 * Copyright (c) 2009 Nokia Inc.
hgs
parents:
diff changeset
     5
 *
hgs
parents:
diff changeset
     6
 * This file contains implementation of XAStreamInformationItfAdaptation
hgs
parents:
diff changeset
     7
 **/
hgs
parents:
diff changeset
     8
#ifndef XASTREAMINFORMATIONITFADAPTATION_H
hgs
parents:
diff changeset
     9
#define XASTREAMINFORMATIONITFADAPTATION_H
hgs
parents:
diff changeset
    10
hgs
parents:
diff changeset
    11
#include "openmaxalwrapper.h"
hgs
parents:
diff changeset
    12
#include "xaadptbasectx.h"
hgs
parents:
diff changeset
    13
/* MACROS */
hgs
parents:
diff changeset
    14
hgs
parents:
diff changeset
    15
/* FUNCTIONS */
hgs
parents:
diff changeset
    16
XAresult XAStreamInformationItfAdapt_QueryMediaContainerInformation(
hgs
parents:
diff changeset
    17
    XAAdaptationBaseCtx *adaptCtx,
hgs
parents:
diff changeset
    18
    XAuint32 *containerType,
hgs
parents:
diff changeset
    19
    XAmillisecond *mediaDuration,
hgs
parents:
diff changeset
    20
    XAuint32 *numStreams);
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
XAresult XAStreamInformationItfAdapt_QueryStreamType(
hgs
parents:
diff changeset
    23
                XAAdaptationBaseCtx *adaptCtx,
hgs
parents:
diff changeset
    24
                XAuint32 streamIndex, 
hgs
parents:
diff changeset
    25
                XAuint32 *domain);
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
XAresult XAStreamInformationItfAdapt_QueryStreamInformation(
hgs
parents:
diff changeset
    28
                XAAdaptationBaseCtx *adaptCtx, 
hgs
parents:
diff changeset
    29
                XAuint32 streamIndex,
hgs
parents:
diff changeset
    30
                void * info);
hgs
parents:
diff changeset
    31
hgs
parents:
diff changeset
    32
XAresult XAStreamInformationItfAdapt_QueryStreamName(
hgs
parents:
diff changeset
    33
                XAAdaptationBaseCtx *adaptCtx, 
hgs
parents:
diff changeset
    34
                XAuint32 streamIndex,
hgs
parents:
diff changeset
    35
                XAuint16 * pNameSize,
hgs
parents:
diff changeset
    36
                XAchar * pName);
hgs
parents:
diff changeset
    37
hgs
parents:
diff changeset
    38
XAresult XAStreamInformationItfAdapt_QueryActiveStreams(
hgs
parents:
diff changeset
    39
                XAAdaptationBaseCtx *adaptCtx, 
hgs
parents:
diff changeset
    40
                XAuint32 *numStreams,
hgs
parents:
diff changeset
    41
                XAboolean *activeStreams);
hgs
parents:
diff changeset
    42
hgs
parents:
diff changeset
    43
XAresult XAStreamInformationItfAdapt_SetActiveStream(
hgs
parents:
diff changeset
    44
                XAAdaptationBaseCtx *adaptCtx, 
hgs
parents:
diff changeset
    45
                XAuint32 streamNum,
hgs
parents:
diff changeset
    46
                XAboolean active, 
hgs
parents:
diff changeset
    47
                XAboolean commitNow);
hgs
parents:
diff changeset
    48
hgs
parents:
diff changeset
    49
hgs
parents:
diff changeset
    50
#endif /* XASTREAMINFORMATIONITFADAPTATION_H */