Searched refs:computeTotalBytes (Results 1 – 8 of 8) sorted by relevance
139 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() function in SkYUVAPixmapInfo146 return fYUVAInfo.computeTotalBytes(fRowBytes.data(), planeSizes); in computeTotalBytes()196 SkData::MakeUninitialized(yuvaPixmapInfo.computeTotalBytes())); in Allocate()203 if (yuvaPixmapInfo.computeTotalBytes() > data->size()) { in FromData()261 SkASSERT(yuvaPixmapInfo.computeTotalBytes() <= fData->size()); in SkYUVAPixmaps()
323 size_t SkYUVAInfo::computeTotalBytes(const size_t rowBytes[kMaxPlanes], in computeTotalBytes() function in SkYUVAInfo
52 size_t computeTotalBytes() const { in computeTotalBytes() function
49 size_t size = yuvaPixmapInfo.computeTotalBytes(); in DEF_TEST()
65 size_t totalBytes = info.computeTotalBytes(); in codec_yuv()
197 size_t computeTotalBytes(const size_t rowBytes[kMaxPlanes],
141 size_t computeTotalBytes(size_t planeSizes[kMaxPlanes] = nullptr) const;
388 data.reset(SkResourceCache::NewCachedData(yuvaPixmapInfo.computeTotalBytes())); in getPlanes()