Lines Matching refs:yuvInfo

315     SkYUVPlanesCache::Info yuvInfo;  in load_yuv_texture()  local
319 cachedData.reset(SkYUVPlanesCache::FindAndRef(pixelRef->getGenerationID(), &yuvInfo)); in load_yuv_texture()
325 planes[1] = (uint8_t*)planes[0] + yuvInfo.fSizeInMemory[0]; in load_yuv_texture()
326 planes[2] = (uint8_t*)planes[1] + yuvInfo.fSizeInMemory[1]; in load_yuv_texture()
330 if (!pixelRef->getYUV8Planes(yuvInfo.fSize, NULL, NULL, NULL)) { in load_yuv_texture()
337 yuvInfo.fRowBytes[i] = yuvInfo.fSize[i].fWidth; in load_yuv_texture()
338 yuvInfo.fSizeInMemory[i] = yuvInfo.fRowBytes[i] * yuvInfo.fSize[i].fHeight; in load_yuv_texture()
339 totalSize += yuvInfo.fSizeInMemory[i]; in load_yuv_texture()
348 planes[1] = (uint8_t*)planes[0] + yuvInfo.fSizeInMemory[0]; in load_yuv_texture()
349 planes[2] = (uint8_t*)planes[1] + yuvInfo.fSizeInMemory[1]; in load_yuv_texture()
352 if (!pixelRef->getYUV8Planes(yuvInfo.fSize, planes, yuvInfo.fRowBytes, in load_yuv_texture()
353 &yuvInfo.fColorSpace)) { in load_yuv_texture()
359 SkYUVPlanesCache::Add(pixelRef->getGenerationID(), cachedData, &yuvInfo); in load_yuv_texture()
367 yuvDesc.fWidth = yuvInfo.fSize[i].fWidth; in load_yuv_texture()
368 yuvDesc.fHeight = yuvInfo.fSize[i].fHeight; in load_yuv_texture()
370 (yuvDesc.fWidth != yuvInfo.fSize[0].fWidth) || in load_yuv_texture()
371 (yuvDesc.fHeight != yuvInfo.fSize[0].fHeight); in load_yuv_texture()
377 yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) { in load_yuv_texture()
395 yuvInfo.fSize, yuvInfo.fColorSpace)); in load_yuv_texture()
398 SkRect r = SkRect::MakeWH(SkIntToScalar(yuvInfo.fSize[0].fWidth), in load_yuv_texture()
399 SkIntToScalar(yuvInfo.fSize[0].fHeight)); in load_yuv_texture()