# HG changeset patch # User michael # Date 1093702130 0 # Node ID ffa4fa6bebe9dd8bdf913f20b10ac1a256707350 # Parent 3eae46c131a3f1928bef41d4d39974abd069ba58 10l more benchmarking code inline diff -r 3eae46c131a3 -r ffa4fa6bebe9 snow.c --- a/snow.c Sat Aug 28 12:28:53 2004 +0000 +++ b/snow.c Sat Aug 28 14:08:50 2004 +0000 @@ -1906,13 +1906,13 @@ int qmul= qexp[qlog&7]<<(qlog>>3); int qadd= (s->qbias*qmul)>>QBIAS_SHIFT; + START_TIMER + if(b->buf == s->spatial_dwt_buffer || s->qlog == LOSSLESS_QLOG){ qadd= 0; qmul= 1<last_picture.data[plane_index]; int w= p->width; int h= p->height; + START_TIMER if(s->avctx->debug&512){ for(y=0; yblock[index].type, add, s->block[index].color[plane_index]); + STOP_TIMER("add_xblock") } } + + STOP_TIMER("predict_plane") } static void quantize(SnowContext *s, SubBand *b, DWTELEM *src, int stride, int bias){