/*
 * Raw_Processor_implC.h
 *
 *  Created on: 09.01.2011
 *      Author: uwe
 */

#ifndef RAW_PROCESSOR_IMPLC_H_
#define RAW_PROCESSOR_IMPLC_H_

#define CROP(inte) ((((inte) > 0x0000FFFF)) ? ((((inte) & 0x80000000) )? 0 : 0xFFFF) : inte    )


#ifdef __cplusplus
extern "C"
{
#endif

struct struct_mul_matrix_function_variable{
	unsigned short 	*comp0;
	unsigned short 	*comp1;
	unsigned short 	*comp2;
	int					start_row;
	int					number_row;
	int					start_col;
	int					number_col;
	int					linestride;
	float				*matrix;
};

typedef struct struct_mul_matrix_function_variable mul_matrix_function_variable;

void mul_matrix_01(const mul_matrix_function_variable *variable);

#ifdef __cplusplus
}
#endif

#endif /* RAW_PROCESSOR_IMPLC_H_ */
