summaryrefslogtreecommitdiffstats
path: root/media/tools
diff options
context:
space:
mode:
Diffstat (limited to 'media/tools')
-rw-r--r--media/tools/scaler_bench/scaler_bench.cc10
1 files changed, 8 insertions, 2 deletions
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;