/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 40 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes() 46 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); 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() 70 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes() 76 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes() 122 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy() 127 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy() 128 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy() [all …]
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 40 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes() 46 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); 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() 70 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes() 76 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes() 122 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy() 127 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy() 128 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy() [all …]
|
/external/skia/include/core/ |
D | SkYUVASizeInfo.h | 18 SkISize fSizes[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/include/core/ |
D | SkYUVASizeInfo.h | 18 SkISize fSizes[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/bench/ |
D | AAClipBench.cpp | 98 SkPoint fSizes[kNestingDepth+1]; member in NestedAAClipBench 108 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench() 111 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); in NestedAAClipBench() 126 fSizes[depth].fX, fSizes[depth].fY); in recurse() 146 childOffset += fSizes[depth+1]; in recurse() 149 childOffset.fX = offset.fX + fSizes[depth+1].fX; in recurse() 154 childOffset.fY = offset.fY + fSizes[depth+1].fY; in recurse()
|
/external/skia/bench/ |
D | AAClipBench.cpp | 98 SkPoint fSizes[kNestingDepth+1]; member in NestedAAClipBench 108 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench() 111 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); in NestedAAClipBench() 126 fSizes[depth].fX, fSizes[depth].fY); in recurse() 146 childOffset += fSizes[depth+1]; in recurse() 149 childOffset.fX = offset.fX + fSizes[depth+1].fX; in recurse() 154 childOffset.fY = offset.fY + fSizes[depth+1].fY; in recurse()
|
/external/skqp/src/core/ |
D | SkMaskCache.cpp | 109 fSizes[0] = SkSize{rects[0].width(), rects[0].height()}; in RectsBlurKey() 111 fSizes[1] = SkSize{rects[1].width(), rects[1].height()}; in RectsBlurKey() 112 fSizes[2] = SkSize{rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()}; in RectsBlurKey() 114 fSizes[1] = SkSize{0, 0}; in RectsBlurKey() 115 fSizes[2] = SkSize{0, 0}; in RectsBlurKey() 117 fSizes[3] = SkSize{rects[0].x() - ir.x(), rects[0].y() - ir.y()}; in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 125 SkSize fSizes[4]; member
|
/external/skia/src/core/ |
D | SkMaskCache.cpp | 109 fSizes[0] = SkSize{rects[0].width(), rects[0].height()}; in RectsBlurKey() 111 fSizes[1] = SkSize{rects[1].width(), rects[1].height()}; in RectsBlurKey() 112 fSizes[2] = SkSize{rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()}; in RectsBlurKey() 114 fSizes[1] = SkSize{0, 0}; in RectsBlurKey() 115 fSizes[2] = SkSize{0, 0}; in RectsBlurKey() 117 fSizes[3] = SkSize{rects[0].x() - ir.x(), rects[0].y() - ir.y()}; in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 125 SkSize fSizes[4]; member
|
/external/skia/src/sksl/ir/ |
D | SkSLInterfaceBlock.h | 35 , fSizes(std::move(sizes)) in InterfaceBlock() 40 for (const auto& s : fSizes) { in clone() 61 for (const auto& size : fSizes) { in description() 75 std::vector<std::unique_ptr<Expression>> fSizes; member
|
D | SkSLVarDeclarations.h | 29 , fSizes(std::move(sizes)) in VarDeclaration() 34 for (const auto& s : fSizes) { in clone() 47 for (const auto& size : fSizes) { in description() 61 std::vector<std::unique_ptr<Expression>> fSizes; member
|
/external/skqp/src/sksl/ir/ |
D | SkSLInterfaceBlock.h | 35 , fSizes(std::move(sizes)) in InterfaceBlock() 40 for (const auto& s : fSizes) { in clone() 61 for (const auto& size : fSizes) { in description() 75 std::vector<std::unique_ptr<Expression>> fSizes; member
|
D | SkSLVarDeclarations.h | 29 , fSizes(std::move(sizes)) in VarDeclaration() 34 for (const auto& s : fSizes) { in clone() 47 for (const auto& size : fSizes) { in description() 61 std::vector<std::unique_ptr<Expression>> fSizes; member
|
/external/skia/src/utils/ |
D | SkMultiPictureDocument.cpp | 55 SkTArray<SkSize> fSizes; member 67 fSizes.push_back(fCurrentPageSize); in onEndPage() 76 for (SkSize s : fSizes) { in onClose() 79 SkSize bigsize = join(fSizes); in onClose() 88 fSizes.reset(); in onClose() 93 fSizes.reset(); in onAbort()
|
/external/skqp/src/utils/ |
D | SkMultiPictureDocument.cpp | 55 SkTArray<SkSize> fSizes; member 67 fSizes.push_back(fCurrentPageSize); in onEndPage() 76 for (SkSize s : fSizes) { in onClose() 79 SkSize bigsize = join(fSizes); in onClose() 88 fSizes.reset(); in onClose() 93 fSizes.reset(); in onAbort()
|
/external/skia/src/sksl/ast/ |
D | SkSLASTParameter.h | 29 , fSizes(std::move(sizes)) {} in ASTParameter() 33 for (int size : fSizes) { in description() 42 const std::vector<int> fSizes; member
|
D | SkSLASTInterfaceBlock.h | 37 , fSizes(std::move(sizes)) {} in ASTInterfaceBlock() 47 for (const auto& size : fSizes) { in description() 62 const std::vector<std::unique_ptr<ASTExpression>> fSizes; member
|
D | SkSLASTVarDeclaration.h | 29 , fSizes(std::move(sizes)) in ASTVarDeclaration() 34 for (const auto& size : fSizes) { in description() 50 std::vector<std::unique_ptr<ASTExpression>> fSizes; member
|
/external/skqp/src/sksl/ast/ |
D | SkSLASTParameter.h | 29 , fSizes(std::move(sizes)) {} in ASTParameter() 33 for (int size : fSizes) { in description() 42 const std::vector<int> fSizes; member
|
D | SkSLASTInterfaceBlock.h | 37 , fSizes(std::move(sizes)) {} in ASTInterfaceBlock() 47 for (const auto& size : fSizes) { in description() 62 const std::vector<std::unique_ptr<ASTExpression>> fSizes; member
|
D | SkSLASTVarDeclaration.h | 29 , fSizes(std::move(sizes)) in ASTVarDeclaration() 34 for (const auto& size : fSizes) { in description() 50 std::vector<std::unique_ptr<ASTExpression>> fSizes; member
|
/external/skia/tests/ |
D | YUVTest.cpp | 42 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv() 44 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv() 57 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv() 59 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
|
D | ImageGeneratorTest.cpp | 66 sizeInfo.fSizes[0] = SkISize::Make(200, 200); in DEF_TEST() 67 sizeInfo.fSizes[1] = SkISize::Make(100, 100); in DEF_TEST() 68 sizeInfo.fSizes[2] = SkISize::Make( 50, 50); in DEF_TEST() 69 sizeInfo.fSizes[3] = SkISize::Make( 25, 25); in DEF_TEST()
|
/external/skqp/tests/ |
D | YUVTest.cpp | 42 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv() 44 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv() 57 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv() 59 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
|
D | ImageGeneratorTest.cpp | 66 sizeInfo.fSizes[0] = SkISize::Make(200, 200); in DEF_TEST() 67 sizeInfo.fSizes[1] = SkISize::Make(100, 100); in DEF_TEST() 68 sizeInfo.fSizes[2] = SkISize::Make( 50, 50); in DEF_TEST() 69 sizeInfo.fSizes[3] = SkISize::Make( 25, 25); in DEF_TEST()
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8() 855 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8() 873 sizeInfo.fSizes[0] != defaultInfo.fSizes[0] || in onGetYUV8Planes() 874 sizeInfo.fSizes[1] != defaultInfo.fSizes[1] || in onGetYUV8Planes() 875 sizeInfo.fSizes[2] != defaultInfo.fSizes[2] || in onGetYUV8Planes() 903 SkASSERT(sizeInfo.fSizes[1] == sizeInfo.fSizes[2]); in onGetYUV8Planes() 904 SkASSERT((uint32_t) sizeInfo.fSizes[0].width() == dinfo->output_width && in onGetYUV8Planes() 905 (uint32_t) sizeInfo.fSizes[0].height() == dinfo->output_height); in onGetYUV8Planes()
|