--- a/khronosfws/openmax_al/src/adptcommon/xacapabilitiesmgr.h Thu May 27 13:20:50 2010 +0300
+++ b/khronosfws/openmax_al/src/adptcommon/xacapabilitiesmgr.h Wed Jun 23 18:47:10 2010 +0300
@@ -1,19 +1,19 @@
/*
-* 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:
-*
-*/
+ * 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: Header File
+ *
+ */
#ifndef XACAPABILITIESMGR_H
#define XACAPABILITIESMGR_H
@@ -22,7 +22,6 @@
#include "openmaxalwrapper.h"
#include "xaglobals.h"
-
#define AUD_D (XACAP_DECODER|XACAP_AUDIO)
#define AUD_E (XACAP_ENCODER|XACAP_AUDIO)
#define VID_D (XACAP_DECODER|XACAP_VIDEO)
@@ -40,45 +39,32 @@
typedef struct XACapabilities_ XACapabilities;
struct XACapabilities_
-{
- XAuint32 capsType;
- XAuint32 xaid; /* OpenMAX id (e.g. XA_VIDEOCODEC macro) */
- XAchar* adaptId; /* TODO fill this */
- /* TODO Do we need a flag for default device id? */
- XAuint32 noOfEntries;
- void* pEntry;
+ {
+ XAuint32 capsType;
+ XAuint32 xaid; /* OpenMAX id (e.g. XA_VIDEOCODEC macro) */
+ XAchar* adaptId; /* Internal Adaptation Device IDs */
+ XAuint32 noOfEntries;
+ void* pEntry;
/*add if/when needed*/
XACapabilities* next;
-};
-
+ };
-XAresult XACapabilitiesMgr_CreateCapabilitieList(
- FrameworkMap* frameworkMap,
- XACapabilities** ppListHead);
+XAresult XACapabilitiesMgr_CreateCapabilitieList(FrameworkMap* frameworkMap,
+ XACapabilities** ppListHead);
XAresult XACapabilitiesMgr_DeleteCapabilitieList(XACapabilities** ppListHead);
-XAresult XACapabilitiesMgr_GetCapsCount(
- XACapabilities* pListHead,
- XACapsType filter,
- XAuint32* count);
+XAresult XACapabilitiesMgr_GetCapsCount(XACapabilities* pListHead,
+ XACapsType filter, XAuint32* count);
-XAresult XACapabilitiesMgr_GetCapsById(
- XACapabilities* pListHead,
- XACapsType filter,
- XAuint32 maxId,
- XACapabilities* data);
+XAresult XACapabilitiesMgr_GetCapsById(XACapabilities* pListHead,
+ XACapsType filter, XAuint32 maxId, XACapabilities* data);
-XAresult XACapabilitiesMgr_GetCapsByIdx(
- XACapabilities* pListHead,
- XACapsType filter,
- XAuint32 idx,
- XACapabilities* data);
+XAresult XACapabilitiesMgr_GetCapsByIdx(XACapabilities* pListHead,
+ XACapsType filter, XAuint32 idx, XACapabilities* data);
-XAresult XACapabilitiesMgr_QueryColorFormats(
- XACapabilities* pListHead,
- XAuint32* pIndex,
- XAuint32* pColorFormats);
+XAresult XACapabilitiesMgr_QueryColorFormats(XACapabilities* pListHead,
+ XAuint32* pIndex, XAuint32* pColorFormats);
#endif /* XACAPABILITIESMGR_H */