Lines Matching refs:yuvInfo
29 SkYUVPlanesCache::Info yuvInfo; in getPlanes() local
30 data.reset(SkYUVPlanesCache::FindAndRef(this->onGetID(), &yuvInfo)); in getPlanes()
38 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes()
39 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes()
40 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
45 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes()
46 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
50 if (!this->onQueryYUVA8(&yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, &yuvInfo.fColorSpace)) { in getPlanes()
57 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes()
58 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes()
60 totalSize += yuvInfo.fSizeInfo.fWidthBytes[i] * yuvInfo.fSizeInfo.fSizes[i].fHeight; in getPlanes()
68 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes()
69 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes()
70 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
75 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes()
76 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
80 if (!this->onGetYUVA8Planes(yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, planes)) { in getPlanes()
85 SkYUVPlanesCache::Add(this->onGetID(), data.get(), &yuvInfo); in getPlanes()
88 *size = yuvInfo.fSizeInfo; in getPlanes()
89 memcpy(yuvaIndices, yuvInfo.fYUVAIndices, sizeof(yuvInfo.fYUVAIndices)); in getPlanes()
90 *colorSpace = yuvInfo.fColorSpace; in getPlanes()