Lines Matching refs:yuvInfo
34 SkYUVPlanesCache::Info yuvInfo; in DEF_TEST() local
36 yuvInfo.fSizeInfo.fSizes[i].fWidth = 20 * (i + 1); in DEF_TEST()
37 yuvInfo.fSizeInfo.fSizes[i].fHeight = 10 * (i + 1); in DEF_TEST()
38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * (i + 1); in DEF_TEST()
42 yuvInfo.fYUVAIndices[i].fIndex = -1; in DEF_TEST()
43 yuvInfo.fYUVAIndices[i].fChannel = SkColorChannel::kR; in DEF_TEST()
45 yuvInfo.fColorSpace = kRec601_SkYUVColorSpace; in DEF_TEST()
49 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache); in DEF_TEST()
56 SkYUVPlanesCache::Add(genID, data, &yuvInfo, &cache); in DEF_TEST()
67 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo == yuvInfoRead.fSizeInfo); in DEF_TEST()
70 REPORTER_ASSERT(reporter, yuvInfo.fYUVAIndices[i] == yuvInfoRead.fYUVAIndices[i]); in DEF_TEST()
73 REPORTER_ASSERT(reporter, yuvInfo.fColorSpace == yuvInfoRead.fColorSpace); in DEF_TEST()