Lines Matching defs:reporter
16 static void codec_yuv(skiatest::Reporter* reporter,
24 REPORTER_ASSERT(reporter, codec);
37 REPORTER_ASSERT(reporter, !success);
40 REPORTER_ASSERT(reporter, !success);
43 REPORTER_ASSERT(reporter, SkToBool(expectedInfo) == success);
47 REPORTER_ASSERT(reporter, *expectedInfo == yuvaPixmapInfo.yuvaInfo());
50 REPORTER_ASSERT(reporter, numPlanes <= SkYUVAInfo::kMaxPlanes);
54 REPORTER_ASSERT(reporter, !planeInfo.isEmpty());
55 REPORTER_ASSERT(reporter, planeCT != kUnknown_SkColorType);
56 REPORTER_ASSERT(reporter, planeInfo.validRowBytes(yuvaPixmapInfo.rowBytes(i)));
59 REPORTER_ASSERT(reporter, planeDataType == yuvaPixmapInfo.dataType());
63 REPORTER_ASSERT(reporter, planeInfo.dimensions().isEmpty());
64 REPORTER_ASSERT(reporter, planeInfo.colorType() == kUnknown_SkColorType);
65 REPORTER_ASSERT(reporter, yuvaPixmapInfo.rowBytes(i) == 0);
70 REPORTER_ASSERT(reporter, pixmaps.isValid());
73 REPORTER_ASSERT(reporter, pixmaps.plane(i).info() == yuvaPixmapInfo.planeInfo(i));
76 REPORTER_ASSERT(reporter, pixmaps.plane(i).rowBytes() == 0);
80 REPORTER_ASSERT(reporter, SkCodec::kSuccess == codec->getYUVAPlanes(pixmaps));
134 DEF_TEST(YUVMath, reporter) {
159 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(tmp[i], expected, tolerance));