aboutsummaryrefslogtreecommitdiff
path: root/unit_test
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2022-12-05 16:10:38 -0800
committerlibyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-06 19:54:40 +0000
commit610e0cdead3fcd3288693d18eab8c7323805ad9e (patch)
tree6b1b50bd731fdfe47a81a13acf4fbf16f75360b0 /unit_test
parentc19943b4d00b1f44cc2158d3332e4450d69353ae (diff)
downloadlibyuv-610e0cdead3fcd3288693d18eab8c7323805ad9e.tar.gz
MT2T Warning fixes for fuchsia
Bug: b/258474032, b/257266635 Change-Id: Ic5cbbc60e2e1463361e359a2fe3e97976c1ea929 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4081348 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Justin Green <greenjustin@google.com>
Diffstat (limited to 'unit_test')
-rw-r--r--unit_test/convert_test.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/unit_test/convert_test.cc b/unit_test/convert_test.cc
index 47eff2ec..ad34cec7 100644
--- a/unit_test/convert_test.cc
+++ b/unit_test/convert_test.cc
@@ -538,6 +538,26 @@ TESTBIPLANARTOBP(P016, uint16_t, 2, 2, 2, P416, uint16_t, 2, 1, 1, 12, 1, 1)
TESTBIPLANARTOBP(P216, uint16_t, 2, 2, 1, P416, uint16_t, 2, 1, 1, 12, 1, 1)
TESTBIPLANARTOBP(MM21, uint8_t, 1, 2, 2, NV12, uint8_t, 1, 2, 2, 8, 16, 32)
+// TODO (greenjustin): Test all variants.
+TESTBIPLANARTOBPI(MT2T,
+ uint16_t,
+ 2,
+ 2,
+ 2,
+ P010,
+ uint16_t,
+ 2,
+ 2,
+ 2,
+ benchmark_width_,
+ _Opt,
+ +,
+ 0,
+ 1,
+ 10,
+ 16,
+ 32)
+
#define TESTBIPLANARTOPI(SRC_FMT_PLANAR, SRC_T, SRC_BPC, SRC_SUBSAMP_X, \
SRC_SUBSAMP_Y, FMT_PLANAR, DST_T, DST_BPC, \
DST_SUBSAMP_X, DST_SUBSAMP_Y, W1280, N, NEG, OFF, \