diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-13 14:06:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-03-14 18:24:04 +0100 |
commit | cc2a9509ce79793fcd00f91bb6ca3f4c53721e9e (patch) | |
tree | d1541a68a94a8bff6b7d8ab957ca18f6a1956146 /libpostproc | |
parent | 1fea6795a3f75136a234da80a518303fea8ee83c (diff) | |
download | ffmpeg-cc2a9509ce79793fcd00f91bb6ca3f4c53721e9e.tar.gz |
libavcodec, libpostproc: Remove outcommented START/STOP_TIMER
as well as includes of libavutil/timer.h.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libpostproc')
-rw-r--r-- | libpostproc/postprocess.c | 7 | ||||
-rw-r--r-- | libpostproc/postprocess_template.c | 8 |
2 files changed, 2 insertions, 13 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index e16ef259ce..8d44165dee 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -407,7 +407,7 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, const int QP= c->QP; const int dcOffset= ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1; const int dcThreshold= dcOffset*2 + 1; -//START_TIMER + src+= step*4; // src points to begin of the 8x8 Block for(y=0; y<8; y++){ int numEq= 0; @@ -511,11 +511,6 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, src += stride; } -/*if(step==16){ - STOP_TIMER("step16") -}else{ - STOP_TIMER("stepX") -}*/ } //Note: we have C, MMX, MMX2, 3DNOW version there is no 3DNOW+MMX2 one diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index b0adfd168c..df1684d1e2 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -2548,7 +2548,7 @@ static av_always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int st int64_t dc_mask, eq_mask, both_masks; int64_t sums[10*8*2]; src+= step*3; // src points to begin of the 8x8 Block - //{ START_TIMER + __asm__ volatile( "movq %0, %%mm7 \n\t" "movq %1, %%mm6 \n\t" @@ -3071,12 +3071,6 @@ static av_always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int st : "%"FF_REG_a ); } -/*if(step==16){ - STOP_TIMER("step16") -}else{ - STOP_TIMER("stepX") -} - } */ } #endif //TEMPLATE_PP_MMX |