Searched refs:fWidthBytes (Results 1 – 11 of 11) sorted by relevance
32 size_t fWidthBytes[kMaxCount]; member42 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()
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()
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()
38 yuvInfo.fSizeInfo.fWidthBytes[i] = 80 * (i + 1); in DEF_TEST()
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 …]
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 …]
18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
369 sizeInfo->fWidthBytes[i] > 0); in queryYUV8()373 !sizeInfo->fWidthBytes[3]); in queryYUV8()
333 SkASSERT(!yuvaSizeInfo.fWidthBytes[i] && kUnknown_SkColorType == colorTypes[i]); in addImage()341 newImageInfo.addYUVPlane(i, planeII, planes[i], yuvaSizeInfo.fWidthBytes[i]); in addImage()
583 size->fWidthBytes[i] = fYUVBitmaps[i].rowBytes(); in onQueryYUVA8()588 size->fWidthBytes[i] = 0; in onQueryYUVA8()