Home
last modified time | relevance | path

Searched refs:fSizeInfo (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrYUVProvider.cpp48 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init()
49 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init()
50 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init()
51 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init()
54 if (!provider->onQueryYUV8(&yuvInfo->fSizeInfo, &yuvInfo->fColorSpace)) { in init()
61 totalSize += yuvInfo->fSizeInfo.fWidthBytes[i] * yuvInfo->fSizeInfo.fSizes[i].fHeight; in init()
70 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init()
71 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init()
72 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init()
73 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init()
[all …]
/external/skia/tests/
DYUVCacheTest.cpp36 yuvInfo.fSizeInfo.fSizes[i].fWidth = 20 * i; in DEF_TEST()
37 yuvInfo.fSizeInfo.fSizes[i].fHeight = 10 * i; in DEF_TEST()
38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * i; in DEF_TEST()
63 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fWidth == in DEF_TEST()
64 yuvInfoRead.fSizeInfo.fSizes[i].fWidth); in DEF_TEST()
65 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fHeight == in DEF_TEST()
66 yuvInfoRead.fSizeInfo.fSizes[i].fHeight); in DEF_TEST()
67 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fWidthBytes[i] == in DEF_TEST()
68 yuvInfoRead.fSizeInfo.fWidthBytes[i]); in DEF_TEST()
/external/skia/src/core/
DSkYUVPlanesCache.h27 SkYUVSizeInfo fSizeInfo; member