00001
00035
00036
00037 #include <stdio.h>
00038 #include <string.h>
00039 #include "plugin_defs.h"
00040
00041 #define PLUGIN_TITLE "feature vector postprocess plugin for Julius"
00042
00065 int
00066 initialize()
00067 {
00068 return 0;
00069 }
00070
00107 int
00108 get_plugin_info(int opcode, char *buf, int buflen)
00109 {
00110 switch(opcode) {
00111 case 0:
00112
00113 strncpy(buf, PLUGIN_TITLE, buflen);
00114 break;
00115 }
00116
00117 return 0;
00118 }
00119
00162 void
00163 fvin_postprocess(float *vecbuf, int veclen, int nframe)
00164 {
00165 int i;
00166
00167 printf("%d:", nframe);
00168 for(i=0;i<veclen;i++) {
00169 printf(" %f", vecbuf[i]);
00170 }
00171 printf("\n");
00172 }
00173