sl@0: /* sl@0: * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: //Portions Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. sl@0: sl@0: #include "liboil/liboilfunction.h" sl@0: #include "liboil/liboiltest.h" sl@0: #include "liboil/liboilrandom.h" sl@0: sl@0: static void sl@0: shift_test (OilTest *test) sl@0: { sl@0: int16_t *data; sl@0: int i; sl@0: int n; sl@0: sl@0: if (0) { sl@0: data = (int16_t *)oil_test_get_source_data (test, OIL_ARG_SRC1); sl@0: n = oil_test_get_arg_post_n (test, OIL_ARG_SRC1); sl@0: for(i=0;i>s2_2[1]; sl@0: } sl@0: } sl@0: OIL_DEFINE_IMPL_REF (addc_rshift_s16_ref, addc_rshift_s16); sl@0: sl@0: void sl@0: addc_s16_ref (int16_t *d1, uint16_t *s1, int16_t *s2_1, int n) sl@0: { sl@0: int i; sl@0: for(i=0;ifunc; sl@0: } sl@0: #endif sl@0: sl@0: #ifdef __SYMBIAN32__ sl@0: sl@0: EXPORT_C void** _oil_function_class_ptr_addc_rshift_s16 () { sl@0: oil_function_class_ptr_addc_rshift_s16 = __oil_function_class_addc_rshift_s16(); sl@0: return &oil_function_class_ptr_addc_rshift_s16->func; sl@0: } sl@0: #endif sl@0: