Lines Matching refs:pixmaps
150 SkPixmap pixmaps[kMaxPlanes]) const { in initPixmapsFromSingleAllocation()
154 SkASSERT(pixmaps); in initPixmapsFromSingleAllocation()
159 pixmaps[i].reset(fPlaneInfos[i], addr, fRowBytes[i]); in initPixmapsFromSingleAllocation()
160 size_t planeSize = pixmaps[i].rowBytes()*pixmaps[i].height(); in initPixmapsFromSingleAllocation()
165 pixmaps[i] = {}; in initPixmapsFromSingleAllocation()
235 SkPixmap pixmaps[kMaxPlanes]; in FromExternalMemory() local
236 yuvaPixmapInfo.initPixmapsFromSingleAllocation(memory, pixmaps); in FromExternalMemory()
237 return SkYUVAPixmaps(yuvaPixmapInfo.yuvaInfo(), yuvaPixmapInfo.dataType(), pixmaps); in FromExternalMemory()
241 const SkPixmap pixmaps[kMaxPlanes]) { in FromExternalPixmaps()
246 colorTypes[i] = pixmaps[i].colorType(); in FromExternalPixmaps()
247 rowBytes[i] = pixmaps[i].rowBytes(); in FromExternalPixmaps()
253 return SkYUVAPixmaps(yuvaInfo, yuvaPixmapInfo.dataType(), pixmaps); in FromExternalPixmaps()
268 const SkPixmap pixmaps[kMaxPlanes]) in SkYUVAPixmaps()
270 std::copy_n(pixmaps, yuvaInfo.numPlanes(), fPlanes.data()); in SkYUVAPixmaps()