diff -r e5d77a29bdca -r 79045913e4e9 genericopenlibs/liboil/tsrc/testsuite/ref/src/rowcoladd8x8.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericopenlibs/liboil/tsrc/testsuite/ref/src/rowcoladd8x8.c Thu Aug 05 23:23:13 2010 +0530 @@ -0,0 +1,112 @@ +// Copyright (c) 2010 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: +// + + + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include +#include + +#define LOG_FILE "c:\\logs\\testsuite_rowcoladd8x8_log.txt" +#include "std_log_result.h" +#define LOG_FILENAME_LINE __FILE__, __LINE__ +#define MAX_SIZE 64 +#define RES_SIZE 1 + +void create_xml(int result) +{ + if(result) + assert_failed = 1; + + testResultXml("testsuite_rowcoladd8x8"); + close_log_file(); +} + +void test_colsad8x8_u8() + { + uint8_t arr1[MAX_SIZE],arr2[MAX_SIZE]; + uint32_t res[RES_SIZE]={0}, check[RES_SIZE]={30}; + int i; + + for(i=0;i