Home
last modified time | relevance | path

Searched refs:uvSize (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp208 SkISize uvSize = sizes[1]; in GrTextureToYUVPlanes() local
210 SkAutoSTMalloc<128 * 128, uint32_t> tempUV(uvSize.fWidth * uvSize.fHeight); in GrTextureToYUVPlanes()
211 if (!uvTex->readPixels(0, 0, uvSize.fWidth, uvSize.fHeight, in GrTextureToYUVPlanes()
216 size_t uRowBytes = rowBytes[1] ? rowBytes[1] : uvSize.fWidth; in GrTextureToYUVPlanes()
217 size_t vRowBytes = rowBytes[2] ? rowBytes[2] : uvSize.fWidth; in GrTextureToYUVPlanes()
218 if (uRowBytes < (size_t)uvSize.fWidth || vRowBytes < (size_t)uvSize.fWidth) { in GrTextureToYUVPlanes()
221 for (int j = 0; j < uvSize.fHeight; ++j) { in GrTextureToYUVPlanes()
222 for (int i = 0; i < uvSize.fWidth; ++i) { in GrTextureToYUVPlanes()
224 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
225 uint32_t v = GrColorUnpackG(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp592 SkISize uvSize = compute_yuv_size(cinfo, 1, kSizeForMemoryAllocation_SizeType); in output_raw_data() local
593 SkASSERT(uvSize == compute_yuv_size(cinfo, 2, kSizeForMemoryAllocation_SizeType)); in output_raw_data()
604 int uvMaxH = uvSize.height() - 1; in output_raw_data()
660 memcpy(&outputU[uvMaxH * rowBytesU], uLastRow, uvSize.width()); in output_raw_data()
661 memcpy(&outputV[uvMaxH * rowBytesV], vLastRow, uvSize.width()); in output_raw_data()
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...