khronosfws/openmax_al/src/common/xaconfigextensionsitf.h
changeset 12 5a06f39ad45b
child 16 43d09473c595
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/khronosfws/openmax_al/src/common/xaconfigextensionsitf.h	Fri Apr 16 15:29:42 2010 +0300
@@ -0,0 +1,68 @@
+/*
+* 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 XACONFIGEXTENSIONSITF_H
+#define XACONFIGEXTENSIONSITF_H
+
+#ifdef _GSTREAMER_BACKEND_
+#include "XAAdaptationContextBase.h"
+#endif
+#include "openmaxalwrapper.h"
+#include "xaglobals.h"
+
+/** MACROS **/
+
+/** TYPES **/
+
+/** ENUMERATIONS **/
+
+/** STRUCTURES **/
+/* Definition of XAConfigExtensionsItf implementation */
+typedef struct XAConfigExtensionsItfImpl_
+{
+    /* parent interface */
+    struct XAConfigExtensionsItf_ itf;
+    /* pointer to self */
+    struct XAConfigExtensionsItfImpl_* self;
+    /* variables */
+    XAuint8 testbufferconf;
+#ifdef _GSTREAMER_BACKEND_    
+    /*Adaptation variables*/
+    XAAdaptationBaseCtx *ctx;
+#endif    
+} XAConfigExtensionsItfImpl;
+
+/* Base interface XAConfigExtensionsItf implementation */
+XAresult XAConfigExtensionsItfImpl_SetConfiguration(
+                            XAConfigExtensionsItf self,
+                            const XAchar* configKey,
+                            XAuint32 valueSize,
+                            const void* pConfigValue);
+
+XAresult XAConfigExtensionsItfImpl_GetConfiguration(
+                            XAConfigExtensionsItf self,
+                            const XAchar* configKey,
+                            XAuint32* pValueSize,
+                            void* pConfigValue);
+#ifdef _GSTREAMER_BACKEND_
+XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* ctx);
+#endif
+/* XAConfigExtensionsItfImpl -specific methods */
+XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create(void);
+void XAConfigExtensionsItfImpl_Free(XAConfigExtensionsItfImpl* self);
+
+#endif /* XACONFIGEXTENSIONSITF_H */