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

marco subversion at mplayerhq.hu
Sat Aug 11 23:50:25 CEST 2007


Author: marco
Date: Sat Aug 11 23:50:25 2007
New Revision: 711

Log:
measure the cycles for frame decoding

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sat Aug 11 23:50:25 2007
@@ -2286,6 +2286,8 @@ static int dirac_decode_frame(AVCodecCon
     int comp;
     int x,y;
 
+START_TIMER
+
     for (comp = 0; comp < 3; comp++) {
         int *coeffs;
         uint8_t *frame = s->picture.data[comp];
@@ -2329,6 +2331,8 @@ static int dirac_decode_frame(AVCodecCon
         av_free(coeffs);
     }
 
+STOP_TIMER("dirac_frame_decode");
+
     return 0;
 }
 



More information about the FFmpeg-soc mailing list