[svn] / trunk / xvidcore / examples / xvid_stat.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/xvid_stat.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 501, Sat Sep 21 09:29:36 2002 UTC revision 503, Sat Sep 21 11:55:53 2002 UTC
# Line 19  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid_stat.c,v 1.9 2002-09-21 09:29:36 edgomez Exp $   * $Id: xvid_stat.c,v 1.11 2002-09-21 11:55:53 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 126  Line 126 
126          XVID_H263QUANT | XVID_HALFPEL,                // Q 3          XVID_H263QUANT | XVID_HALFPEL,                // Q 3
127          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V, // Q 4          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V, // Q 4
128          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V, // Q 5          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V, // Q 5
129          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V | XVID_LUMIMASKING  // Q 6          XVID_H263QUANT | XVID_HALFPEL | XVID_INTER4V  // Q 6
130  };  };
131    
132    
# Line 502  Line 502 
502          printf("size %6d ",totalsize);          printf("size %6d ",totalsize);
503          printf("( %4d kbps ",(int)(totalsize*8*ARG_FRAMERATE/1000));          printf("( %4d kbps ",(int)(totalsize*8*ARG_FRAMERATE/1000));
504          printf("/ %.2f bpp) ",(double)totalsize*8/XDIM/YDIM);          printf("/ %.2f bpp) ",(double)totalsize*8/XDIM/YDIM);
505          printf("enc: %6.1f fps, dec: %6.1f fps \n",1/totalenctime, 1/totaldectime);          printf("enc: %6.1f fps, dec: %6.1f fps \n",CLOCKS_PER_SEC/(totalenctime*1000), CLOCKS_PER_SEC/(totaldectime*1000));
506          printf("PSNR P(%d): %5.2f ( %5.2f , %5.2f ; %5.4f ) ",Pframes,Ppsnr,Pminpsnr,Pmaxpsnr,sqrt(Pvarpsnr/filenr));          printf("PSNR P(%d): %5.2f ( %5.2f , %5.2f ; %5.4f ) ",Pframes,Ppsnr,Pminpsnr,Pmaxpsnr,sqrt(Pvarpsnr/filenr));
507          printf("I(%d): %5.2f ( %5.2f , %5.2f ; %5.4f ) ",Iframes,Ipsnr,Iminpsnr,Imaxpsnr,sqrt(Ivarpsnr/filenr));          printf("I(%d): %5.2f ( %5.2f , %5.2f ; %5.4f ) ",Iframes,Ipsnr,Iminpsnr,Imaxpsnr,sqrt(Ivarpsnr/filenr));
508          printf("\n");          printf("\n");

Legend:
Removed from v.501  
changed lines
  Added in v.503

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4