/external/skqp/include/core/ |
D | SkYUVASizeInfo.h | 32 size_t fWidthBytes[kMaxCount]; member 42 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) || 43 (fSizes[i].isEmpty() && !fWidthBytes[i])); 44 if (fSizes[i] != that.fSizes[i] || fWidthBytes[i] != that.fWidthBytes[i]) { 56 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) || in computeTotalBytes() 57 (fSizes[i].isEmpty() && !fWidthBytes[i])); in computeTotalBytes() 58 totalBytes += fWidthBytes[i] * fSizes[i].height(); in computeTotalBytes()
|
/external/skia/include/core/ |
D | SkYUVASizeInfo.h | 32 size_t fWidthBytes[kMaxCount]; member 42 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) || 43 (fSizes[i].isEmpty() && !fWidthBytes[i])); 44 if (fSizes[i] != that.fSizes[i] || fWidthBytes[i] != that.fWidthBytes[i]) {
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 41 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes() 42 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes() 48 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 60 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes() 61 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes() 63 totalSize += yuvInfo.fSizeInfo.fWidthBytes[i] * yuvInfo.fSizeInfo.fSizes[i].fHeight; in getPlanes() 71 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes() 72 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes() 78 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 126 SkASSERT(!yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxyView() [all …]
|
/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 38 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes() 39 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes() 45 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 57 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes() 58 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes() 60 totalSize += yuvInfo.fSizeInfo.fWidthBytes[i] * yuvInfo.fSizeInfo.fSizes[i].fHeight; in getPlanes() 68 if (!yuvInfo.fSizeInfo.fWidthBytes[i]) { in getPlanes() 69 SkASSERT(!yuvInfo.fSizeInfo.fWidthBytes[i] && in getPlanes() 75 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 123 SkASSERT(!yuvSizeInfo.fWidthBytes[i]); in refAsTextureProxy() [all …]
|
/external/skqp/tests/ |
D | ImageGeneratorTest.cpp | 70 sizeInfo.fWidthBytes[0] = 0; in DEF_TEST() 71 sizeInfo.fWidthBytes[1] = 0; in DEF_TEST() 72 sizeInfo.fWidthBytes[2] = 0; in DEF_TEST() 73 sizeInfo.fWidthBytes[3] = 0; in DEF_TEST() 81 sizeInfo.fWidthBytes[0] = 250; in DEF_TEST() 82 sizeInfo.fWidthBytes[1] = 250; in DEF_TEST() 83 sizeInfo.fWidthBytes[2] = 250; in DEF_TEST() 84 sizeInfo.fWidthBytes[3] = 250; in DEF_TEST()
|
D | YUVTest.cpp | 44 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv() 59 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
|
D | YUVCacheTest.cpp | 38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * (i + 1); in DEF_TEST()
|
/external/skia/tests/ |
D | ImageGeneratorTest.cpp | 70 sizeInfo.fWidthBytes[0] = 0; in DEF_TEST() 71 sizeInfo.fWidthBytes[1] = 0; in DEF_TEST() 72 sizeInfo.fWidthBytes[2] = 0; in DEF_TEST() 73 sizeInfo.fWidthBytes[3] = 0; in DEF_TEST() 81 sizeInfo.fWidthBytes[0] = 250; in DEF_TEST() 82 sizeInfo.fWidthBytes[1] = 250; in DEF_TEST() 83 sizeInfo.fWidthBytes[2] = 250; in DEF_TEST() 84 sizeInfo.fWidthBytes[3] = 250; in DEF_TEST()
|
D | YUVTest.cpp | 44 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv() 59 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
|
D | YUVCacheTest.cpp | 38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * (i + 1); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkYUVASizeInfo.cpp | 17 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) || in computeTotalBytes() 18 (fSizes[i].isEmpty() && !fWidthBytes[i])); in computeTotalBytes() 19 totalBytes = safe.add(totalBytes, safe.mul(fWidthBytes[i], fSizes[i].height())); in computeTotalBytes() 32 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
|
D | SkImageGenerator.cpp | 48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 810 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8() 814 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8() 835 sizeInfo.fWidthBytes[0] < defaultInfo.fWidthBytes[0] || in onGetYUV8Planes() 836 sizeInfo.fWidthBytes[1] < defaultInfo.fWidthBytes[1] || in onGetYUV8Planes() 837 sizeInfo.fWidthBytes[2] < defaultInfo.fWidthBytes[2]) { in onGetYUV8Planes() 881 rowptrs[i] = SkTAddOffset<JSAMPLE>(planes[0], i * sizeInfo.fWidthBytes[0]); in onGetYUV8Planes() 885 SkTAddOffset<JSAMPLE>(planes[1], i * sizeInfo.fWidthBytes[1]); in onGetYUV8Planes() 887 SkTAddOffset<JSAMPLE>(planes[2], i * sizeInfo.fWidthBytes[2]); in onGetYUV8Planes() 891 size_t blockIncrementY = numYRowsPerBlock * sizeInfo.fWidthBytes[0]; in onGetYUV8Planes() 892 size_t blockIncrementU = DCTSIZE * sizeInfo.fWidthBytes[1]; in onGetYUV8Planes() [all …]
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 851 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8() 855 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8() 876 sizeInfo.fWidthBytes[0] < defaultInfo.fWidthBytes[0] || in onGetYUV8Planes() 877 sizeInfo.fWidthBytes[1] < defaultInfo.fWidthBytes[1] || in onGetYUV8Planes() 878 sizeInfo.fWidthBytes[2] < defaultInfo.fWidthBytes[2]) { in onGetYUV8Planes() 922 rowptrs[i] = SkTAddOffset<JSAMPLE>(planes[0], i * sizeInfo.fWidthBytes[0]); in onGetYUV8Planes() 926 SkTAddOffset<JSAMPLE>(planes[1], i * sizeInfo.fWidthBytes[1]); in onGetYUV8Planes() 928 SkTAddOffset<JSAMPLE>(planes[2], i * sizeInfo.fWidthBytes[2]); in onGetYUV8Planes() 932 size_t blockIncrementY = numYRowsPerBlock * sizeInfo.fWidthBytes[0]; in onGetYUV8Planes() 933 size_t blockIncrementU = DCTSIZE * sizeInfo.fWidthBytes[1]; in onGetYUV8Planes() [all …]
|
/external/skqp/src/core/ |
D | SkYUVASizeInfo.cpp | 18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
|
D | SkImageGenerator.cpp | 48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
|
/external/skqp/include/codec/ |
D | SkCodec.h | 369 sizeInfo->fWidthBytes[i] > 0); in queryYUV8() 373 !sizeInfo->fWidthBytes[3]); in queryYUV8()
|
/external/skia/tools/gpu/ |
D | YUVUtils.cpp | 67 fPlanes[i].reset(planeInfo, planes[i], fSizeInfo.fWidthBytes[i]); in reset()
|
/external/skia/gm/ |
D | ducky_yuv_blend.cpp | 40 SkImageInfo::MakeA8(info.fSizes[i]), planes[i], info.fWidthBytes[i]);
|
D | yuv420_odd_dim.cpp | 66 pixmaps[i].reset(SkImageInfo::MakeA8(info.fSizes[i]), planes[i], info.fWidthBytes[i]); in make_image()
|
D | wacky_yuv_formats.cpp | 881 size->fWidthBytes[i] = fYUVBitmaps[i].rowBytes(); in onQueryYUVA8() 886 size->fWidthBytes[i] = 0; in onQueryYUVA8()
|
/external/skia/include/codec/ |
D | SkCodec.h | 403 sizeInfo->fWidthBytes[i] > 0); in queryYUV8() 407 !sizeInfo->fWidthBytes[3]); in queryYUV8()
|
/external/skqp/tools/ |
D | DDLPromiseImageHelper.cpp | 333 SkASSERT(!yuvaSizeInfo.fWidthBytes[i] && kUnknown_SkColorType == colorTypes[i]); in addImage() 341 newImageInfo.addYUVPlane(i, planeII, planes[i], yuvaSizeInfo.fWidthBytes[i]); in addImage()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 349 SkASSERT(!yuvaSizeInfo.fWidthBytes[i] && kUnknown_SkColorType == colorTypes[i]); in addImage() 357 newImageInfo.addYUVPlane(i, planeII, planes[i], yuvaSizeInfo.fWidthBytes[i]); in addImage()
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 583 size->fWidthBytes[i] = fYUVBitmaps[i].rowBytes(); in onQueryYUVA8() 588 size->fWidthBytes[i] = 0; in onQueryYUVA8()
|