khronosfws/openmax_al/src/common/xastreaminformationitf.h
changeset 25 6f7ceef7b1d1
parent 19 4a629bc82c5e
child 53 eabc8c503852
--- a/khronosfws/openmax_al/src/common/xastreaminformationitf.h	Fri May 28 19:26:28 2010 -0500
+++ b/khronosfws/openmax_al/src/common/xastreaminformationitf.h	Fri Jun 11 19:59:23 2010 -0500
@@ -1,11 +1,19 @@
-/**
- * src\common\XAStreamInformationItf.h
- * Part of OpenMAX AL Implementation
- * Copyright (c) 2009 Nokia Inc.
+/*
+ * 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".
  *
- * This file contains specification of XAStreamInformationItf
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
  *
- **/
+ * Contributors:
+ *
+ * Description: Stream Information Interface Header
+ *
+ */
 
 #ifndef XASTREAMINFORMATIONITF_H
 #define XASTREAMINFORMATIONITF_H
@@ -22,7 +30,7 @@
 /** STRUCTURES **/
 /* Definition of XAStreamInformationItf implementation */
 typedef struct XAStreamInformationItfImpl_
-{
+    {
     /* parent interface */
     struct XAStreamInformationItf_ itf;
     /* pointer to self */
@@ -31,53 +39,43 @@
     /*Adaptation variables*/
 
     XAStreamInformationItf cbPtrToSelf;
-    xaStreamEventChangeCallback  callback;
+    xaStreamEventChangeCallback callback;
     void *cbcontext;
     XAAdaptationBaseCtx *adapCtx;
 
-} XAStreamInformationItfImpl;
+    } XAStreamInformationItfImpl;
 
 /** METHODS **/
 
 /* Base interface XAStreamInformationItf implementation */
 XAresult XAStreamInformationItfImpl_QueryMediaContainerInformation(
-                XAStreamInformationItf self,
-                XAMediaContainerInformation * info);
+        XAStreamInformationItf self, XAMediaContainerInformation * info);
 
 XAresult XAStreamInformationItfImpl_QueryStreamType(
-                XAStreamInformationItf self,
-                XAuint32 streamIndex, 
-                XAuint32 *domain);
+        XAStreamInformationItf self, XAuint32 streamIndex, XAuint32 *domain);
 
 XAresult XAStreamInformationItfImpl_QueryStreamInformation(
-                XAStreamInformationItf self, 
-                XAuint32 streamIndex,
-                void * info);
+        XAStreamInformationItf self, XAuint32 streamIndex, void * info);
 
 XAresult XAStreamInformationItfImpl_QueryStreamName(
-                XAStreamInformationItf self, 
-                XAuint32 streamIndex, 
-                XAuint16 * pNameSize,
-                XAchar * pName);
+        XAStreamInformationItf self, XAuint32 streamIndex,
+        XAuint16 * pNameSize, XAchar * pName);
 
 XAresult XAStreamInformationItfImpl_RegisterStreamChangeCallback(
-                XAStreamInformationItf self,
-                xaStreamEventChangeCallback callback,
-                void * pContext);
+        XAStreamInformationItf self, xaStreamEventChangeCallback callback,
+        void * pContext);
 
 XAresult XAStreamInformationItfImpl_QueryActiveStreams(
-                XAStreamInformationItf self,
-                XAuint32 *numStreams,
-                XAboolean *activeStreams);
+        XAStreamInformationItf self, XAuint32 *numStreams,
+        XAboolean *activeStreams);
 
 XAresult XAStreamInformationItfImpl_SetActiveStream(
-                XAStreamInformationItf self, 
-                XAuint32 streamNum,
-                XAboolean active, 
-                XAboolean commitNow);
+        XAStreamInformationItf self, XAuint32 streamNum, XAboolean active,
+        XAboolean commitNow);
 
 /* XAStreamInformationItfImpl -specific methods */
-XAStreamInformationItfImpl* XAStreamInformationItfImpl_Create(XAAdaptationBaseCtx *adapCtx);
+XAStreamInformationItfImpl* XAStreamInformationItfImpl_Create(
+        XAAdaptationBaseCtx *adapCtx);
 void XAStreamInformationItfImpl_Free(XAStreamInformationItfImpl* self);
 
 #endif /* XASTREAMINFORMATIONITF_H */