projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de890c9
)
TIMER dummies for non-x86
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 26 Jul 2004 15:52:55 +0000
(15:52 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 26 Jul 2004 15:52:55 +0000
(15:52 +0000)
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/common.h
patch
|
blob
|
history
diff --git
a/libavcodec/common.h
b/libavcodec/common.h
index
2294791
..
3ac8b4f
100644
(file)
--- a/
libavcodec/common.h
+++ b/
libavcodec/common.h
@@
-1281,6
+1281,9
@@
tend= rdtsc();\
av_log(NULL, AV_LOG_DEBUG, "%Ld dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
}\
}
+#else
+#define START_TIMER
+#define STOP_TIMER(id) {}
#endif
#define CLAMP_TO_8BIT(d) ((d > 0xff) ? 0xff : (d < 0) ? 0 : d)