Index: media/base/yuv_convert_perftest.cc |
diff --git a/media/base/yuv_convert_perftest.cc b/media/base/yuv_convert_perftest.cc |
index 0188ce6e33f6ece840477ad83d2804dc4874993c..7ff9041be19ee1b61f98584c702025ec625a878b 100644 |
--- a/media/base/yuv_convert_perftest.cc |
+++ b/media/base/yuv_convert_perftest.cc |
@@ -9,6 +9,7 @@ |
#include "base/path_service.h" |
#include "base/time/time.h" |
#include "media/base/simd/convert_yuv_to_rgb.h" |
+#include "media/base/simd/yuv_to_rgb_table.h" |
#include "media/base/yuv_convert.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/perf/perf_test.h" |
@@ -76,7 +77,8 @@ TEST_F(YUVConvertPerfTest, ConvertYUVToRGB32Row_MMX) { |
yuv_bytes_.get() + kSourceUOffset + (chroma_row * kSourceWidth / 2), |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
- kWidth); |
+ kWidth, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |
@@ -100,7 +102,8 @@ TEST_F(YUVConvertPerfTest, ConvertYUVToRGB32Row_SSE) { |
yuv_bytes_.get() + kSourceUOffset + (chroma_row * kSourceWidth / 2), |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
- kWidth); |
+ kWidth, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |
@@ -126,7 +129,8 @@ TEST_F(YUVConvertPerfTest, ScaleYUVToRGB32Row_MMX) { |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
kWidth, |
- kSourceDx); |
+ kSourceDx, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |
@@ -152,7 +156,8 @@ TEST_F(YUVConvertPerfTest, ScaleYUVToRGB32Row_SSE) { |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
kWidth, |
- kSourceDx); |
+ kSourceDx, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |
@@ -178,7 +183,8 @@ TEST_F(YUVConvertPerfTest, LinearScaleYUVToRGB32Row_MMX) { |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
kWidth, |
- kSourceDx); |
+ kSourceDx, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |
@@ -204,7 +210,8 @@ TEST_F(YUVConvertPerfTest, LinearScaleYUVToRGB32Row_SSE) { |
yuv_bytes_.get() + kSourceVOffset + (chroma_row * kSourceWidth / 2), |
rgb_bytes_converted_.get(), |
kWidth, |
- kSourceDx); |
+ kSourceDx, |
+ kCoefficientsRgbY); |
} |
} |
double total_time_seconds = |