khronosfws/openmax_al/src/gst_adaptation/xaledarrayitfadaptation.c
changeset 16 43d09473c595
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/khronosfws/openmax_al/src/gst_adaptation/xaledarrayitfadaptation.c	Fri May 14 16:22:35 2010 +0300
@@ -0,0 +1,57 @@
+/*
+* 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: 
+*
+*/
+
+#include "xaledarrayadaptctx.h"
+#include "xaledarrayitfadaptation.h"
+#include "xaadaptationgst.h"
+
+/*
+ * XAresult XALEDArrayItfAdapt_ActivateLEDArray ( XAAdaptationGstCtx *bCtx, XAuint32 lightMask )
+ */
+XAresult XALEDArrayItfAdapt_ActivateLEDArray ( XAAdaptationGstCtx *bCtx, XAuint32 lightMask )
+{
+    XAresult ret = XA_RESULT_SUCCESS;
+    DEBUG_API_A1("->XALEDArrayItfAdapt_ActivateLEDArray %ld", lightMask);
+
+    if(!bCtx || bCtx->baseObj.ctxId != XALedArrayAdaptation )
+    {
+        DEBUG_ERR("XA_RESULT_PARAMETER_INVALID");
+        return XA_RESULT_PARAMETER_INVALID;
+    }
+
+    DEBUG_INFO("No support > stubbed.");
+    DEBUG_API("<-XALEDArrayItfAdapt_ActivateLEDArray");
+    return ret;
+}
+/*
+ * XAresult XALEDArrayItfAdapt_SetColor ( XAAdaptationGstCtx *bCtx, XAuint8 index, const XAHSL * pColor )
+ */
+XAresult XALEDArrayItfAdapt_SetColor ( XAAdaptationGstCtx *bCtx, XAuint8 index, const XAHSL * pColor )
+{
+    XAresult ret = XA_RESULT_SUCCESS;
+    DEBUG_API("->XALEDArrayItfAdapt_SetColor");
+
+    if(!bCtx || bCtx->baseObj.ctxId != XALedArrayAdaptation )
+    {
+        DEBUG_ERR("XA_RESULT_PARAMETER_INVALID");
+        return XA_RESULT_PARAMETER_INVALID;
+    }
+
+    DEBUG_INFO("No support > stubbed.");
+    DEBUG_API("<-XALEDArrayItfAdapt_SetColor");
+    return ret;
+}