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

marco subversion at mplayerhq.hu
Sat Aug 11 22:00:56 CEST 2007


Author: marco
Date: Sat Aug 11 22:00:56 2007
New Revision: 701

Log:
measure the 9/7 IDWT cycles

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sat Aug 11 22:00:56 2007
@@ -1764,6 +1764,8 @@ static int dirac_subband_idwt_97(AVCodec
     int synth_width = width  << 1;
     int synth_height = height << 1;
 
+START_TIMER
+
     /* XXX: This should be removed, the reordering should be done in
        place.  */
     synth = av_malloc(synth_width * synth_height * sizeof(int));
@@ -1848,6 +1850,8 @@ static int dirac_subband_idwt_97(AVCodec
         }
     }
 
+STOP_TIMER("idwt97")
+
     av_free(synth);
 
     return 0;



More information about the FFmpeg-soc mailing list