omxil/omxilcomponentcommon/src/common/omxilutil.h
changeset 0 40261b775718
child 16 eedf2dcd43c6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omxil/omxilcomponentcommon/src/common/omxilutil.h	Tue Feb 02 01:56:55 2010 +0200
@@ -0,0 +1,47 @@
+// Copyright (c) 2008-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:
+//
+
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef OMXILUTIL_H
+#define OMXILUTIL_H
+
+#include <e32def.h>
+
+#include <openmax/il/khronos/v1_x/OMX_Core.h>
+#include <openmax/il/khronos/v1_x/OMX_Types.h>
+
+
+class TOmxILUtil
+	{
+
+public:
+
+	IMPORT_C static OMX_ERRORTYPE CheckOmxStructSizeAndVersion(
+		OMX_PTR apHeader, OMX_U32 aSize);
+
+	IMPORT_C static void ClearBufferContents(
+		OMX_BUFFERHEADERTYPE* apBufferHeader);
+
+	};
+
+
+#endif // OMXILUTIL_H
+
+