Lines Matching refs:sizes
54 bool SkCodecImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
70 // Set the sizes so that the client allocates enough memory
71 sizes[0].fWidth = (int) sizeInfo.fYWidthBytes;
72 sizes[0].fHeight = sizeInfo.fYSize.height();
73 sizes[1].fWidth = (int) sizeInfo.fUWidthBytes;
74 sizes[1].fHeight = sizeInfo.fUSize.height();
75 sizes[2].fWidth = (int) sizeInfo.fVWidthBytes;
76 sizes[2].fHeight = sizeInfo.fVSize.height();
83 sizeInfo.fYSize.set(fYWidth, sizes[0].height());
84 sizeInfo.fUSize.set(fUWidth, sizes[1].height());
85 sizeInfo.fVSize.set(fVWidth, sizes[2].height());
88 sizeInfo.fYWidthBytes = sizes[0].width();
89 sizeInfo.fUWidthBytes = sizes[1].width();
90 sizeInfo.fVWidthBytes = sizes[2].width();