[xiph-commits] r8886 - experimental/derf/theora-exp/lib

tterribe at motherfish-iii.xiph.org tterribe at motherfish-iii.xiph.org
Tue Feb 8 23:44:23 PST 2005


Author: tterribe
Date: 2005-02-08 23:44:21 -0800 (Tue, 08 Feb 2005)
New Revision: 8886

Modified:
   experimental/derf/theora-exp/lib/mcenc.c
Log:
Remove static performance counters.


Modified: experimental/derf/theora-exp/lib/mcenc.c
===================================================================
--- experimental/derf/theora-exp/lib/mcenc.c	2005-02-09 07:43:24 UTC (rev 8885)
+++ experimental/derf/theora-exp/lib/mcenc.c	2005-02-09 07:44:21 UTC (rev 8886)
@@ -338,12 +338,6 @@
   _ogg_free(_mcenc);
 }
 
-static int med_test_count;
-static int seta_test_count;
-static int setb_test_count;
-static int mbsquare_test_count;
-static int bsquare_test_count;
-
 /*Perform a motion vector search for this macro block against a single
    reference frame.
   As a bonus, individual block motion vectors are computed as well, as much of
@@ -388,7 +382,6 @@
   hit_cache[candy+15]|=(ogg_int32_t)1<<candx+15;
   best_err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
    ref_framei,block_err);
-  med_test_count++;
   best_vec[0]=candx;
   best_vec[1]=candy;
   for(bi=0;bi<4;bi++){
@@ -418,7 +411,6 @@
       hit_cache[candy+15]|=hitbit;
       err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
        ref_framei,block_err);
-      seta_test_count++;
       if(err<best_err){
         best_err=err;
         best_vec[0]=candx;
@@ -440,7 +432,6 @@
         hit_cache[candy+15]|=hitbit;
         err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
          ref_framei,block_err);
-        setb_test_count++;
         if(err<best_err){
           best_err=err;
           best_vec[0]=candx;
@@ -475,7 +466,6 @@
             hit_cache[candy+15]|=hitbit;
             err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,
              candx,candy,ref_framei,block_err);
-            mbsquare_test_count++;
             if(err<best_err){
               best_err=err;
               best_site=site;
@@ -536,7 +526,6 @@
               hit_cache[candy+15]|=hitbit;
               err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,
                candx,candy,ref_framei,block_err);
-              bsquare_test_count++;
               if(err<best_err){
                 best_err=err;
                 best_vec[0]=candx;
@@ -605,7 +594,6 @@
   hit_cache[candy+15]|=(ogg_int32_t)1<<candx+15;
   best_err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
    ref_framei,block_err);
-  med_test_count++;
   best_vec[0]=candx;
   best_vec[1]=candy;
   /*If this predictor fails, move on to set A.*/
@@ -630,7 +618,6 @@
       hit_cache[candy+15]|=hitbit;
       err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
        ref_framei,block_err);
-      seta_test_count++;
       if(err<best_err){
         best_err=err;
         best_vec[0]=candx;
@@ -647,7 +634,6 @@
         hit_cache[candy+15]|=hitbit;
         err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,candx,candy,
          ref_framei,block_err);
-        setb_test_count++;
         if(err<best_err){
           best_err=err;
           best_vec[0]=candx;
@@ -677,7 +663,6 @@
             hit_cache[candy+15]|=hitbit;
             err=oc_mcenc_ysad_check_mbcandidate_fullpel(_mcenc,_mbi,
              candx,candy,ref_framei,block_err);
-            mbsquare_test_count++;
             if(err<best_err){
               best_err=err;
               best_site=site;



More information about the commits mailing list