diff -r bf6a71c50e42 -r 09fa7c3c5079 genericopenlibs/liboil/tsrc/testsuite/wavelet/src/wavelet.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericopenlibs/liboil/tsrc/testsuite/wavelet/src/wavelet.c Thu Sep 02 22:16:05 2010 +0300 @@ -0,0 +1,1421 @@ +/* +* 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: +* +*/ + + +#include +#include +#include +#include + +#include + +#define LOG_FILE "c:\\logs\\testsuite_wavelet_log.txt" +#include "std_log_result.h" +#define LOG_FILENAME_LINE __FILE__, __LINE__ + +#define SIZE 20 + +void create_xml(int result) +{ + if(result) + assert_failed = 1; + + testResultXml("testsuite_wavelet"); + close_log_file(); +} + +void test_oil_add2_rshift_add_s16() + { + //int16_t * d, const int16_t * s1, const int16_t * s2, const int16_t * s3, const int16_t * s4_2, int n + int16_t input1[SIZE]; + int16_t input2[SIZE]; + int16_t input3[SIZE]; + int16_t input4[2]; + int16_t output[SIZE]; + int16_t linux_output[] = {0,1,2,3,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,24}; + int i = 0; + + for(i=0; i