From 5ef7680eae68c1dd15349f384bbac574223c6489 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Wed, 29 Aug 2012 23:51:38 +0000 Subject: [PATCH] Change size of V210 in unittest from 3 bytes to 45 / 16 bytes. BUG=75 TEST=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=**V210* Review URL: https://webrtc-codereview.appspot.com/762005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@332 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- unit_test/planar_test.cc | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.chromium b/README.chromium index b2064cf1f..1996a9910 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 331 +Version: 332 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 6dd68c83a..51f81f9c0 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 331 +#define LIBYUV_VERSION 332 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/unit_test/planar_test.cc b/unit_test/planar_test.cc index 66f4b4158..381dee5ec 100644 --- a/unit_test/planar_test.cc +++ b/unit_test/planar_test.cc @@ -92,8 +92,8 @@ TESTPLANARTOB(I422, 2, 1, ARGB, 4) TESTPLANARTOB(I444, 1, 1, ARGB, 4) TESTPLANARTOB(I420, 2, 2, YUY2, 2) TESTPLANARTOB(I420, 2, 2, UYVY, 2) -TESTPLANARTOB(I420, 2, 2, V210, 3) -// V210 is 22.5 bpp but 3 bytes will suffice for unittest. +// V210 is 22.5 bpp. +TESTPLANARTOB(I420, 2, 2, V210, 45 / 16) TESTPLANARTOB(I420, 2, 2, I400, 1) TESTPLANARTOB(I420, 2, 2, BayerBGGR, 1) TESTPLANARTOB(I420, 2, 2, BayerRGGB, 1) @@ -240,8 +240,8 @@ TESTATOPLANAR(ARGB, 4, I422, 2, 1) // TODO(fbarchard): Implement and test 411 and 444 TESTATOPLANAR(YUY2, 2, I420, 2, 2) TESTATOPLANAR(UYVY, 2, I420, 2, 2) -// V210 is 22.5 bpp but 3 bytes will suffice for unittest. -TESTATOPLANAR(V210, 3, I420, 2, 2) +// V210 is 22.5 bpp. +TESTATOPLANAR(V210, 45 / 16, I420, 2, 2) TESTATOPLANAR(I400, 1, I420, 2, 2) TESTATOPLANAR(BayerBGGR, 1, I420, 2, 2) TESTATOPLANAR(BayerRGGB, 1, I420, 2, 2)