Searched refs:yuvSize (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/ |
D | GrTextureToYUVPlanes.cpp | 171 SkISize yuvSize = sizes[0]; in GrTextureToYUVPlanes() local 173 SkAutoSTMalloc<128 * 128, uint32_t> tempYUV(yuvSize.fWidth * yuvSize.fHeight); in GrTextureToYUVPlanes() 174 if (!yuvTex->readPixels(0, 0, yuvSize.fWidth, yuvSize.fHeight, in GrTextureToYUVPlanes() 178 size_t yRowBytes = rowBytes[0] ? rowBytes[0] : yuvSize.fWidth; in GrTextureToYUVPlanes() 179 size_t uRowBytes = rowBytes[1] ? rowBytes[1] : yuvSize.fWidth; in GrTextureToYUVPlanes() 180 size_t vRowBytes = rowBytes[2] ? rowBytes[2] : yuvSize.fWidth; in GrTextureToYUVPlanes() 181 if (yRowBytes < (size_t)yuvSize.fWidth || uRowBytes < (size_t)yuvSize.fWidth || in GrTextureToYUVPlanes() 182 vRowBytes < (size_t)yuvSize.fWidth) { in GrTextureToYUVPlanes() 185 for (int j = 0; j < yuvSize.fHeight; ++j) { in GrTextureToYUVPlanes() 186 for (int i = 0; i < yuvSize.fWidth; ++i) { in GrTextureToYUVPlanes() [all …]
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 414 unsigned long yuvSize=tjBufSizeYUV2(w, pad, h, subsamp); in compTest() local 419 if((yuvBuf=(unsigned char *)malloc(yuvSize))==NULL) in compTest() 421 memset(yuvBuf, 0, yuvSize); in compTest() 476 unsigned long yuvSize=tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() local 481 if((yuvBuf=(unsigned char *)malloc(yuvSize))==NULL) in _decompTest() 483 memset(yuvBuf, 0, yuvSize); in _decompTest()
|