khronosfws/openmax_al/src/common/xaconfigextensionsitf.h
changeset 12 5a06f39ad45b
child 16 43d09473c595
equal deleted inserted replaced
0:71ca22bcf22a 12:5a06f39ad45b
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XACONFIGEXTENSIONSITF_H
       
    19 #define XACONFIGEXTENSIONSITF_H
       
    20 
       
    21 #ifdef _GSTREAMER_BACKEND_
       
    22 #include "XAAdaptationContextBase.h"
       
    23 #endif
       
    24 #include "openmaxalwrapper.h"
       
    25 #include "xaglobals.h"
       
    26 
       
    27 /** MACROS **/
       
    28 
       
    29 /** TYPES **/
       
    30 
       
    31 /** ENUMERATIONS **/
       
    32 
       
    33 /** STRUCTURES **/
       
    34 /* Definition of XAConfigExtensionsItf implementation */
       
    35 typedef struct XAConfigExtensionsItfImpl_
       
    36 {
       
    37     /* parent interface */
       
    38     struct XAConfigExtensionsItf_ itf;
       
    39     /* pointer to self */
       
    40     struct XAConfigExtensionsItfImpl_* self;
       
    41     /* variables */
       
    42     XAuint8 testbufferconf;
       
    43 #ifdef _GSTREAMER_BACKEND_    
       
    44     /*Adaptation variables*/
       
    45     XAAdaptationBaseCtx *ctx;
       
    46 #endif    
       
    47 } XAConfigExtensionsItfImpl;
       
    48 
       
    49 /* Base interface XAConfigExtensionsItf implementation */
       
    50 XAresult XAConfigExtensionsItfImpl_SetConfiguration(
       
    51                             XAConfigExtensionsItf self,
       
    52                             const XAchar* configKey,
       
    53                             XAuint32 valueSize,
       
    54                             const void* pConfigValue);
       
    55 
       
    56 XAresult XAConfigExtensionsItfImpl_GetConfiguration(
       
    57                             XAConfigExtensionsItf self,
       
    58                             const XAchar* configKey,
       
    59                             XAuint32* pValueSize,
       
    60                             void* pConfigValue);
       
    61 #ifdef _GSTREAMER_BACKEND_
       
    62 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* ctx);
       
    63 #endif
       
    64 /* XAConfigExtensionsItfImpl -specific methods */
       
    65 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create(void);
       
    66 void XAConfigExtensionsItfImpl_Free(XAConfigExtensionsItfImpl* self);
       
    67 
       
    68 #endif /* XACONFIGEXTENSIONSITF_H */