diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-13 16:06:01 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-03-14 20:24:04 +0300 |
commit | cc2a9509ce79793fcd00f91bb6ca3f4c53721e9e (patch) | |
tree | d1541a68a94a8bff6b7d8ab957ca18f6a1956146 /libavcodec/mpegvideo.c | |
parent | 1fea6795a3f75136a234da80a518303fea8ee83c (diff) |
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 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index dbb6ab9b39..5516ed8b7c 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -32,7 +32,6 @@ #include "libavutil/imgutils.h" #include "libavutil/internal.h" #include "libavutil/motion_vector.h" -#include "libavutil/timer.h" #include "avcodec.h" #include "blockdsp.h" #include "h264chroma.h" @@ -469,7 +468,6 @@ int ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src) MpegEncContext bak; int i, ret; // FIXME copy only needed parts - // START_TIMER backup_duplicate_context(&bak, dst); memcpy(dst, src, sizeof(MpegEncContext)); backup_duplicate_context(dst, &bak); @@ -487,8 +485,6 @@ int ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src) "scratch buffers.\n"); return ret; } - // STOP_TIMER("update_duplicate_context") - // about 10k cycles / 0.01 sec for 1000frames on 1ghz with 2 threads return 0; } |