Relax libyuv test threshold and upgrade to libyuv r182.

BUG=http://code.google.com/p/webrtc/issues/detail?id=267
TEST=

Review URL: https://webrtc-codereview.appspot.com/391018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1742 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org 2012-02-22 11:21:18 +00:00
parent 539ef94f20
commit 0fe2171b59
2 changed files with 3 additions and 3 deletions

2
DEPS
View File

@ -72,7 +72,7 @@ deps = {
# TODO(andrew): roll to 164 after fixing:
# http://code.google.com/p/webrtc/issues/detail?id=267
"trunk/third_party/libyuv":
(Var("googlecode_url") % "libyuv") + "/trunk@121",
(Var("googlecode_url") % "libyuv") + "/trunk@182",
# Used by tools/quality_tracking/dashboard and tools/python_charts
"trunk/third_party/google-visualization-python":

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@ -130,7 +130,7 @@ TEST_F(TestLibYuv, ConvertTest) {
fwrite(res_i420_buffer, frame_length_, 1, output_file);
psnr = I420PSNR(orig_buffer, res_i420_buffer, width_, height_);
// Optimization Speed- quality trade-off => 45 dB only (platform dependant).
EXPECT_GT(ceil(psnr), 45);
EXPECT_GT(ceil(psnr), 44);
j++;
delete [] res_rgb_buffer2;