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

marco subversion at mplayerhq.hu
Sat Aug 11 21:42:13 CEST 2007


Author: marco
Date: Sat Aug 11 21:42:13 2007
New Revision: 691

Log:
measure the IDWT53 cycles

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sat Aug 11 21:42:13 2007
@@ -1625,6 +1625,8 @@ static int dirac_subband_idwt_53(AVCodec
     int synth_width = width  << 1;
     int synth_height = height << 1;
 
+START_TIMER
+
     synth = av_malloc(synth_width * synth_height * sizeof(int));
     if (!synth) {
         av_log(avctx, AV_LOG_ERROR, "av_malloc() failed\n");
@@ -1729,6 +1731,8 @@ static int dirac_subband_idwt_53(AVCodec
         }
     }
 
+STOP_TIMER("idwt53")
+
     av_free(synth);
 
     return 0;



More information about the FFmpeg-soc mailing list