Skip to content

Commit

Permalink
Issue #9: revised concepts in profiler app
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Oct 30, 2018
1 parent 3f0e011 commit 2b770cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/rgbswap/profile_argb_to_bgra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<microseconds>( 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);

Expand All @@ -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<microseconds>( 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
Expand Down

0 comments on commit 2b770cc

Please sign in to comment.