Home | History | Annotate | Download | only in gpu

Lines Matching refs:planes

26     bool init(GrYUVProvider*, SkYUVPlanesCache::Info*, void* planes[3], bool useCache);
35 bool YUVScoper::init(GrYUVProvider* provider, SkYUVPlanesCache::Info* yuvInfo, void* planes[3],
42 planes[0] = (void*)fCachedData->data();
43 planes[1] = (uint8_t*)planes[0] + yuvInfo->fSizeInMemory[0];
44 planes[2] = (uint8_t*)planes[1] + yuvInfo->fSizeInMemory[1];
61 planes[0] = fCachedData->writable_data();
64 planes[0] = fStorage.get();
66 planes[1] = (uint8_t*)planes[0] + yuvInfo->fSizeInMemory[0];
67 planes[2] = (uint8_t*)planes[1] + yuvInfo->fSizeInMemory[1];
69 // Get the YUV planes and update plane sizes to actual image size
70 if (!provider->onGetYUVPlanes(yuvInfo->fSize, planes, yuvInfo->fRowBytes,
76 // Decoding is done, cache the resulting YUV planes
85 void* planes[3];
87 if (!scoper.init(this, &yuvInfo, planes, useCache)) {
107 yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) {