#ifndef OUTPUT_H #define OUTPUT_H #include #include #include "defs.h" #include "types.h" #include "structs.h" #include "bitmap.h" #include "avi.h" #include "wave.h" #include "aviread.h" void human_number(int number,char*); /* convert int to a human view: e.g. <1024 - just print a number 2^10-2^20 "number/1024 K" 2^30-2^20 "number/2^20 M" 2^30-2^31 "number /2^30 G" */ void report( char *output,const char *template1,const char *template2, MainAVIHeader *aviheader, mem_chunk * str_data, file_data * file_d, char *info[23], idxStat StreamData[], idxStat *Global, idxStat *Audio, idxStat *Video); const char D[] = "%d"; /* Just a template for the printf (using by the PRN macross)*/ #define PRN(a) {sprintf( output, new_template, a );output+=strlen(output);} #endif