Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp31 SkYUVPlanesCache::Info yuvInfo; in getPlanes() local
32 data.reset(SkYUVPlanesCache::FindAndRef(this->onGetID(), &yuvInfo)); in getPlanes()
40 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes()
41 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes()
42 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
47 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes()
48 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
52 if (!this->onQueryYUVA8(&yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, &yuvInfo.fColorSpace)) { in getPlanes()
59 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes()
60 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes()
[all …]
/third_party/flutter/skia/tests/
DYUVCacheTest.cpp34 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()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5831 gl::YuvFormatInfo yuvInfo(formatInfo.internalFormat, glExtents); in stageSubresourceUpdateImpl() local
5840 for (uint32_t plane = 0; plane < yuvInfo.planeCount; plane++) in stageSubresourceUpdateImpl()
5843 copy.bufferOffset = stagingOffset + yuvInfo.planeOffset[plane]; in stageSubresourceUpdateImpl()
5849 gl_vk::GetExtent(yuvInfo.planeExtent[plane], &copy.imageExtent); in stageSubresourceUpdateImpl()
6020 gl::YuvFormatInfo yuvInfo(formatInfo.internalFormat, glExtents); in CalculateBufferInfo() local
6023 *inputRowPitch = yuvInfo.planePitch[0]; in CalculateBufferInfo()
6025 *inputDepthPitch = yuvInfo.planeSize[0] + yuvInfo.planeSize[1] + yuvInfo.planeSize[2]; in CalculateBufferInfo()