videoeditorengine/vedengine/GenManip/inc/DCDefines.h
author Mikael Laine <mikael.laine@ixonos.com>
Fri, 29 Jan 2010 14:08:33 +0200
changeset 0 951a5db380a0
permissions -rw-r--r--
Committing the Video Editor package under the Eclipse Public License

/*
* Copyright (c) 2010 Ixonos Plc.
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the "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:
* Ixonos Plc
*
* Description:  
*
*/


//----IMAAMI----
//*************************************************************************
//DCDefines.h
//
//Version 1.00
//
//Contains:
//	_Defines_H 
//		Defines the parameter values used in the IMAAMI algorithms.
//			
//History:
//	19.08.2003 version 1.00 created using existing IMAAMI algorithms	
//*************************************************************************



#ifndef _Defines_H
#define _Defines_H

#define EXPO_SHIFT			13			// Accuracy in exponent table
#define EXPO_MULTI			(1 << EXPO_SHIFT)	// Multiplier for exponent
#define EXPO_SIZE			(3 * EXPO_MULTI)	// Size of exponent table
#define EXPO_ACCU			12			// Accuracy of weight value
#define EXPO_MULT			(1 << EXPO_ACCU)
#define EXPO_DIFF			(2 * SHIFT_PLACE - EXPO_SHIFT)

#define SHIFT_COEFF			(16)	// Accuracy of float to integer (coeff)
#define SHIFT_PLACE			( 8)	// Accuracy of float to integer (place)
#define SHIFT_DIFF			( 8)	// Accuracy reduction		(SHIFT_COEFF - SHIFT_PLACE)

#define EXPO_SIZE2			(384)	// Size of exponent table	((3 * (1 << EXPO_SHIFT2)) >> 1)
#define EXPO_DIFF2			(  8)	// Reduction of accuracy	(SHIFT_COEFF - EXPO_SHIFT2)


#endif // ifndef _Defines_H
//----IMAAMI----