From 85654d072ae2f7054c812375673c75606a4f8468 Mon Sep 17 00:00:00 2001 From: "fbarchard@chromium.org" Date: Fri, 23 Apr 2010 10:14:29 +0000 Subject: Vertical Scaler better pipelined for Atom BUG=42064 TEST=sse2 version of scaling should be faster on Atom. No quality change. Review URL: http://codereview.chromium.org/1700010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45431 0039d316-1c4b-4281-b951-d872f2087c98 --- media/tools/scaler_bench/scaler_bench.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'media/tools') diff --git a/media/tools/scaler_bench/scaler_bench.cc b/media/tools/scaler_bench/scaler_bench.cc index a50efa0..749e1a6 100644 --- a/media/tools/scaler_bench/scaler_bench.cc +++ b/media/tools/scaler_bench/scaler_bench.cc @@ -165,13 +165,13 @@ int main(int argc, const char** argv) { source_height = 0; } - std::string dest_width_param(cmd_line->GetSwitchValueASCII("dst-w")); + std::string dest_width_param(cmd_line->GetSwitchValueASCII("dest-w")); if (!dest_width_param.empty() && !StringToInt(dest_width_param, &dest_width)) { dest_width = 0; } - std::string dest_height_param(cmd_line->GetSwitchValueASCII("dst-h")); + std::string dest_height_param(cmd_line->GetSwitchValueASCII("dest-h")); if (!dest_height_param.empty() && !StringToInt(dest_height_param, &dest_height)) { dest_height = 0; @@ -200,6 +200,12 @@ int main(int argc, const char** argv) { << "ms/frame" << std::endl; std::cout << "No filtering: " << BenchmarkFilter(media::FILTER_NONE) << "ms/frame" << std::endl; + std::cout << "Bilinear Vertical: " + << BenchmarkFilter(media::FILTER_BILINEAR_V) + << "ms/frame" << std::endl; + std::cout << "Bilinear Horizontal: " + << BenchmarkFilter(media::FILTER_BILINEAR_H) + << "ms/frame" << std::endl; std::cout << "Bilinear: " << BenchmarkFilter(media::FILTER_BILINEAR) << "ms/frame" << std::endl; -- cgit v1.1