view pidgin/plugins/crazychat/filter.h @ 15565:45d3dd67fa13

With the refactoring I did, it's now possible to reach timestamp_cb_common with conv == NULL. It happens with system logs. I've reworked the code accordingly to avoid an assertion failure.
author Richard Laager <rlaager@wiktel.com>
date Mon, 05 Feb 2007 05:28:54 +0000
parents 5fe8042783c1
children 44f53d3fc54f
line wrap: on
line source

#ifndef __FILTER_H__
#define __FILTER_H__

struct cc_features;

typedef struct filter_bank {
	float head_size[10];
	float head_z_rot[10];
	float head_y_rot[10];
	float mouth_open[10];
	float xfilt[10];
	float yfilt[10];
} filter_bank;	

filter_bank* Filter_Initialize (void);
void Filter_Destroy (filter_bank *f);
void filter(struct cc_features *instance, filter_bank *f);

#endif /* __FILTER_H__ */