From bccb34a0eb613ee21de1301c94161a318a8a23a5 Mon Sep 17 00:00:00 2001 From: Dzhoshkun Ismail Shakir Date: Tue, 30 Oct 2018 08:42:11 +0000 Subject: [PATCH] Issue #9: revised concepts in profiler app --- src/tests/rgbswap/profile_argb_to_bgra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/rgbswap/profile_argb_to_bgra.cpp b/src/tests/rgbswap/profile_argb_to_bgra.cpp index 55e512b3..11594975 100644 --- a/src/tests/rgbswap/profile_argb_to_bgra.cpp +++ b/src/tests/rgbswap/profile_argb_to_bgra.cpp @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) copy_strided(argb, argb + l, bgra_functor + 3, 4); t2 = high_resolution_clock::now(); duration = duration_cast( t2 - t1 ).count(); - cout << "functor (" << (argb_same_as_bgra(argb, bgra_functor, l) ? "success" : "failure") + cout << "Function (" << (argb_same_as_bgra(argb, bgra_functor, l) ? "success" : "failure") << ") took: " << duration << " usec" << endl; free(bgra_functor); @@ -114,7 +114,7 @@ int main(int argc, char *argv[]) sws_scale(c, srcSlice, srcStride, srcSliceY, srcSliceH, dst, dstStride); t2 = high_resolution_clock::now(); duration = duration_cast( t2 - t1 ).count(); - cout << "ffmpeg (" << (argb_same_as_bgra(argb, bgra_ffmpeg, l) ? "success" : "failure") + cout << "FFmpeg (" << (argb_same_as_bgra(argb, bgra_ffmpeg, l) ? "success" : "failure") << ") took: " << duration << " usec" << endl; free(bgra_ffmpeg); #endif