#include "prj.h" #include main(int argc,char* argv[1]) { FILE *fp; register short q,p; register short j,i; register short frame; short table[N][N]; int dc,count,temp; short num,step; short qn; /* quant size */ long total_bit; clock_t start,end; set_eigen(); set_zigzag(); set_rand(); /* step 1: find the mv */ read_source(argv[1]); num=256; tot_count=0; printf("\nnum: %3d\n",num); start=clock(); for(frame=1;frame255)? 255:table[j][i]; } /* step 3: other frame one by one */ total_bit=0; for(frame=1;frame