Home
last modified time | relevance | path

Searched refs:fWidthBytes (Results 1 – 11 of 11) sorted by relevance

/external/skqp/include/core/
DSkYUVASizeInfo.h32 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/skqp/tests/
DImageGeneratorTest.cpp70 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()
DYUVTest.cpp44 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()
DYUVCacheTest.cpp38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * (i + 1); in DEF_TEST()
/external/skqp/src/gpu/
DGrYUVProvider.cpp38 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/src/codec/
DSkJpegCodec.cpp851 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/
DSkYUVASizeInfo.cpp18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
DSkImageGenerator.cpp48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
/external/skqp/include/codec/
DSkCodec.h369 sizeInfo->fWidthBytes[i] > 0); in queryYUV8()
373 !sizeInfo->fWidthBytes[3]); in queryYUV8()
/external/skqp/tools/
DDDLPromiseImageHelper.cpp333 SkASSERT(!yuvaSizeInfo.fWidthBytes[i] && kUnknown_SkColorType == colorTypes[i]); in addImage()
341 newImageInfo.addYUVPlane(i, planeII, planes[i], yuvaSizeInfo.fWidthBytes[i]); in addImage()
/external/skqp/gm/
Dwacky_yuv_formats.cpp583 size->fWidthBytes[i] = fYUVBitmaps[i].rowBytes(); in onQueryYUVA8()
588 size->fWidthBytes[i] = 0; in onQueryYUVA8()