Home
last modified time | relevance | path

Searched refs:yuvSizeInfo (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrYUVProvider.cpp109 SkYUVASizeInfo yuvSizeInfo; in refAsTextureProxy() local
114 sk_sp<SkCachedData> dataStorage = this->getPlanes(&yuvSizeInfo, yuvaIndices, in refAsTextureProxy()
122 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy()
123 SkASSERT(!yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxy()
127 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
128 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy()
133 (componentWidth != yuvSizeInfo.fSizes[0].fWidth) || in refAsTextureProxy()
134 (componentHeight != yuvSizeInfo.fSizes[0].fHeight) in refAsTextureProxy()
138 SkPixmap pixmap(imageInfo, planes[i], yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxy()
154 SkASSERT(yuvTextureProxies[i]->width() == yuvSizeInfo.fSizes[i].fWidth); in refAsTextureProxy()
[all …]
/external/skia/src/gpu/
DGrYUVProvider.cpp109 SkYUVASizeInfo yuvSizeInfo; in refAsTextureProxy() local
114 sk_sp<SkCachedData> dataStorage = this->getPlanes(&yuvSizeInfo, yuvaIndices, in refAsTextureProxy()
122 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy()
123 SkASSERT(!yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxy()
127 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
128 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy()
133 (componentWidth != yuvSizeInfo.fSizes[0].fWidth) || in refAsTextureProxy()
134 (componentHeight != yuvSizeInfo.fSizes[0].fHeight) in refAsTextureProxy()
138 SkPixmap pixmap(imageInfo, planes[i], yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxy()
154 SkASSERT(yuvTextureProxies[i]->width() == yuvSizeInfo.fSizes[i].fWidth); in refAsTextureProxy()
[all …]