[FFmpeg-soc] [soc]: r717 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Sun Aug 12 01:10:50 CEST 2007


Author: marco
Date: Sun Aug 12 01:10:50 2007
New Revision: 717

Log:
measure the cycles for halfpel interpolation

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sun Aug 12 01:10:50 2007
@@ -1974,6 +1974,8 @@ static void interpolate_frame_halfpel(AV
     int x, y;
     const int t[5] = { 167, -56, 25, -11, 3 };
 
+START_TIMER
+
     refdata = refframe->data[comp];
 
     /* Copy even lines.  */
@@ -2052,6 +2054,8 @@ static void interpolate_frame_halfpel(AV
         lineout += outwidth;
         linein  += outwidth;
     }
+
+STOP_TIMER("halfpel");
 }
 
 static inline int get_halfpel(uint8_t *refframe, int width, int height,



More information about the FFmpeg-soc mailing list